1830622 Members
2226 Online
110015 Solutions
New Discussion

Re: Printer Problem !!!

 
Chapaya
Frequent Advisor

Printer Problem !!!

Hello ,

I have a printer in my network which located miles from me .

I cant print to this printer .
I see the printer queue in :
/var/spool/lp/request/XXX , but the prints doesn't goes out ... :( .

Ideas ...

Eran .
3 REPLIES 3
Andreas Voss
Honored Contributor

Re: Printer Problem !!!

Hi,

check with lpstat printer status.
If it is disabled, enable with

enable

check if scheduler??is running

ps -fulp

should be listing the lpsched process.
If not, stop and restart scheduler with

lpshut
lpsched

Regards
Zigor Buruaga
Esteemed Contributor

Re: Printer Problem !!!

Have you checked the connectivity with your printer ( ping, telnet ... )?
If that is OK, check with "lpstat -t", as suggested before, to see the status of your printer.
Check also the definition of your printer in SAM.

Regards,
Zigor
Bill Hassell
Honored Contributor

Re: Printer Problem !!!

There are two very different network printers: those using HP's proprietary JetDirect interface or external adapter box, and everything else which looks like a remote printer attached to a remote Unix system. Start with ping to the IP address. If that works, then try

telnet IP_address 515

You should see: connected to IP_address
If not, go no further because the IP_address is not running RFC 1170 remote printer server. This works for both HP printers using newer JetDirect interfaces as well as non-HP interfaces.

If the printer uses an HP JetDirect interface, you need to run addqueue as in:

/opt/hpnpl/bin/addqueue -h IP_address -q local-queuename

This will add the printer and it shoule be ready to print assuming the spooler is running (hint: lpstat -r)

If the printer uses a non=HP interface, use SAM to add the printer as a "remote" printer, not a "network" printer. Before you do, you must determine from the remote card/interface the localname of the printer. It might be PRN or TEXT or RAW or LPR, etc. The card's documentation will tell you this. SAM will then guide you through the steps. Be sure to check the BSD printer option.


Bill Hassell, sysadmin