ps2pdf with gs-esp gives corrupt output

Bug #35674 reported by mannheim
10
Affects Status Importance Assigned to Milestone
gs-esp (Ubuntu)
Fix Released
Medium
Ian Jackson

Bug Description

Open Firefox in Dapper, Flight 5, go to google.com, and then select "Print ...". In the Print dialog, select as printer name "Postscript/default", and check "Save to File". Save the output to "out.ps".

Now use ghostcript to convert out.ps to a pdf file, with the command line "ps2pdf out.ps". Finally, open out.pdf with evince.

On my system, the view in evince shows the bottom of the google banner truncated: only about three quarters of the "Google" gif appears. The file out.pdf cannot be viewed correctly by acroread either (the entire banner is not drawn.)

No idea which package to assign this to: gs, or cupssys, or what.

Revision history for this message
mannheim (kronheim) wrote :

I changed the affected package name to "gs-esp". (The assignment to "gs-gpl" was incorrect.)

Revision history for this message
mannheim (kronheim) wrote : postscript source

This is the ps file created from Firefox, by printing the page "google.com".

Revision history for this message
mannheim (kronheim) wrote : PDF output

This was generated by "ps2pdf out.ps", using gs-esp package version 8.15.1.dfsg.1-1ubuntu

Revision history for this message
mannheim (kronheim) wrote : Re: Printing to ps from Firefox: corruption

Converting the same postscript file to pdf using gpl ghostscript on a Windows machine gives a pdf file that is not corrupt.

Revision history for this message
mannheim (kronheim) wrote :

I just installed gs-gpl from the dapper repositories. I found that gs-gpl can successfully convert the previously attached :"out.ps" to a pdf file, without corruption. The problem only occurs with gs-esp.

I suspect that this problem with gs-esp on my system is also responsible for printing problems: for example, a simple text document can be printed from gedit to my Canon inkjet printer; but a more complicated page from Firefox fails to print.

I have a second (similar) dapper installation on my office machine. It exhibits the same corruption with gs-esp.

Matt Zimmerman (mdz)
Changed in gs-esp:
assignee: nobody → ijackson
Revision history for this message
Frank Fischer (fischer01) wrote :

I have expirienced this same bug on FC5: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187834
They have fixed it in a recent update (04-10.2006)

Revision history for this message
moelles (moelles) wrote :

Same problem for me: convert pdf to pdf (4pages on1) in kprinter triggers an error message and no pdf.. also the printpreview in kprinter shows blank pages

after an update-alternatives to gs-gpl all works as expected

Revision history for this message
Frank Fischer (fischer01) wrote :

This one got fixed for me with gs-esp 8.15.2.dfsg.0ubuntu1-0ubuntu1

Revision history for this message
mannheim (kronheim) wrote :

Yes, gs-esp 8.15.2.dfsg.0ubuntu1-0ubuntu1 works! Thanks.

The example "out.ps" now gets converted to an "out.pdf" that Acrobat and Evince both display fine on my machine (using ps2pdf).

Revision history for this message
moelles (moelles) wrote :

Fixed. Thank you.

Revision history for this message
Martin Pitt (pitti) wrote :

Confirmed fixed by the reporter, closing. Thank you for checking!

Changed in gs-esp:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.