Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printer Help Question 1

Status
Not open for further replies.

call

Technical User
Oct 31, 2000
127
US
I know that when a printer goes down
the queue goes down and you have to restart the queue.
This is for a standalone system aix.

Question: Can you change something in the print queue
to keep the printer up and make so it dont go down.
Or do i need a script to run and check the printer every 5 min.

If i need a script is thier an easy script to write
Im not good with script yet.
 
Increasing the timeout will help.....If you need to check the printers, a cron job
that wakes up every 1/2 and brings the ques that normally go down back up
would probably work.?
------------------------------------
Timeout of Printers, what to do?

If the queue is defined as a remote printer with standard processing (backend
is rembak), adding -T60 to the backend line in /etc/qonfig may help. If the
queue is remote with local filtering, then -T60 can be put into the rembak flags
section of /usr/lib/lpd/pio/etc/piorlfb. If the queue is defined using the HP
Jetdirect software (piojetd backend), then -T60 doesn't apply.

lp0:
host = hostname
s_statfilter = /usr/lpd/aixshort
l_statfilter = /usr/lpd/aixlong
rq = queuename
device = dlp0

dlp0:
backend = /usr/lpd/rembak -T99

cp /usr/lib/lpd/pio/etc/piorlfb
/usr/lib/lpd/pio/etc/piorlfb.orig
# vi /usr/lib/lpd/pio/etc/piorlfb
typeset piorlfb_rbflags="-T99" #rembak flags
-----------------------------------------------
Or when you define a new printer, there is a spot for timeout
increase it

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

[Entry Fields]
Description Hewlett-Packard LaserJ>

* Name of existing PRINT QUEUE [] +
* Printer LANGUAGE +

Printer connection characteristics
* PORT number [p] +
Type of PARALLEL INTERFACE [standard] +
Printer TIME OUT period (seconds) [600] +#
STATE to be configured at boot time available

It wont permanently make it stay up...but it will make it a longer time that it will stay up without going down. If it runs out of paper...you have only that time to go and fix it...or if it jams.....otherwise it will indeed go down.....
 
Thank you for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top