Unix/Linux Go Back    

Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Solaris 5.9 - HP Laserjet 9050dn


Thread Tools Search this Thread Display Modes
Old Unix and Linux 12-01-2016   -   Original Discussion by cyjan
cyjan's Unix or Linux Image
cyjan cyjan is offline
Registered User
Join Date: Dec 2011
Last Activity: 3 January 2017, 3:50 PM EST
Location: Poland
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Solaris 5.9 - HP Laserjet 9050dn

Hi there,

I hope someone could shed a light on my problem. OS is running in local zone (global zone - 5.10). We use many printers from Ricoh etc. Most of them are running fine if configured as below (for Ricoh printers I use their installer):

lpadmin -p _printer_ -v /dev/null -A write -i /usr/lib/lp/model/standard -I simple -u allow:all

Now I am trying set up HP Laserjet 9050dn, it's really annoying. I am AIX/Linux sysadmin so maybe I miss something obvious?

I did:
1. updated /etc/hosts
2. created DNS record
​3. updated /etc/resolv.conf file, as printer is in different domain.
4. installed driver (/usr/lib/lp/model/hpnpl/net_lj9050 dedicated for this printer)
5. I tried with:

lpadmin -p _printer_ -v /dev/null -A write -i /usr/lib/lp/model/hpnpl/net_lj9050 -o dest=x.x.x.x -I simple -u allow:all

lpadmin -p _printer_ -v /dev/null -A write -i /usr/lib/lp/model/hpnpl/net_lj9050 -I simple -u allow:all​

lpadmin -p _printer_ -v /dev/null -A write -i /usr/lib/lp/model/standard -I simple -u allow:all


Unfortunately the hp installer does not work.

# /opt/hpnpl/hppi 

         *****]         ****      
         **** ]          ****     JetDirect Printer Installer for UNIX
         **** ]]]]] ]]]]] ****    Version E.10.34
         **** ]   ] ]   ] ****
         **** ]   ] ]]]]] ****    M A I N     M E N U
         *****      ]     ****
         ******     ]    ****     User: (root)    OS: (SunOS 5.9)
              I N V E N T

         1) Spooler Administration (super-user only)

         2) JetDirect Configuration (super-user only)
            - TCP/IP configurable parameters

         3) Diagnostics:
            - diagnose printing problems

                   ?) Help         q) Quit

Installer complains about:

mknod: Not owner
chmod: WARNING: can't access /dev/_printer_

Addprinter error: can't find /etc/lp/interfaces/_printer_

Port 9100 is open, I can telnet. You can even do a test print from above GUI...

I tried to debug hppi however other files are binaries and even with

truss -f -t stat,open​

I can't see how the request is completed.
I added /dev/_printer_ in global zone, however I can't export it till local zone reboot.

Forgot to add that on terminal I can see that each request is finished without errors, the same is in requests log. But when I sniff packets, I can see no traffic between OS and printer. I listen properly as can see packets during telnet or during test printing from hp installer.

​Need thoughts thoughts thoughts... ​ Cheers
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Printing to HP Laserjet M1212nf MFP pmm Solaris 0 10-01-2010 03:24 AM
AIX Laserjet 4+ specify tray to print to zuessh AIX 0 03-05-2008 05:42 PM
HP Laserjet 2200dtn Drivers AztexSun AIX 1 08-29-2004 02:57 PM
Can I use a general printer(HP LaserJet 1200) on solaris? cloudsmell UNIX for Dummies Questions & Answers 4 10-31-2002 08:40 AM
Installing HP LaserJet 4550N sajjan2 UNIX for Dummies Questions & Answers 2 03-27-2002 10:01 AM

All times are GMT -4. The time now is 02:07 AM.