LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Printing From Firefox/Thunderbird (https://www.linuxquestions.org/questions/linux-hardware-18/printing-from-firefox-thunderbird-475652/)

PsypherPunk 08-20-2006 01:15 PM

Printing From Firefox/Thunderbird
 
I'm trying to get printing working from Firefox and Thunderbird (local, USB, Lexmark Z600 series). All other applications (kwrite, OpenOffice, etc.) work just fine.

I read about amending:

Code:

lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}

to:

Code:

kprinter --stdin

However, this makes no difference. In about:config I found three .print_command entries and I've changed the all without success:

Code:

print.postscript.print_command
print.print_command
print.printer_CUPS/LEXMARKZ600.print_command


Am I missing something?

david_ross 08-20-2006 01:38 PM

Perhaps you could tell us what actually happens when you try to print?

PsypherPunk 08-20-2006 01:44 PM

A fair point. File->Print brings up a print dialogue (which pages to print, etc.). After clicking 'Print' a 'Printing' message appears but nothing happens

david_ross 08-21-2006 12:53 PM

It seems odd that the kde printing dialog doesn't show up.

If you start firefox from a terminal do you get any information printed to the terminal when you try to print?

PsypherPunk 08-21-2006 01:49 PM

Nope, Firefox executes then ends in the terminal before there's any output.

However, after much fiddling I've discovered the following:

When choosing File->Print there are three options: CUPS/LEXMARKZ600, PostScript/default and PostScript/kprinter.

If I choose the first (which I had been doing) I get Firefox's print dialogue then nothing. If I choose either of the other two I get the Firefox print dialogue, then the kprinter dialogue. It seems to terminate successfully but doesn't print. If I open KJobViewer while printing the file appears in the list then disappears without printing. It then shows as 'Aborted' (aborted-by-system) in the Completed list.

I'm not really sure where to start looking at this so I've checked the /var/log/cups/error_log (after setting it to 'debug'). The following turn up but don't really mean much to me:

Quote:

Error: /rangecheck in --setpagedevice--
...
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 8.15.0: Unrecoverable error, exit code 1
PID 9686 stopped with status 1!
[Job 58] Cannot Process Raster
PID 9687 stopped with status 1!
N.B., if I 'Print to File' via Firefox I get a normal PostScript file. Opening this via KGhostView and trying to print results in the same behaviour seen above. I'm guessing there's something wrong with PostScript printing but I've no idea what.


All times are GMT -5. The time now is 07:09 AM.