diff options
author | benlees <30915554+benlees@users.noreply.github.com> | 2018-07-08 10:21:51 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-08 10:21:51 +1000 |
commit | e8fb750728b8bf8f4d2ac40cafc077180e4e8fd9 (patch) | |
tree | 36790b9ec6f619cbc9c379f8b1f33b6f3c705329 /filter | |
parent | 04e7ecda2472b79399652b303a935a8e4504b019 (diff) | |
download | cups-e8fb750728b8bf8f4d2ac40cafc077180e4e8fd9.tar.gz |
Intellitech print density should be signed
The print density ranges from -15 to +15. The output should be a signed integer.
Diffstat (limited to 'filter')
-rw-r--r-- | filter/rastertolabel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/rastertolabel.c b/filter/rastertolabel.c index a5ac46646..226a3740f 100644 --- a/filter/rastertolabel.c +++ b/filter/rastertolabel.c @@ -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) { |