Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct typos in rastertolabel #5350

Merged
merged 5 commits into from
Jul 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions filter/rastertolabel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down Expand Up @@ -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)
{
Expand Down
40 changes: 20 additions & 20 deletions ppdc/sample.drv
Original file line number Diff line number Diff line change
Expand Up @@ -450,35 +450,35 @@ Version "2.3"
Option "inPrintDensity/Print Density" PickOne DocumentSetup 20.0
*Choice "Default/Printer Default" "<</cupsCompression -1>>setpagedevice"
Choice "-15/-15" "<</cupsCompression 0>>setpagedevice"
Choice "-14/-14" "<</cupsCompression 3>>setpagedevice"
Choice "-13/-13" "<</cupsCompression 6>>setpagedevice"
Choice "-14/-14" "<</cupsCompression 4>>setpagedevice"
Choice "-13/-13" "<</cupsCompression 7>>setpagedevice"
Choice "-12/-12" "<</cupsCompression 10>>setpagedevice"
Choice "-11/-11" "<</cupsCompression 13>>setpagedevice"
Choice "-10/-10" "<</cupsCompression 16>>setpagedevice"
Choice "-11/-11" "<</cupsCompression 14>>setpagedevice"
Choice "-10/-10" "<</cupsCompression 17>>setpagedevice"
Choice "-9/-9" "<</cupsCompression 20>>setpagedevice"
Choice "-8/-8" "<</cupsCompression 23>>setpagedevice"
Choice "-7/-7" "<</cupsCompression 26>>setpagedevice"
Choice "-8/-8" "<</cupsCompression 24>>setpagedevice"
Choice "-7/-7" "<</cupsCompression 27>>setpagedevice"
Choice "-6/-6" "<</cupsCompression 30>>setpagedevice"
Choice "-5/-5" "<</cupsCompression 33>>setpagedevice"
Choice "-4/-4" "<</cupsCompression 36>>setpagedevice"
Choice "-5/-5" "<</cupsCompression 34>>setpagedevice"
Choice "-4/-4" "<</cupsCompression 37>>setpagedevice"
Choice "-3/-3" "<</cupsCompression 40>>setpagedevice"
Choice "-2/-2" "<</cupsCompression 43>>setpagedevice"
Choice "-1/-1" "<</cupsCompression 46>>setpagedevice"
Choice "-2/-2" "<</cupsCompression 44>>setpagedevice"
Choice "-1/-1" "<</cupsCompression 47>>setpagedevice"
Choice "0/0" "<</cupsCompression 50>>setpagedevice"
Choice "1/1" "<</cupsCompression 53>>setpagedevice"
Choice "2/2" "<</cupsCompression 56>>setpagedevice"
Choice "1/1" "<</cupsCompression 54>>setpagedevice"
Choice "2/2" "<</cupsCompression 57>>setpagedevice"
Choice "3/3" "<</cupsCompression 60>>setpagedevice"
Choice "4/4" "<</cupsCompression 63>>setpagedevice"
Choice "5/5" "<</cupsCompression 66>>setpagedevice"
Choice "4/4" "<</cupsCompression 64>>setpagedevice"
Choice "5/5" "<</cupsCompression 67>>setpagedevice"
Choice "6/6" "<</cupsCompression 70>>setpagedevice"
Choice "7/7" "<</cupsCompression 73>>setpagedevice"
Choice "8/8" "<</cupsCompression 76>>setpagedevice"
Choice "7/7" "<</cupsCompression 74>>setpagedevice"
Choice "8/8" "<</cupsCompression 77>>setpagedevice"
Choice "9/9" "<</cupsCompression 80>>setpagedevice"
Choice "10/10" "<</cupsCompression 83>>setpagedevice"
Choice "11/11" "<</cupsCompression 86>>setpagedevice"
Choice "10/10" "<</cupsCompression 84>>setpagedevice"
Choice "11/11" "<</cupsCompression 87>>setpagedevice"
Choice "12/12" "<</cupsCompression 90>>setpagedevice"
Choice "13/13" "<</cupsCompression 93>>setpagedevice"
Choice "14/14" "<</cupsCompression 96>>setpagedevice"
Choice "13/13" "<</cupsCompression 94>>setpagedevice"
Choice "14/14" "<</cupsCompression 97>>setpagedevice"
Choice "15/15" "<</cupsCompression 100>>setpagedevice"
Option "inPrintRate/Print Speed" PickOne DocumentSetup 20.0
*Choice "Default/Printer Default" "<</cupsRowFeed 0>>setpagedevice"
Expand Down