Red Hat Bugzilla – Bug 97031
ghostscript generates trailing blank page if input is from stdin. wastes paper.
Last modified: 2007-04-18 12:54:41 EDT
Description of problem:
ghostscript (as used in gv and lpr) generates trailing blank page if
input is from stdin.
If the input is from a file then the extra page is not generated.
Affects gv and lpr.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. pick any .ps file (the summary.ps is just an example, selected because it is
only 4 pages long).
2. cat /usr/share/doc/nvi-m17n-1.79/docs/USD.doc/exref/summary.ps | lpr
3. lpr /usr/share/doc/nvi-m17n-1.79/docs/USD.doc/exref/summary.ps
The cat'd version (2.) has an extra blank page at the end.
No extra blank pages.
Same result with:
cat /usr/share/doc/nvi-m17n-1.79/docs/USD.doc/exref/summary.ps | gv -
I strongly suspect this is dependent on the particular driver you are using.
Please attach output of printconf-tui --Xexport.
Created attachment 92319 [details]
output of: "printconf-tui --Xexport"
How would that explain the same problem occurring with "gv -" ?
For that queue, gs is not even invoked as far as I can tell. Must be something
that the foomatic filter does to the PostScript before it gets sent to the printer.
"cat ... | lpr" doesn't generate a blank page here in FC3.