diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-07-18 14:22:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-18 14:22:57 -0400 |
commit | 4848b9c7893a0ea67c14bb558064e40234c61755 (patch) | |
tree | fb8d7417cfe2fbd812d72d9cf6b579a585e85da6 /filter | |
parent | 672c81274758e0446acf4ab3a0fc0df2dba559a3 (diff) | |
parent | 2ea1bc06b79a283cc7d8cf769ffdc15be96896f8 (diff) | |
download | cups-4848b9c7893a0ea67c14bb558064e40234c61755.tar.gz |
Merge pull request #5350 from benlees/master
Correct typos in rastertolabel
Diffstat (limited to 'filter')
-rw-r--r-- | filter/rastertolabel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/rastertolabel.c b/filter/rastertolabel.c index 55501b715..226a3740f 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 : @@ -368,7 +368,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) { |