1834150 Members
2309 Online
110064 Solutions
New Discussion

Install Network Printer

 
SOLVED
Go to solution
Mauro_8
Frequent Advisor

Install Network Printer

Hi,

I had no success when trying to install a printer. I installed JetDirect in my HP-UX 10.20 but when I tried to print a document from CDE Text Editor. The job goes to Print Manager but the printer do not output the document.

Any ideas ?

Cheers,
Mauro
11 REPLIES 11
Bryan D. Quinn
Respected Contributor

Re: Install Network Printer

Hey Mauro,

Can you ping the printer's IP address? If so, is the printer online?

-Bryan
Francesco Campalastri
Frequent Advisor
Solution

Re: Install Network Printer

Check list:
1) ping to printer IP address
2) verify your printer has a Jet Direct Print Server
3) verify your scheduler is up and running
# lpstat -y
if not
# lpsched
4) try to print without CDE
# cat /etc/services | lp -dprinter_name

Mauro_8
Frequent Advisor

Re: Install Network Printer

Hi,

I can ping the printer. I tried cat /etc/hosts | lp -dPaintJet and received "request id is PaintJet-4353 (standard input)" but the document did not appears in the printer. It is so strange...

Cheers,
Mauro

Ross Zubritski
Trusted Contributor

Re: Install Network Printer

Hi Mauro.

Is the lpsched process running?

Regards,

RZ
Mauro_8
Frequent Advisor

Re: Install Network Printer

Hi,

The printer was disable, so I enable it to print and I can see the jobs (four). The status of teh printer is enable and busy, but again no document is printed by the printer and the jobs remain in the printer.

Any ideas,

Cheers,
Mauro
Ross Zubritski
Trusted Contributor

Re: Install Network Printer

Kill and restart lpsched

Regards,

RZ
Mauro_8
Frequent Advisor

Re: Install Network Printer

Hi,

Attached the printer status, with the jobs running.

Cheers,
Mauro
Ross Zubritski
Trusted Contributor

Re: Install Network Printer

Okay,

Try this.

1. Cancel all jobs

2. Stop the scheduler.

3. in /var/spool/lp, check for the existence of SCHEDLOCK or FIFO. If they exist, remove them.

4. Restart the scheduler.

Sounds like something is a bit "out of sync".

Regards,

RZ
Mauro_8
Frequent Advisor

Re: Install Network Printer

Hi,

There is no SCHEDLOCK or FIFO.

I stop and restart the lpsched with no success :-(

Cheers,
Mauro
Ross Zubritski
Trusted Contributor

Re: Install Network Printer

ps -ef | grep lp

If the scheduler is running, you should have a FIFO and SCHEDLOCK. If you don't, with lpsched running, look for lpsched patches.

Regards,

RZ
Mauro_8
Frequent Advisor

Re: Install Network Printer

Hi,

I??m sorry. I have the files /var/spool/lp/SCHEDLOCK and
/var/spool/lp/FIFO.

Cheers,
Mauro