PAD Services

Remote PAD Printer Support (x29printd)

Step 3. Configure the printer in the spooler system with the following commands:

lpshut

lpadmin -v/dev/x29/x29printer1 -pfoo -mruggedwriter lpsched

accept foo enable foo

lpshut(1M) is necessary since lpadmin will not execute when lpsched is running. You must restart LP scheduler after lpadmin. lpsched(1M) schedules requests taken by lp(1) for line printing. After a printer is configured in the spooler, you must enable it to accept printing requests.

Verifying the Configuration

After you complete the steps above, check the configuration as shown below:

lpstat -tshould display the following (assuming that only this printer is configured in the spooler system and you did these steps on January 23, 11:00 am):

scheduler is running

no system default destination

device for foo: /dev/x29/x29printer1

foo accepting requests since Jan 23 11:00 printer foo is idle. enabled since Jan 23 11:00 fence priority : 0

ps -efshould show that both lpsched and x29printd are running.

/var/x25/log/x29printd/x29printd.log should have been created and should contain information on the configuration of

/dev/x29/x29printer1.

/var/x25/log/x29printd/x29printd.log should not contain any configuration error messages.

Chapter 6

145