Home > AIX, UNIX > Change default remote printer timeout in AIX

Change default remote printer timeout in AIX

Recently we have been having problems with a certain older Printronix printer going down every few days. The AIX print queue would show it down. This would happen after the users replaced the paper.  Even then it would only be when it took a long time to replace paper.

In AIX the default rembak period is 90 seconds. Rembak is the command that actually sends jobs to a remote server (Printer). This can include a print job, status request, cancel job request, or request to kill the queuing. When this particular printer is opened to replace paper it will not answer any requests. Its quite easy to see how the users went past 90 seconds and caused the queue to go down.

One option I found to change the default time out was to add –T60 (60 minutes) behind the piorlfb entry for the printer in /etc/qconfig. Someone had in fact done this in the past and it did not fix the issue. The reason it did not fix the issue is because this flag is ignored if local filtering is done.

The actual fix was to edit the following read-only file:

/usr/lib/lpd/pio/etc/piorlfb

Change to following line:

 typeset         piorlfb_rbflags=””              # rembak flags

to

typeset         piorlfb_rbflags=”-T1200″                # rembak flags

Change -T1200 to whatever you wish. This is in seconds. So in this case I chose 20 minutes.  If there is no –T setting it will default to 90 seconds.

Advertisements
Categories: AIX, UNIX
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: