LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-31-2005, 01:01 AM   #1
tuxedo-notebook
Member
 
Registered: Oct 2003
Distribution: Gentoo 2.6.12, Mepis 2.6.7, KUbuntu PPC
Posts: 43

Rep: Reputation: 15
Setting up HP printer with CUPS


I have HP DeskJet 5550 hooked up to an old box running gentoo and I want to be able to print from that box and share the printer.

Right now I have hpijs installed, cups, the right ppd file, enscript, etc. I added and configured the printer using the web interface, but the printer won't print. It appears to me that everything is set up correctly, however every time I try to print a test page from the cups web interface the printer doesn't respond.

I'm using a serial cable to go to the printer right now (although I could buy a usb.) The box it's hooked to also has 2 9-ports in addition to the parallel port, so that might screw up the port number. For port numbers I've tried /dev/ttyS0,1,2 and /dev/lp0. With ttyS2 and lp0 I get a port error, and the external modem should be connected to ttyS0.

What the hell am I forgetting?
 
Old 03-31-2005, 04:34 AM   #2
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Rep: Reputation: 15
I am not so clear on your printer setup. Did you set the printer up on the Gentoo box using the web interface? or from the other machine (assuming it is Debian)?

Maybe you should post your cups.conf as well.

p.n
 
Old 03-31-2005, 06:57 PM   #3
tuxedo-notebook
Member
 
Registered: Oct 2003
Distribution: Gentoo 2.6.12, Mepis 2.6.7, KUbuntu PPC
Posts: 43

Original Poster
Rep: Reputation: 15
I'm printing from the gentoo box, which will share the printer with my mepis and debian computers. I am configuring CUPS through the web interface (http://localhost:631/admin).

Update: Turns out I didn't have serial cable support built into my kernel (oops.) That's all fixed, but I think the problem lies in not being able to select the correct port. Serial #1 and #2 are available, but I think those should be my two 9-pins. I'm going to try editing the printers.conf file directly to see if that helps.

I haven't made any changes to cupsd.conf, but if you want to look at it I can post it. Here is printers.conf:

Code:
# Printer configuration file for CUPS v1.1.21rc1
# Written by cupsd on Mon Mar 28 13:13:20 2005
<DefaultPrinter HP5550>
Info 
Location 
DeviceURI serial:/dev/ttyS1?baud=1200+bits=8+parity=none+flow=none
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

Last edited by tuxedo-notebook; 03-31-2005 at 07:02 PM.
 
Old 03-31-2005, 08:12 PM   #4
tuxedo-notebook
Member
 
Registered: Oct 2003
Distribution: Gentoo 2.6.12, Mepis 2.6.7, KUbuntu PPC
Posts: 43

Original Poster
Rep: Reputation: 15
Nevermind, I forgot a few things while compiling parallel printing support into the kernel. Works great now. Thanks anyway.
 
  


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
DISCUSSION: Setting Up a Network Printer using CUPS busbarn LinuxAnswers Discussion 17 04-20-2010 08:25 PM
DISCUSSION: Setting up a PDF printer in CUPS (in my case in Slackware) Tinkster LinuxAnswers Discussion 7 11-18-2008 02:31 AM
Help setting up printer using cups jbraum Linux - Networking 1 11-19-2005 04:32 PM
setting up a printer with cups on RH7 for windows with samba TreeHugger Linux - Networking 2 11-11-2004 11:31 AM
Setting Up My HP Printer With CUPS AFI_Flame Linux - Newbie 15 07-22-2004 10:02 AM

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

All times are GMT -5. The time now is 02:46 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