Re: [HIGH] STR #4078: PDF document cannot be printed in landscape mode
Sonam Gupta <[email protected]>
| Newsgroups | gmane.comp.printing.cups.bugs |
|---|---|
| Message-ID | <[email protected]> |
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] All the filters that are forked by pdftops do not have orientation information as it is stripped by pdftops filter. cups/filter/pdftops internally forks either CUPS_PDFTOPS or CUPS_GHOSTSCRIPT. The argument passed to it is pdf_argv which does not have any info about orientation if fit is not set. Later "cups/filter/pstops" is forked and argument passed is pstops_argv. pstops_argv[5]= pstops_options Since landscape and orientation-requested options are striped from pstops_options, pstops_argv does not have any information about orientation. If we don't strip landscape/orientation-requested option from pstops_options then pstops filter knows about orientation and PDF gets printed in whatever orientation user specifies. Link: http://www.cups.org/str.php?L4078 Version: 1.4.5 Fix Version: Third-party