LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-24-2005, 06:51 PM   #1
Registered: Jul 2003
Distribution: Ubuntu, Debian
Posts: 139

Rep: Reputation: 15
CUPS-HP JetDirect 170x

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

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

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 XP machines print to it just fine. The box shows the word "socket". It also lists these examples:


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.
Old 10-24-2005, 09:35 PM   #2
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
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 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.
Old 10-25-2005, 05:49 AM   #3
Registered: Jul 2003
Distribution: Ubuntu, Debian
Posts: 139

Original Poster
Rep: Reputation: 15
Thanks McCloud. Your post definitely helps. Thanks for taking the time to help me. I'll work on it again today...

God Bless...
Old 10-31-2005, 03:36 PM   #4
Registered: Jan 2005
Posts: 62

Rep: Reputation: 15

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:

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...

Old 10-31-2005, 09:28 PM   #5
LQ Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Jet direct cards also support LPR so you could also use:


just fyi....
Old 10-31-2005, 11:12 PM   #6
Senior Member
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 49
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=".


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
JetDirect in Slackware... averen Linux - Newbie 5 07-26-2004 02:04 PM
HP JetDirect over WAN slapshotct Linux - Security 2 03-25-2004 08:02 AM
hp jetdirect slack66 Slackware 1 01-26-2004 02:23 AM
JetDirect 170x mrsolo Linux - Hardware 3 08-29-2002 04:31 AM
JetDirect Help 104625 Linux - Networking 5 08-15-2002 11:52 PM

All times are GMT -5. The time now is 10:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration