aboutsummaryrefslogtreecommitdiffstats
path: root/filter/rastertolabel.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/rastertolabel.c')
-rw-r--r--filter/rastertolabel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/rastertolabel.c b/filter/rastertolabel.c
index 4e491811..6ad6c625 100644
--- a/filter/rastertolabel.c
+++ b/filter/rastertolabel.c
@@ -305,7 +305,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 :
@@ -374,7 +374,7 @@ StartPage(ppd_file_t *ppd, /* I - PPD file */
if (header->cupsCompression != ~0U)
/* inPrintDensity */
- printf("\033&d%uA", 30 * header->cupsCompression / 100 - 15);
+ printf("\033&d%dA", 30 * header->cupsCompression / 100 - 15);
if ((choice = ppdFindMarkedChoice(ppd, "inPrintMode")) != NULL)
{