Discussion:
Trying to get a network printer HP LaserJet (tm) 2100tn to print from debian
(too old to reply)
J
2007-09-26 23:10:05 UTC
Permalink
Trying to get a network printer HP LaserJet (tm) 2100tn to print from
debian that I got for free.
I got it to print from windows because it had some Java aplet that
downloaded DLL
and did a windows install and it will print from Windows now.
The software it installed was called "HP internet Printer Connection".

Any how, KDE's add printer cannot scan and find the printer???
So, I can't add it. Should I try to add it as
and IPP printer or other type?
I tried entering the IP address in the add printer dialog,
but then it show blank selection for chooing the model
and maker of the printer on the next page of the KDE add printer
dialog.
Any suggestions?
Thanks in advance
J


$ telnet 192.168.1.5:631
telnet: could not resolve 192.168.1.5:631/telnet: Name or service not
known
$ telnet 192.168.1.5:9100
telnet: could not resolve 192.168.1.5:9100/telnet: Name or service not
kn
$ telnet 192.168.1.5
Trying 192.168.1.5...
Connected to 192.168.1.5.
Escape character is '^]'.

HP JetDirect

Please type "?" for HELP, or "/" for current settings
/
===JetDirect Telnet Configuration===
Firmware Rev. : G.08.04
MAC Address : 00:30:c1:0c:0f:3f
Config By : DHCP

IP Address : 192.168.1.5
Subnet Mask : 255.255.255.0
Default Gateway : 192.168.1.1
Syslog Server : Not Specified
Idle Timeout : 90 Seconds
Set Cmnty Name : Not Specified
Host Name : HP2100

DHCP Config : Enabled
Passwd : Disabled
IPX/SPX : Enabled
DLC/LLC : Enabled
Ethertalk : Enabled
Banner page : Enabled
quit
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
David Brodbeck
2007-09-26 23:30:08 UTC
Permalink
Post by J
Trying to get a network printer HP LaserJet (tm) 2100tn to print from
debian that I got for free.
Any how, KDE's add printer cannot scan and find the printer???
So, I can't add it. Should I try to add it as
and IPP printer or other type?
For HP printers, I usually use the "socket" method of printing.
(Sometimes called "raw socket" or "Jetdirect.") Pretty much every
network-capable HP printer supports it and it's easy to configure.

If you can't get KDE's add printer to work, try pointing a web
browser at http://localhost:631/ and setting it up using CUPS's web
interface. The URL you'll want to give CUPS is "socket://192.168.1.5".
Post by J
$ telnet 192.168.1.5:631
telnet: could not resolve 192.168.1.5:631/telnet: Name or service not
known
The telnet program expects a space, not a colon, between the address
and port number.

e.g.,
$ telnet 192.168.1.5 631
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
J
2007-09-28 05:50:07 UTC
Permalink
Thanks for the pointers. It helped. The http://localhost:631 gets
farther.
Had to log in as printer admin which I have been using root login-id.
I went through the pages and it allowed me to choose vendor Hewlett-
Packard.
Then choose HP2100 (there wasn't a HP2100TN network printer) and
then choose drive and I chose HP2100+gutenprint.
The webpage reads "connection to the server at localhost:631."

Looks like cups died when adding a printer:
$ ps auxww | egrep cups
user 9994 0.0 0.0 1760 552 ttyp0 S+ 22:12 0:00 grep -E
cups

Printer is still there:
$ nmap 192.168.1.5
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-09-27
21:53 PDT
Interesting ports on 192.168.1.5:
Not shown: 1641 filtered ports, 35 closed ports
PORT STATE SERVICE
21/tcp open ftp
23/tcp open telnet
80/tcp open http
515/tcp open printer

Nmap finished: 1 IP address (1 host up) scanned in 32.968 seconds

Printer still working for windows but not for linux.
When it installed on windows it gave it a name beginning with IPP.
Anybody got any other things I can debug or try to type?
Thanks
J
Post by David Brodbeck
Post by J
Trying to get a network printer HP LaserJet (tm) 2100tn to print from
debian that I got for free.
Any how, KDE's add printer cannot scan and find the printer???
So, I can't add it. Should I try to add it as
and IPP printer or other type?
For HP printers, I usually use the "socket" method of printing.
(Sometimes called "raw socket" or "Jetdirect.") Pretty much every
network-capable HP printer supports it and it's easy to configure.
If you can't get KDE's add printer to work, try pointing a web
browser at http://localhost:631/ and setting it up using CUPS's web
interface. The URL you'll want to give CUPS is "socket://192.168.1.5".
Post by J
$ telnet 192.168.1.5:631
telnet: could not resolve 192.168.1.5:631/telnet: Name or service not
known
The telnet program expects a space, not a colon, between the address
and port number.
e.g.,
$ telnet 192.168.1.5 631
--
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Russell L. Harris
2007-09-28 07:30:10 UTC
Permalink
I haven't followed the thread, but I am using an hp2100tn with Debian
testing and CUPS. The device URI is specified as:

ipp://192.168.0.66/ipp/

The printer has a Postscript module, so the make is specified as "raw"
and the model as "Raw Queue (en)".

The HPJetDirect interface of the printer requires a DHCP server. For
this, I use my firewall machine, which is running SmoothWall Express
2.0. But I prefer to use static ip addresses within the LAN, so I
specified the MAC address of the HPJetDirect interface to SmoothWall
and reserved the address 192.168.0.66 for the printer.

RLH
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
J
2007-09-30 02:30:13 UTC
Permalink
SO I set it up as:
ipp://192.168.1.5/ipp/
other printer (it said no IPP port 631 at host ipp://192.168.1.5/ipp/
so I had to use other printer rather than ipp printer in the
add printer wizard).
and chose raw no driver.
It makes me wonder if there is a networking issue,
but I can telnet to the printer and bring up the printers
java control webpage.

So printing a test page just sits there
and never prints:
$ lpq -a
Rank Owner Job File(s) Total Size
active userjf 324 http://kerneltrap.org/Linux/Abu 672768 bytes

Still can print from windows, but not from debian. weird.
any other ideas, suggestions?
Post by Russell L. Harris
I haven't followed the thread, but I am using an hp2100tn with Debian
ipp://192.168.0.66/ipp/
The printer has a Postscript module, so the make is specified as "raw"
and the model as "Raw Queue (en)".
The HPJetDirect interface of the printer requires a DHCP server. For
this, I use my firewall machine, which is running SmoothWall Express
2.0. But I prefer to use static ip addresses within the LAN, so I
specified the MAC address of the HPJetDirect interface to SmoothWall
and reserved the address 192.168.0.66 for the printer.
RLH
--
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
J
2007-09-29 23:30:13 UTC
Permalink
Thanks for the pointers. It helped. The http://localhost:631 gets
farther.
Had to log in as printer admin which I have been using root login-id.
I went through the pages and it allowed me to choose vendor Hewlett-
Packard.
Then choose HP2100 (there wasn't a HP2100TN network printer) and
then choose drive and I chose HP2100+gutenprint.
The webpage reads "connection to the server at localhost:631."

Looks like cups died when adding a printer:
$ ps auxww | egrep cups
user 9994 0.0 0.0 1760 552 ttyp0 S+ 22:12 0:00 grep -E
cups

Printer is still there:
$ nmap 192.168.1.5
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-09-27
21:53 PDT
Interesting ports on 192.168.1.5:
Not shown: 1641 filtered ports, 35 closed ports
PORT STATE SERVICE
21/tcp open ftp
23/tcp open telnet
80/tcp open http
515/tcp open printer

Nmap finished: 1 IP address (1 host up) scanned in 32.968 seconds

Printer still working for windows but not for linux.
When it installed on windows it gave it a name beginning with IPP.
Anybody got any other things I can debug or try to type?
Thanks
J
Post by David Brodbeck
Post by J
Trying to get a network printer HP LaserJet (tm) 2100tn to print from
debian that I got for free.
Any how, KDE's add printer cannot scan and find the printer???
So, I can't add it. Should I try to add it as
and IPP printer or other type?
For HP printers, I usually use the "socket" method of printing.
(Sometimes called "raw socket" or "Jetdirect.") Pretty much every
network-capable HP printer supports it and it's easy to configure.
If you can't get KDE's add printer to work, try pointing a web
browser at http://localhost:631/ and setting it up using CUPS's web
interface. The URL you'll want to give CUPS is "socket://192.168.1.5".
Post by J
$ telnet 192.168.1.5:631
telnet: could not resolve 192.168.1.5:631/telnet: Name or service not
known
The telnet program expects a space, not a colon, between the address
and port number.
e.g.,
$ telnet 192.168.1.5 631
--
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
J
2007-09-30 03:50:10 UTC
Permalink
Thanks for the pointers. It helped. The http://localhost:631 gets
farther.
Had to log in as printer admin which I have been using root login-id.
I went through the pages and it allowed me to choose vendor Hewlett-
Packard.
Then choose HP2100 (there wasn't a HP2100TN network printer) and
then choose drive and I chose HP2100+gutenprint.
The webpage reads "connection to the server at localhost:631."

Looks like cups died when adding a printer:
$ ps auxww | egrep cups
user 9994 0.0 0.0 1760 552 ttyp0 S+ 22:12 0:00 grep -E
cups

Printer is still there:
$ nmap 192.168.1.5
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-09-27
21:53 PDT
Interesting ports on 192.168.1.5:
Not shown: 1641 filtered ports, 35 closed ports
PORT STATE SERVICE
21/tcp open ftp
23/tcp open telnet
80/tcp open http
515/tcp open printer

Nmap finished: 1 IP address (1 host up) scanned in 32.968 seconds

Printer still working for windows but not for linux.
When it installed on windows it gave it a name beginning with IPP.
Anybody got any other things I can debug or try to type?
Thanks
J
Post by David Brodbeck
Post by J
Trying to get a network printer HP LaserJet (tm) 2100tn to print from
debian that I got for free.
Any how, KDE's add printer cannot scan and find the printer???
So, I can't add it. Should I try to add it as
and IPP printer or other type?
For HP printers, I usually use the "socket" method of printing.
(Sometimes called "raw socket" or "Jetdirect.") Pretty much every
network-capable HP printer supports it and it's easy to configure.
If you can't get KDE's add printer to work, try pointing a web
browser at http://localhost:631/ and setting it up using CUPS's web
interface. The URL you'll want to give CUPS is "socket://192.168.1.5".
Post by J
$ telnet 192.168.1.5:631
telnet: could not resolve 192.168.1.5:631/telnet: Name or service not
known
The telnet program expects a space, not a colon, between the address
and port number.
e.g.,
$ telnet 192.168.1.5 631
--
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
..
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
J
2007-09-30 05:40:09 UTC
Permalink
Thanks for the pointers. It helped. The http://localhost:631 gets
farther.
Had to log in as printer admin which I have been using root login-id.
I went through the pages and it allowed me to choose vendor Hewlett-
Packard.
Then choose HP2100 (there wasn't a HP2100TN network printer) and
then choose drive and I chose HP2100+gutenprint.
The webpage reads "connection to the server at localhost:631."

Looks like cups died when adding a printer:
$ ps auxww | egrep cups
user 9994 0.0 0.0 1760 552 ttyp0 S+ 22:12 0:00 grep -E
cups

Printer is still there:
$ nmap 192.168.1.5
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-09-27
21:53 PDT
Interesting ports on 192.168.1.5:
Not shown: 1641 filtered ports, 35 closed ports
PORT STATE SERVICE
21/tcp open ftp
23/tcp open telnet
80/tcp open http
515/tcp open printer

Nmap finished: 1 IP address (1 host up) scanned in 32.968 seconds

Printer still working for windows but not for linux.
When it installed on windows it gave it a name beginning with IPP.
Anybody got any other things I can debug or try to type?
Thanks
J
Post by David Brodbeck
Post by J
Trying to get a network printer HP LaserJet (tm) 2100tn to print from
debian that I got for free.
Any how, KDE's add printer cannot scan and find the printer???
So, I can't add it. Should I try to add it as
and IPP printer or other type?
For HP printers, I usually use the "socket" method of printing.
(Sometimes called "raw socket" or "Jetdirect.") Pretty much every
network-capable HP printer supports it and it's easy to configure.
If you can't get KDE's add printer to work, try pointing a web
browser at http://localhost:631/ and setting it up using CUPS's web
interface. The URL you'll want to give CUPS is "socket://192.168.1.5".
Post by J
$ telnet 192.168.1.5:631
telnet: could not resolve 192.168.1.5:631/telnet: Name or service not
known
The telnet program expects a space, not a colon, between the address
and port number.
e.g.,
$ telnet 192.168.1.5 631
--
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
...
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
..
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Loading...