Operating System - HP-UX
1832604 Members
2258 Online
110043 Solutions
New Discussion

Printer setup problems in HPUX 10.20

 
SOLVED
Go to solution
Gregory F. Wright
Occasional Advisor

Printer setup problems in HPUX 10.20

I have a Laserjet 4si printer on the network using a jetdirect card. My Windows NT computers can see and use it just fine but my HPUX 10.20 Visualize workstation cannot print to it. I have set it up using JetAdmin and SAM (which uses JetAdmin). The print queue is active, the printer is listed as active and idle but when I send a printout to it is says it is active and busy and nothing prints. When I test the printer setup from JetAdmin (BOOTP,TFTP, card setup) it prints the test page fine. The problem seems to be with my lpadmin/lp system. I have also tried setting the printer up as a shared printer from one of the Windows NT workstations but I get the same results. I have also tried connecting the printer directly to the printer port on the back of the computer and setting it up as a local printer, again with the same results.
I did find, at first, that some of my lp directories had the wrong owner and access rights, but I think I have corrected this.

I could use any help at this point!!!
4 REPLIES 4
MANOJ SRIVASTAVA
Honored Contributor
Solution

Re: Printer setup problems in HPUX 10.20

Hi Greg

Since the printer is working fine through NT stuff there seems to be no problem in the hardware , also since you can print a test page through the Jetadmin so there is no problems witht he connectivity . We can do like this :

1. lpshut
2. cd /usr/spool/lp
3. rm FIFO
4. rm SCHELOCK
5. lpsched

This should start the priting ( please delte any quese if present ).

Incase this doesnt work a goss point would be reconfigure the jetadmin and reinstall the printer as even installing Jetadmin/ Pinter should not take long.

One more to check the printer on the parallel port is to just cat some file on /dev/lp0 ans this should print as the paralell port igenerally a standard centornics port.

Manoj Srivastava
Shahul
Esteemed Contributor

Re: Printer setup problems in HPUX 10.20


Hi

Do The following

First U ping to ur printer and see whether communication between printer and HP box is Ok or not.
#ping AA.AA.AA.AA
#cancel -e
#cd /var/spool/lp
#rm SCHEDLOCK
#lpshut
#lpsched
#enable "myprinter"
#accept "myprinter"
#lpstat -t
#cancel -e
Check up whether ur sceduler is running or not, whether ur printer is enabled or not, whether any job is pending in queue or not..etc.

I hope Now every thing will be OK. Please print and see

#lp -d "myprinter" "myfile"

Best of luck

Shahul
Gregory F. Wright
Occasional Advisor

Re: Printer setup problems in HPUX 10.20

Thanks for the fast replies so far. The first two implied scheduler problems. I tried what was suggested but with no success. Lpstat tells me that everything is running OK and that my printer is printing, but no print comes out on the printer.
Anything else that I might try?
Tracey
Trusted Contributor

Re: Printer setup problems in HPUX 10.20

I just set up a new printer on my L2000 11.0 system, and it was accepting the print job, but not printing or sending it to the NT queue for printing.

When I rebooted the machine (for another reason) the printer is now printing AOK. I still don't know why it happened, but at least it is working right now.