From: benlees <30915554+benlees@users.noreply.github.com> Date: Sun, 8 Jul 2018 00:15:26 +0000 (+1000) Subject: Correct page height for Zebra CPCL output X-Git-Tag: v2.3b6~123^2~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eadeefa22db93ebc7ec03586246518c9eb6fd395;p=thirdparty%2Fcups.git Correct page height for Zebra CPCL output PAGE-HEIGHT is being set to cupsWidth rather than cupsHeight. --- diff --git a/filter/rastertolabel.c b/filter/rastertolabel.c index 55501b7155..a5ac46646e 100644 --- a/filter/rastertolabel.c +++ b/filter/rastertolabel.c @@ -299,7 +299,7 @@ StartPage(ppd_file_t *ppd, /* I - PPD file */ header->HWResolution[1], header->cupsHeight, header->NumCopies); printf("PAGE-WIDTH %u\r\n", header->cupsWidth); - printf("PAGE-HEIGHT %u\r\n", header->cupsWidth); + printf("PAGE-HEIGHT %u\r\n", header->cupsHeight); break; case INTELLITECH_PCL :