LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 08-02-2004, 10:03 PM   #1
andymadigan
Member
 
Registered: Aug 2004
Location: Rochester, NY
Distribution: Debian Sid
Posts: 59

Rep: Reputation: 15
CUPS Test Page prints, not from firefox


I setup cups on sid, the test page prints fine, but when I try to print from Mozilla Firefox, it seems it can't find the printer, AbiWord detects it fine, any ideas? I've tried every printer Firefox lists, none of them seem to exist.
 
Old 08-02-2004, 10:40 PM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
afaik the cups plugin for mozilla got updated. is you version recent?
else, what's your printer called in the printer options dialog. lpr?

sl mritch.
 
Old 08-02-2004, 10:46 PM   #3
andymadigan
Member
 
Registered: Aug 2004
Location: Rochester, NY
Distribution: Debian Sid
Posts: 59

Original Poster
Rep: Reputation: 15
I think so

After apt-get update synaptic says there are no updateable packages, a search for "mozilla print" finds very little and Xprt-xorg is installed. The first (default) printer listed is called lp@:64.
 
Old 08-02-2004, 11:23 PM   #4
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
you have the same printer listed in ex. abiword? my printer is a remote one with cups.
my firefox entry says: "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}", but lpr alone works ok too. maybe you should try it with "lp" - maybe it will work.
btw; are you allowed to print to the device? are you in group lp? try printing as root.

sl mritch.
 
Old 08-03-2004, 10:55 AM   #5
king of nothing
LQ Newbie
 
Registered: Jun 2004
Location: Ankeny, IA
Distribution: Debian Sid
Posts: 11

Rep: Reputation: 0
I had the exact same problem.

It turns out I was missing a couple packages. I forget exactly which one did it but it was one of the 'cupsys' packages.

I'd suggest checking to make sure you have 'cupsys' 'cupsys-client' and 'cupsys-bsd' installed.

At least that's what worked for me.
 
Old 08-03-2004, 02:24 PM   #6
andymadigan
Member
 
Registered: Aug 2004
Location: Rochester, NY
Distribution: Debian Sid
Posts: 59

Original Poster
Rep: Reputation: 15
status

I'll try installing the packages before, yes I can print from AbiWord, oddly it calls the printer "main", which is what cups calls it (the name I set for the printer is "main"). I have the cupsys package. The "lp" command allows me to print postscript files, but the fonts seem wierd. I'll post again when I get home after I install cupsys-client and cupsys-bsd.
 
Old 08-03-2004, 04:29 PM   #7
andymadigan
Member
 
Registered: Aug 2004
Location: Rochester, NY
Distribution: Debian Sid
Posts: 59

Original Poster
Rep: Reputation: 15
Printing distorted

I can now print from firefox + openoffice.org, however, printing out of firefox seems to be distorted (stretched height-wise) printing out of OO.org is not distorted, when I print to a ps file and view it coming out of firefox it looks fine, any idea why this happens?
 
Old 08-03-2004, 06:08 PM   #8
Oh Cisco
Member
 
Registered: Jul 2004
Location: Phoenix
Distribution: debian etch
Posts: 95

Rep: Reputation: 15
I am having a similar problem with Firefox.

I have Sarge installed and using Firefox .8 for my browser, I also installed OpenOffice. OpenOffice lists my HP printer and prints just fine , but Firefox does not list my HP printer at all.

I installed cupsys, cupsys-bsd and cupsys-client.

Is there something that I did not do, that should be done to get Firefox to recognise the HP printer?
 
Old 08-03-2004, 08:30 PM   #9
andymadigan
Member
 
Registered: Aug 2004
Location: Rochester, NY
Distribution: Debian Sid
Posts: 59

Original Poster
Rep: Reputation: 15
weird

My personal experience was that OO.org and Firefox saw the same thing, but I'm on sid (which is Firefox-0.9), I would say that if OO sees your printer, try making sure that you Xprt-xorg (not the Xfree86 version, which doesn't work with Mozilla).
 
Old 08-03-2004, 09:19 PM   #10
Oh Cisco
Member
 
Registered: Jul 2004
Location: Phoenix
Distribution: debian etch
Posts: 95

Rep: Reputation: 15
Re: weird

Quote:
Originally posted by andymadigan
I would say that if OO sees your printer, try making sure that you Xprt-xorg (not the Xfree86 version, which doesn't work with Mozilla).
HUH, I am a real newbie (2 weeks), I have no idea where you are talking about.
 
Old 08-03-2004, 10:17 PM   #11
andymadigan
Member
 
Registered: Aug 2004
Location: Rochester, NY
Distribution: Debian Sid
Posts: 59

Original Poster
Rep: Reputation: 15
xprt-xorg is a package name

I'm new too, I happened to run across a package in synaptic called xprt-xprintorg, which said it had full compatability w/ Mozilla, if you installed recently you probably have it. Try apt-get install xprt-xprintorg as root. If you don't have synaptic apt-get install synaptic as root.
 
Old 08-04-2004, 01:04 AM   #12
Oh Cisco
Member
 
Registered: Jul 2004
Location: Phoenix
Distribution: debian etch
Posts: 95

Rep: Reputation: 15
I had to shut the computer down for a while and when I started it up Firefox displayed my HP printer, so that problem is solved. The thing that is wrong, is when I print a page off of the net it is huge. I made sure that the "shrink to fit page width" is checked. I have no idea what is going on.

Anyone have any ideas?
 
Old 08-04-2004, 03:41 AM   #13
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Always use the CUPS driver that linuxprinting.org recommends for your printer.

To get better control over your CUPS driver you can install xpp (X Printing Panel).

After doing this you can rename lpr to lpr-orig (mv /usr/bin/lpr /usr/bin/lpr-orig). Then you can make a symlink from xpp to lpr (ln -s /usr/bin/xpp /usr/bin/lpr). Now every time you print, X Printing Panel should pop up giving you many advanced printing options.

If you're not happy with this solution, you can restore the original printing behaviour with these two commands:

rm /usr/bin/lpr
mv /usr/bin/lpr-orig /usr/bin/lpr

(All the above suggested commands should be executed as root user.)
 
Old 08-04-2004, 11:49 AM   #14
andymadigan
Member
 
Registered: Aug 2004
Location: Rochester, NY
Distribution: Debian Sid
Posts: 59

Original Poster
Rep: Reputation: 15
using the right driver

I am using the driver reccommended by linuxprinting.org, I'll try xpp.
 
Old 08-26-2004, 08:28 PM   #15
craiglinux
LQ Newbie
 
Registered: Apr 2004
Location: Illinois (bt from South Africa :) )
Distribution: Debian
Posts: 10

Rep: Reputation: 0
Another thing you can do is use kprinter: (if you are using kde!)

As root:

1 - move the default printer to a save place: mv /usr/bin/lpr /usr/bin/lpr-orig
2 - Make a symbolic link for a new lpr file to the kprinter: ln -s /usr/bin/kprinter /usr/bin/lpr

Now when you print, choose the 'Default / postscript' option and print. The kprinter dialog box will open up and you should be able to choose your printer from there.

If this fails - restore the old lpr file

Craig
 
  


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
CUPS only prints the test page mldqj *BSD 1 04-07-2005 09:21 AM
CUPS: prints test page, can't print otherwise anders_ant Slackware 1 08-11-2004 11:31 AM
CUPS test page sethgeekx86 Linux - Software 7 05-05-2004 06:43 PM
cups: test page prints fine but other programs don't intense Slackware 10 03-30-2004 10:26 PM
Thanks | CUPS test page ? niidea LinuxQuestions.org Member Intro 5 06-29-2003 06:09 PM


All times are GMT -5. The time now is 03:19 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration