From eadeefa22db93ebc7ec03586246518c9eb6fd395 Mon Sep 17 00:00:00 2001 From: benlees <30915554+benlees@users.noreply.github.com> Date: Sun, 8 Jul 2018 10:15:26 +1000 Subject: [PATCH] Correct page height for Zebra CPCL output PAGE-HEIGHT is being set to cupsWidth rather than cupsHeight. --- filter/rastertolabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 :