LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-20-2006, 02:15 PM   #1
PsypherPunk
Member
 
Registered: Jul 2005
Location: Leeds, UK
Distribution: SuSE 10.0
Posts: 108

Rep: Reputation: 15
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?
 
Old 08-20-2006, 02:38 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Perhaps you could tell us what actually happens when you try to print?
 
Old 08-20-2006, 02:44 PM   #3
PsypherPunk
Member
 
Registered: Jul 2005
Location: Leeds, UK
Distribution: SuSE 10.0
Posts: 108

Original Poster
Rep: Reputation: 15
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
 
Old 08-21-2006, 01:53 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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?
 
Old 08-21-2006, 02:49 PM   #5
PsypherPunk
Member
 
Registered: Jul 2005
Location: Leeds, UK
Distribution: SuSE 10.0
Posts: 108

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why are Firefox and Thunderbird printing everything in landscape? MamaWombat Linux - Newbie 3 03-14-2006 07:42 AM
Firefox/Thunderbird Printing Issues on Linux Platforms Sonomatek Linux - Software 17 05-30-2005 08:25 PM
Printing emails problem Mozilla Thunderbird 1.0 bdika Linux - Software 5 01-16-2005 11:43 AM
Bad printing from Thunderbird payasam Linux - Software 0 11-03-2004 07:47 AM
Thunderbird and Firefox, Thunderbird doesnt launch firefox? sovietpower Slackware 1 11-01-2004 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration