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:
- updated /etc/hosts
- created DNS record
- updated /etc/resolv.conf file, as printer is in different domain.
- installed driver (/usr/lib/lp/model/hpnpl/net_lj9050 dedicated for this printer)
- 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
etc
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