ITEM: CP5529L

How to extend printer timeout period beyond value allowed by SMIT


 ENV:
        AIX 4.1.4
        Unknown model

 PROBLEM:
        How to extend the amount of time between the printer
        running out of paper and the queue going DOWN?

*ACTION TAKEN:
        Increase the printer timeout period (ptop) in SMIT.

        You can also resubmit a print job with the "pr" command to 
        specify a starting page number.

        You wanted to know how to increase the ptop beyond the limit
        of 1000 smit imposes.

        This is a sample of how to do so.  It would have to be done
        for your particular type of printer since each printer has its
        own ODM entry.

        The sample shown below is for a serial (rs232) printer.  The
        same can be done with printer/parallel/PRINTERTYPE...

cp /etc/objrepos/PdAt /etc/objrepos/PdAt.bak

odmget -q \\
 "uniquetype like printer/rs232/* and attribute = ptop" PdAt > /tmp/file

Edit /tmp/file
i.e.
for the 4039+ look for uniquetype = "printer/rs232/lex4039+"
The stanza will look like this:

PdAt:
        uniquetype = "printer/rs232/lex4039+"
        attribute = "ptop"
        deflt = "300"
        values = "1-2000,1"
        width = ""
        type = "R"
        generic = "DU"
        rep = "nr"
        nls_index = 17

Change the 2000 (seconds) to the max value you want, 30000 for instance.
save the file.

odmdelete -q "uniquetype like printer/rs232/* and attribute = ptop" -o PdAt

odmadd /tmp/file



Support Line: How to extend printer timeout period beyond value allowed by SMIT ITEM: CP5529L
Dated: October 1997 Category: N/A
This HTML file was generated 99/06/24~13:30:17
Comments or suggestions? Contact us