Operating System - HP-UX
1833771 Members
2428 Online
110063 Solutions
New Discussion

Printing problems HP-UX 11.23

 
Ian Foster_2
Frequent Advisor

Printing problems HP-UX 11.23

I'm having an issue setting up a printer (any printer!)on our new server. The OS is HP-UX 11.23. I'm setting up the printer using one of our tried and tested (though slightly peculiar) interface scripts which handles formatting using a PCL Level 4 model then simply ftp's the spool file to the axis network print server that the printer is connected to.

The command I use to create the printer is

#lpadmin -pprintername -v/dev/null -i/etc/lp/interface/interface_script

Then lpsched, accept, enable etc.

The printer config all looks fine (identicle to the other HP-UX 11.11 systems). Permissions all ok. Printer and scheduler status ok. The system appears to spool print requests quite merrily but nothing gets sent to the axis box. Nothing left in the spool area either !

I have tried the ftp part of the process outside the interface script in case it was a firewall issue between sites but this works ok.

I have tried spooling something with lp in debug mode but there is no error output logged.

The only other difference I have noticed is that the HP Distributed Print Service does not appear to be installed on this new system. Has anything changed at 11.23 ? Any suggestions gratefully recieved.
4 REPLIES 4
RAC_1
Honored Contributor

Re: Printing problems HP-UX 11.23

Start scheduler with -v option.
lpsched -v
Check log files.

lp -d"print_queue" -odebug /tmp/debuglog

Check log file.
There is no substitute to HARDWORK
Ian Foster_2
Frequent Advisor

Re: Printing problems HP-UX 11.23

Started scheduler in verbose mode as suggested. Sent print in debug mode. No printer output. No error file written. Output from scheduler log :

# more /var/adm/lp/log
***** LP LOG: Sep 15 13:58 *****
lpsched: FIFO: Sep 15 14:00 r 969 1126789243 0 34 0 0 0 S900002 root ned
lprodcon -
nedlprodcon-34 root nedlprodcon Sep 15 14:00
lpsched: FIFO: Sep 15 14:00 m nedlprodcon c
lpsched: CHILD: Sep 15 14:00 nedlprodcon 34 1000
Bill Hassell
Honored Contributor

Re: Printing problems HP-UX 11.23

The lp -odebug is meaningless except for HP JetDirect network cards using hppi printer scripts. You'll need to turn on shell execution tracing in your scripts. lp provides virtually nothing in the lp logs other than start/stop information.


Bill Hassell, sysadmin
Rick Garland
Honored Contributor

Re: Printing problems HP-UX 11.23

My experience with AXIS print servers is to add the printers to HPUX as remote printers that point to the AXIS server as the remote system and to a printer on the AXIS print server.

There is a command line for adding a remote printer but this command is relatively long. Use SAM to add the remote printer.