HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- can't get printer connected locally to work
Operating System - HP-UX
1833883
Members
1835
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 08:41 AM
01-31-2006 08:41 AM
Hey,
I'm very new to Unix, expecially HP-UX . I have a HP laserjuet 6P connected to a 9000 series Hp machine running HP-UX 11. I go throught SAM Areas: Printers and Plotters>LP Spooler> Add Local Printer/Plotter. It detects the onboard parallel port (to which the printer is connected). I add the printer with modelscript dumb. I receieve a message to connect the printer and put it online, if i have not already done so. The printer is online and connected so I continue. It restarts the LP spooler and and adds the printer to the print queue.
when I sent a job to this printer, lpstat indicates that its there watiing but it never prints. Information on th system is below. If anyone has any ideas I would really appreciate it. Please Help Me!
#uname -a
HP-UX ec1-btb B.11.11 U 9000/778 2012525712 unlimited-user license
---------------
ioscan -fn -dCentIf
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
ext_bus 2 8/16/0 CentIf CLAIMED INTERFACE Built-in Parallel Interfa
ce
---------------------
#lsdev -dCentIf
Character Block Driver Class
216 -1 CentIf ext_bus
-----------------------
contents of /var/adm/lp/log file
***** LP LOG: Jan 31 15:28 *****
FIFO: Jan 31 15:28 n
FIFO: Jan 31 15:32 n
FIFO: Jan 31 15:32 r radio_pr 32 root ec1-btl 0
radio_pr-32 root radio_pr Jan 31 15:32
FIFO: Jan 31 15:32 d radio_pr
FIFO: Jan 31 15:32 printer "radio_pr" now disabled
I'm very new to Unix, expecially HP-UX . I have a HP laserjuet 6P connected to a 9000 series Hp machine running HP-UX 11. I go throught SAM Areas: Printers and Plotters>LP Spooler> Add Local Printer/Plotter. It detects the onboard parallel port (to which the printer is connected). I add the printer with modelscript dumb. I receieve a message to connect the printer and put it online, if i have not already done so. The printer is online and connected so I continue. It restarts the LP spooler and and adds the printer to the print queue.
when I sent a job to this printer, lpstat indicates that its there watiing but it never prints. Information on th system is below. If anyone has any ideas I would really appreciate it. Please Help Me!
#uname -a
HP-UX ec1-btb B.11.11 U 9000/778 2012525712 unlimited-user license
---------------
ioscan -fn -dCentIf
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
ext_bus 2 8/16/0 CentIf CLAIMED INTERFACE Built-in Parallel Interfa
ce
---------------------
#lsdev -dCentIf
Character Block Driver Class
216 -1 CentIf ext_bus
-----------------------
contents of /var/adm/lp/log file
***** LP LOG: Jan 31 15:28 *****
FIFO: Jan 31 15:28 n
FIFO: Jan 31 15:32 n
FIFO: Jan 31 15:32 r radio_pr 32 root ec1-btl 0
radio_pr-32 root radio_pr Jan 31 15:32
FIFO: Jan 31 15:32 d radio_pr
FIFO: Jan 31 15:32 printer "radio_pr" now disabled
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 09:04 AM
01-31-2006 09:04 AM
Solution
The very first thing to do is determine if there is a problem with lp or with your port/cable/printer. Unless you get the hardware talking directly then the rest is hopeless.
First let's try to find your parallel device node.
Based upon your ioscan output, I don't see the device node. You may have omitted the line.
It appears to be bus 2 so try, lssf c2*
and see if a Centronics device is listed.
If you don't see a device then let's make one.
mknod /dev/c2t0d0_lp c 216 0x020002
chmod 666 /dev/c2t0d0_lp
Man 7 cent to see what these minor device numbers mean.
Now load paper in the printer and make sure it is cabled and is on-line.
ls /tmp > /dev/c2t0d0_lp
If you have output then we are talking and can now try to find out what is wrong with the lp spooler but if not then you have some hardware work to do.
First let's try to find your parallel device node.
Based upon your ioscan output, I don't see the device node. You may have omitted the line.
It appears to be bus 2 so try, lssf c2*
and see if a Centronics device is listed.
If you don't see a device then let's make one.
mknod /dev/c2t0d0_lp c 216 0x020002
chmod 666 /dev/c2t0d0_lp
Man 7 cent to see what these minor device numbers mean.
Now load paper in the printer and make sure it is cabled and is on-line.
ls /tmp > /dev/c2t0d0_lp
If you have output then we are talking and can now try to find out what is wrong with the lp spooler but if not then you have some hardware work to do.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 09:26 AM
01-31-2006 09:26 AM
Re: can't get printer connected locally to work
Rather than use the spooler to troubleshoot the printer, just send a short text file directly to the printer's devicefile:
ux2dos /etc/TIMEZONE > /dev/printer_file
Find the printer file with:
ioscan -knfH 8/16/0
Now if nothing prints, you are experiencing one of the many Centronics incompatibilites. If you check the man page for cent, you'll see there are several handshake methods that are controlled by the minor number. Create a separate device file for each method and try the ux2dos command on each one. When one works, delete the current printer and re-add it with the working device file. Note that the ux2dosw command is needed to provide the proper ASCII CR/LF codes when cat'ing to the device file.
Now it is certainly possible that this printer doesn't work with any of the device files. So verify that it works on a PC parallel port, and if so, you have found another incompatible parallel port for the 9000. Most sysadmins connect printers to a JetDirect external box to avoid parallel port problems and to be able to share the printer.
Bill Hassell, sysadmin
ux2dos /etc/TIMEZONE > /dev/printer_file
Find the printer file with:
ioscan -knfH 8/16/0
Now if nothing prints, you are experiencing one of the many Centronics incompatibilites. If you check the man page for cent, you'll see there are several handshake methods that are controlled by the minor number. Create a separate device file for each method and try the ux2dos command on each one. When one works, delete the current printer and re-add it with the working device file. Note that the ux2dosw command is needed to provide the proper ASCII CR/LF codes when cat'ing to the device file.
Now it is certainly possible that this printer doesn't work with any of the device files. So verify that it works on a PC parallel port, and if so, you have found another incompatible parallel port for the 9000. Most sysadmins connect printers to a JetDirect external box to avoid parallel port problems and to be able to share the printer.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2006 06:33 AM
02-07-2006 06:33 AM
Re: can't get printer connected locally to work
Thanks to both of you guys for your feedback. I tried all that was suggested and it seems it was the port that was/is incompatible or non functional. So I ultimately connected the darn thing to a jetadmin printer and got it working just fine that way.
Thanks again
Giovanni
Thanks again
Giovanni
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP