Ghostscript renders only a part of the attached PDF file when using a high resolution
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GS-GPL |
Fix Released
|
Medium
|
|||
ghostscript (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Oneiric |
Fix Released
|
High
|
Unassigned |
Bug Description
When printing the document attached, cups only prints one of the three boxes. The rest of the page is white.
I tried submitting the document using evince and lpr.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: cups 1.5.0-8ubuntu5
ProcVersionSign
Uname: Linux 3.0.0-13-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CupsErrorLog:
W [10/Dec/
W [10/Dec/
Date: Sat Dec 10 20:00:21 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
Lpstat: device for Photosmart-
MachineType: Shuttle Inc. SX58
Papersize: a4
PpdFiles: Photosmart-
ProcEnviron:
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: cups
UpgradeStatus: Upgraded to oneiric on 2011-10-19 (52 days ago)
dmi.bios.date: 03/02/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080016
dmi.board.
dmi.board.name: SX58
dmi.board.vendor: Shuttle Inc.
dmi.board.version: V10
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Intel
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: SX58
dmi.product.
dmi.sys.vendor: Shuttle Inc.
Related branches
Changed in gs-gpl: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in gs-gpl: | |
status: | Confirmed → In Progress |
Changed in gs-gpl: | |
status: | In Progress → Confirmed |
Changed in gs-gpl: | |
status: | Confirmed → In Progress |
Changed in gs-gpl: | |
status: | In Progress → Fix Released |
I can reproduce this bug and it is a problem of Ghostscript's PDF interpreter. I have printed the attached file Ausgabe.pdf into a PDF file with evince (Printer "Print to File", resulting PDF file attached). Then I have run the following Ghostscript command line on it
cat Ausgabe-evince.pdf | /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=png16m -sstdout=%stderr -sOutputFile= %stdout -r200x200 -_ > out.png
and out.png showed only the horizontal "Presse" at the bottom. The problem only occurs with high, printing-typical resolutions. If I use "-r100x100" I get correct output. All higher resolutions only give me the horizontal "Presse" at the bottom.
The output device does not matter. The original command line with the "cups" output device
cat Ausgabe-evince.pdf | /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile= %stdout -sMediaType=Plain -sOutputType=0 -dDuplex -r600x600 -dMediaPosition=7 -dDEVICEWIDTHPO INTS=595 -dDEVICEHEIGHTP OINTS=832 -dcupsBitsPerCo lor=8 -dcupsColorOrder=0 -dcupsColorSpace=17 -scupsPageSizeN ame=A4 -I/usr/ share/cups/ fonts -c -f -_ > out.raster
shows the same problem and also changing the color space parameters or removing all parameters except " -sstdout=%stderr -sOutputFile= %stdout -sDEVICE=cups -r600x600" shows the problem.
Whenever the problem occurs, Ghostscript takes unusually long time to finish.
Using the "cups" output device in a monochrome mode, like with this commandf line
cat Ausgabe-evince.pdf | /usr/bin/gs -sDEVICE=cups -sstdout=%stderr -sOutputFile= %stdout -r600x600 -_ > out.raster
lets the upper right rectangle with vertical "Presse" appear in a very light gray.
To visualize CUPS Raster files I use
http:// www.easysw. com/~mike/ rasterview/ index.html