LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-02-2003, 01:47 AM   #1
tunedLow
Member
 
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133

Rep: Reputation: 15
Can print via lpr, but not browser


I am trying to use an HP 3820, with a USB port in Slackware 8.1.

It requires the hpijs module, which I've downloaded and installed succesfully. Then got a .pdd file from linuxprinting.org for my exact make, and installed it as directed from their site. I then used CUPS to add the printer.

At this point I have the cupsd and lpd services up. The usb port is mounted.

The commands lpr or lp will print text files or jpgs. Not ps files.

However, I cannot print from any browser (galeon, konquoror, mozilla). Nothing seems to be sent to the print queue. I've tried every different argument I could thing of for mozilla's print config menu: lp, lpr, lp -P hpPrinter, etc... When I lpq or lpstat, the is nothing listed. Yet the browser claims it's sending to my printer, by name, "hpPrinter", no matter what the args.

When I look at the settings under KDE's printer manager, the printer is listed, and all settings look like this:

Type: Local printer
State: Idle (accepting jobs)
Location: /dev/usb/lp0
Description: HP DeskJet 3820, hpijs

Device: usb://HP/DeskJet 3820?serial=CN2BG1B0YH18
Model: HP DeskJet 3820, Foomatic + hpijs (recommended)


As far as I can tell, this looks right. But the option to print a test page does the same thing as my browser, nothing. Nor can I print from the test from the cups browser config page.

Here my is my printcap:

# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.
hpPrinter|HP DeskJet 3820, hpijs:rm=marsha:rp=hpPrinter:

So I can print from lp/lpr but no other way.

Any suggestions would be appreciated. As an aside I'll mention that I set this printer up in Redhat 8 and 9. The correct drivers were found in both. But each time I would try to print something, it would freeze the machine so hard I would have to reset to reboot, and then I could never load linux again, not through a boot disk etc. That hasn't happend here, though.
 
Old 05-02-2003, 08:36 AM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
if your using kde, try sending the job to 'kprinter'
 
Old 05-02-2003, 12:20 PM   #3
tunedLow
Member
 
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133

Original Poster
Rep: Reputation: 15
Tried that as well.
 
Old 05-02-2003, 01:35 PM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
i'm pretty sure the browsers send stuff to the printer in
postscript format, so if you can't print postscript, thats
why it will not print in the browser. Don't work
about getting it printing in the browsers until you get
postscript working, and i guess that going to be with
ghostscript.
 
Old 05-02-2003, 02:44 PM   #5
tunedLow
Member
 
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133

Original Poster
Rep: Reputation: 15
Thanks, for the tip. I'll work on that end.
 
Old 05-10-2003, 12:28 PM   #6
tunedLow
Member
 
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133

Original Poster
Rep: Reputation: 15
SOLVED!!!

Geez, this one took me a long time, and the solution was sooo simple.

I was able to print ps files, but couldn't get any browser to output a viable ps file.

I ran $ gs -h, and looked at the font path, which was /usr/local/share/ghostscript/fonts. When I looked that for that path, it didn't exist, my fonts were in /usr/share/ghostscript/fonts - doh!!

Symlinked and all is well.

Thanks for the direction whansard
 
  


Reply



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
All documents print as text using lpr JohnKFT Slackware 1 04-12-2005 11:48 AM
cups daemon/lpr won't print rzavarella SUSE / openSUSE 12 04-05-2005 04:33 PM
gimp-print and lpr _ben_deb_ Linux - Hardware 0 02-11-2005 10:01 AM
OfficeJet G85, CUPS Web based Admin test print works, lpr/lp dose not. ptal-print OK. NLR Linux - Hardware 2 09-20-2004 02:59 PM
Can print direct but not thru lpr spooler? MikHud Linux - General 0 02-22-2002 09:26 AM

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

All times are GMT -5. The time now is 12:41 PM.

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
Open Source Consulting | Domain Registration