LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-24-2005, 05:51 PM   #1
Xswitch
Member
 
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
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.
 
Old 10-24-2005, 08:35 PM   #2
McCloud
Member
 
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, 04:49 AM   #3
Xswitch
Member
 
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, 02:36 PM   #4
steve1972
Member
 
Registered: Jan 2005
Posts: 62

Rep: Reputation: 15
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...


.......
 
Old 10-31-2005, 08:28 PM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
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....
 
Old 10-31-2005, 10:12 PM   #6
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

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


Reply


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


All times are GMT -5. The time now is 12:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration