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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-02-2003, 01:47 AM
|
#1
|
Member
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133
Rep:
|
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.
|
|
|
05-02-2003, 08:36 AM
|
#2
|
Senior Member
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692
Rep:
|
if your using kde, try sending the job to 'kprinter'
|
|
|
05-02-2003, 12:20 PM
|
#3
|
Member
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133
Original Poster
Rep:
|
Tried that as well.
|
|
|
05-02-2003, 01:35 PM
|
#4
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
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.
|
|
|
05-02-2003, 02:44 PM
|
#5
|
Member
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133
Original Poster
Rep:
|
Thanks, for the tip. I'll work on that end.
|
|
|
05-10-2003, 12:28 PM
|
#6
|
Member
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 06:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|