Skip to content

Commit

Permalink
libcupsfilters, libppd: "True" is case-sensitive in PPDs
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkamppeter committed Jul 13, 2020
1 parent 896c141 commit 42868e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cupsfilters/ppdgenerator.c
Original file line number Diff line number Diff line change
Expand Up @@ -2073,7 +2073,7 @@ ppdCreateFromIPP2(char *buffer, /* I - Filename buffer */
format, we need to create multiple copies on the client. We add a line to
the PPD which tells the pdftopdf filter to generate the copies */
if (manual_copies == 1)
cupsFilePuts(fp, "*cupsManualCopies: true\n");
cupsFilePuts(fp, "*cupsManualCopies: True\n");

/* No resolution requirements by any of the supported PDLs?
Use "printer-resolution-supported" attribute */
Expand Down
2 changes: 1 addition & 1 deletion ppd/ppd-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -3298,7 +3298,7 @@ ppdCreateFromIPPCUPS(char *buffer, /* I - Filename buffer */
cupsFilePuts(fp, "*cupsFilter2: \"application/vnd.cups-pdf application/pdf 10 -\"\n");
}
else
cupsFilePuts(fp, "*cupsManualCopies: true\n");
cupsFilePuts(fp, "*cupsManualCopies: True\n");
if (is_apple)
cupsFilePuts(fp, "*cupsFilter2: \"image/urf image/urf 100 -\"\n");
if (is_pwg)
Expand Down

0 comments on commit 42868e7

Please sign in to comment.