LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   CUPS-HP JetDirect 170x (https://www.linuxquestions.org/questions/debian-26/cups-hp-jetdirect-170x-376517/)

Xswitch 10-24-2005 05:51 PM

CUPS-HP JetDirect 170x
 
Trying to print to HP LaserJet 1300 via HP JetDirect 170x

I go to http://localhost:631/admin
then:

1. Click on add printer and put in Name, Location, Description

2. It then asks for "Device". I choose AppSocket/HP Jetdirect
Is this correct?

3. It then asks for "Device URI". I have no clue as to what to put in here. We use IP based printing for our XP machines. The JetDirect box has an IP address of 192.168.0.50. XP machines print to it just fine. The box shows the word "socket". It also lists these examples:

file:/path/to/filename.prn
http://hostname:631/ipp/
http://hostname:631/ipp/port1
ipp://hostname/ipp/
ipp://hostname/ipp/port1
lpd://hostname/queue
socket://hostname
socket://hostname:9100

What do I put for hostname? I printed the test page from the JetDirect, and it has a "Host Name". Should I enter the "Host Name" of the JetDirect?

4. I then asks for Model/Driver. I choose HP for Make. I'm then given 3 choices for Model:

HP DeskJet Series CUPS v1.1 (en)
HP LaserJet Series CUPS v1.1 (en)
HP New DeskJet Series CUPS v1.1 (en)

My driver does not seem to show. How do I install the driver? I've been choosing the 2nd option.

Thanks for the help.

McCloud 10-24-2005 08:35 PM

I have a JetDirect myself, but I installed CUPS a long time ago and after my latest diskcrash I haven't reinstalled my printer yet :D So this is what I remember how I installed it.

I used the " socket://hostname:9100" option. Instead of the hostname I entered the IP-address of the JetDirect. The 9100 part tells you which port on the JetDirect to use (there are JetDirects to which more than one printer can be attached). I I remember correcty, 9100 is port one, 9101 is port 2, etc..

In order to install the correct printer driver you can install additional drivers via apt. If I remember correctly, the HP printer drivers are in a package called 'hpijs'.

You just have to try some things, that's how I got mine working.

Good luck.

Xswitch 10-25-2005 04:49 AM

Thanks McCloud. Your post definitely helps. Thanks for taking the time to help me. I'll work on it again today...

God Bless...

steve1972 10-31-2005 02:36 PM

Setup
 
As I have been posting lately. Why struggle with incorporating different software/attachments solutions when you can do it all at once. Buy ESP Print Pro (commercial version of CUPS) and stop struggling:

http://www.easysw.com/printpro/


But anyway... To configure your printer, use the following URIs for HP and socket devices:

socket://server (Internal)
socket://server:9100 (Parallel 1) (default setting)
socket://server:9100 (Parallel 2)
.......


Then you'll need a compatible driver...


.......

farslayer 10-31-2005 08:28 PM

Jet direct cards also support LPR so you could also use:

lpd://hostname/queue
lpd://<ipaddress>/auto

http://h20000.www2.hp.com/bizsupport...ectID=bpj02836

just fyi....

spooon 10-31-2005 10:12 PM

And if you are using the advanced HPLIP driver (which most people don't bother with), the URI is in the form of "hp:/net/hp_LaserJet_1300?ip=192.168.0.50".


All times are GMT -5. The time now is 09:36 AM.