pdf printer produces ps file instead of pdf when "save as file" is chosen in print dialog

Bug #159431 reported by dominique
12
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Fix Released
Wishlist
Rolf Leggewie

Bug Description

if you check the path file box for printing a pdf file with pdf printer you 'll get a ps file instead of a pdf file , (unreadeable with acrobat reader) Then you can get a pdf file with ps2pdf

if you don't check the file path before priting , you will obtain a pdf file in PDF directory (readable with acrobat)

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

The Print dialog you see in applications has nothing to do with CUPS-PDF; it uses the desktop environment's own library to generate PostScript documents. In which application were you trying to print this PDF?

Changed in cups-pdf:
status: New → Incomplete
Revision history for this message
dominique (dominiqueoudin) wrote :

firefox 2.0

Revision history for this message
dominique (dominiqueoudin) wrote :

same pb with thuderbird 2.006

Revision history for this message
dominique (dominiqueoudin) wrote :

with some other gnome-applications i tested a few minutes ago , the print-gui wasn't exactly the same , especially ,no check box for choosing another path for file , so if you print with pdf file printer you can't choose another path and printing is well made in PDF directory ( readable with acrobat)

with kde-applications runingwith gnome ( like konqueror) no problem because the gui is a kde gui and you can choose a special way to print pdf file ( acrobat icon in the gui)

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

In that case, the problem is with how Mozilla applications generate PDF files. If you select CUPS/CUPS-PDF among the available printers, it will let CUPS produce the file.

Revision history for this message
dominique (dominiqueoudin) wrote :

Howto? because when i ask for printing in firefox or thunderbird i haven't other choice of gui

i tried to change print.postscript.print_command option from " lpr ${MOZ_PRINTER_NAME:+-P"$MOZ_PRINTER_NAME"} " to " kprinter ' but it don't solve the pb , i get the same gnome gui

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Do you have the firefox-gnome-support package installed? If yes, then it uses the normal GTK print library to process printouts.

Revision history for this message
dominique (dominiqueoudin) wrote :

yes I have ,

i tested that

i have uninstalled firefox-gnome-support ,shutdown and restart ; ,same gui same pb ( remember i have changed print.postscript.print_command option from " lpr ${MOZ_PRINTER_NAME:+-P"$MOZ_PRINTER_NAME"} " to " kprinter ') so i 'm going to reinstall firefox-gnome-support

Revision history for this message
Rolf Leggewie (r0lf) wrote :

I can confirm this behaviour.

I only found out recently how cups-pdf is supposed to work. It is very unintuitive in a desktop environment (I know, cups-pdf was never intended for these environments, but is a back-end to CUPS)

Changed in cups-pdf:
status: Incomplete → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Except that there is no Print Dialog offered by CUPS-PDF. What the user sees is whichever toolkit some application was built with, sometimes offering built-in Save To PS capability. It really isn't a CUPS-PDF issue. This should be reassigned to one of the Xulrunner components.

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

This seems to be caused by Firefox's own CUPS support. Reassigning.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

I don't see this anymore in Jaunty's FF 3.0.11. Does anybody else?

Changed in firefox (Ubuntu):
assignee: nobody → Rolf Leggewie (r0lf)
status: Confirmed → Incomplete
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Assuming this is fixed. Please reopen if you still experience this.

Changed in firefox (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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