]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Correct page height for Zebra CPCL output
authorbenlees <30915554+benlees@users.noreply.github.com>
Sun, 8 Jul 2018 00:15:26 +0000 (10:15 +1000)
committerGitHub <noreply@github.com>
Sun, 8 Jul 2018 00:15:26 +0000 (10:15 +1000)
PAGE-HEIGHT is being set to cupsWidth rather than cupsHeight.

filter/rastertolabel.c

index 55501b71554794136f9a01d1af32602b3a9801af..a5ac46646e13539d90d35591b8b9e5472d98ee5b 100644 (file)
@@ -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 :