Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Environments
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Desktop Environments
Support for your Ubuntu desktop. Including Gnome, KDE and XFCE.

 
Thread Tools Display Modes
Old June 11th, 2005   #1
palsyboy
Just Give Me the Beans!
 
palsyboy's Avatar
 
Join Date: Jan 2005
Location: Far from home
Beans: 79
Kubuntu 6.06
Firefox Postscript Interpreter Problem [Solved]

Anytime I try to print from Firefox, a page prints with the following message:
_________________________________________________
The Postscript interpreter in your printer is 2014.116
This printout requires at least version 2015 or greater

To make a Unix/Linux Gecko browser (eg: Netscape or Mozilla) produce output that will work on any level 2 interpreter change the "Print Command" to use Ghostscript to convert the output down to basic level 2; eg: change the print command from

lpr [OPTIONS]

to (all on one line)

gs -q -sDEVICE=pswrite -sOutputFile=- -dNOPAUSE -dBATCH -dMozConvertedToLevel2=true - | lpr [OPTIONS]

for level 1 use:

gs -q -sDEVICE=pswrite -sOutputFile=- -dNOPAUSE -dBATCH -dLanguageLevel=1 -dMozConvertedToLevel1=true - | lpr [OPTIONS]

If you are printing this from a file use Ghostscript to convert it to basic level 2; eg: change the print command from

lpr [OPTIONS] <FILENAME>

to

gs -q -sDEVICE=pswrite -sOutputFile=- -dNOPAUSE -dBATCH -dMozConvertedToLevel2=true <filename> | lpr [OPTIONS]

for level 1 use:

gs -q -sDEVICE=pswrite -sOutputFile= -dNOPAUSE -dBATCH -dLanguageLevel=1 -dMozConvertedToLevel1=true <FILENAME> | lpr [OPTIONS]

_________________________________________________

I've search around on google.com/linux, and nothing was helpful. Does anyone know what I need to do? Thanks.
__________________
"If saving money is wrong, I don't wanna be right." -W. Shatner

Last edited by palsyboy; June 13th, 2005 at 05:09 PM.. Reason: Solved
palsyboy is offline   Reply With Quote
Old June 13th, 2005   #2
pkaeding
First Cup of Ubuntu
 
pkaeding's Avatar
 
Join Date: Jun 2005
Beans: 6
Re: Firefox Postscript Interpreter Problem

I was also having this problem, and I think I found the solution.

If you go to about:config, and change the value of:
Code:
print.printer_PostScript/[yourprintername].print_command
to:
Code:
gs -q -sDEVICE=pswrite -sOutputFile=- -dNOPAUSE -dBATCH -dMozConvertedToLevel2=true - | lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}
It seems to fix the problem. You can also put that line in the print command box in the Print/Properties dialog (that way is probably much easier)

Hope that helps!

-Patrick
pkaeding is offline   Reply With Quote
Old June 13th, 2005   #3
palsyboy
Just Give Me the Beans!
 
palsyboy's Avatar
 
Join Date: Jan 2005
Location: Far from home
Beans: 79
Kubuntu 6.06
Re: Firefox Postscript Interpreter Problem

That solved it perfectly. Thanks!
__________________
"If saving money is wrong, I don't wanna be right." -W. Shatner
palsyboy is offline   Reply With Quote
Old August 3rd, 2005   #4
stoffe
Way Too Much Ubuntu
 
stoffe's Avatar
 
Join Date: Jan 2005
Location: Stockholm, Sweden
Beans: 306
Ubuntu Karmic Koala (testing)
Cool Re: Firefox Postscript Interpreter Problem

That line solved my problem too.

It had me stumped for the longest time... our printer here (a Lexmark T630) didn't output anything at all, although it started up, looked busy etc, just that nothing came out. Testpages and other programs worked just fine...

Anyway, just wanted to say thanks!
stoffe is offline   Reply With Quote
Old August 22nd, 2005   #5
sjpwong
5 Cups of Ubuntu
 
Join Date: Dec 2004
Location: Brisbane, Australia
Beans: 38
Ubuntu 7.10 Gutsy Gibbon
Re: Firefox Postscript Interpreter Problem

Quote:
Originally Posted by pkaeding
It seems to fix the problem. You can also put that line in the print command box in the Print/Properties dialog (that way is probably much easier)
If i change that line it works until I restart Firefox. For some reasonit is not actually saving the changes.

Any tips?

TIA.
sjpwong is offline   Reply With Quote
Old August 8th, 2005   #6
Mentalbug
First Cup of Ubuntu
 
Join Date: Aug 2005
Beans: 7
Thumbs up Re: Firefox Postscript Interpreter Problem

You rock!

This actually fixed the problems I had with Firefox and cups-pdf. (I just had continuous horizontal lines where there was supposed to be words and stuff )

Now it seems to be working like a charm, thanks!
Mentalbug is offline   Reply With Quote
Old August 10th, 2005   #7
plm99
First Cup of Ubuntu
 
Join Date: Feb 2005
Beans: 11
Re: Firefox Postscript Interpreter Problem

Didn't work for me, Firefox just crashes whenever I just press "print". Before I changed to the suggested command it would print a blank page.

I'm using an HP networked printer with hplip-0.9.4 driver, if that makes any difference. The printer test page works fine.

I'm on Firefox 1.0.6

Any more ideas?
plm99 is offline   Reply With Quote
Old September 14th, 2005   #8
tmh
First Cup of Ubuntu
 
Join Date: Nov 2004
Beans: 4
Re: Firefox Postscript Interpreter Problem

Is there a bug out against this?
This printout is one of the funniest usability snafus I've had with ubuntu -- print a document, get a page of commandline instructions totally incomprehensible to the novice.
I don't know where the bug is -- obviously somewhere along the line, something should automatically figure out what your printer can handle and do the right thing!
tmh is offline   Reply With Quote
Old September 27th, 2005   #9
robertoneto123
5 Cups of Ubuntu
 
Join Date: Sep 2005
Beans: 17
Re: Firefox Postscript Interpreter Problem

Hey, Firefox crashes for me too when I put this line. Could someone solve this thing?
robertoneto123 is offline   Reply With Quote
Old January 2nd, 2006   #10
pkaeding
First Cup of Ubuntu
 
pkaeding's Avatar
 
Join Date: Jun 2005
Beans: 6
Re: Firefox Postscript Interpreter Problem

Quote:
Originally Posted by robertoneto123
Hey, Firefox crashes for me too when I put this line. Could someone solve this thing?
I'm not really sure, since it does work for me, but I know that the above command is case-sensitive. I think you should be able to just paste it into the appropriate field, but if you are typing it by hand, I would double-check that.
pkaeding is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:56 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry