www.digi.com
  Advanced Search
Product Selector
     
  Technical Support
Drivers

Firmware Upgrades

FAQs

Product Documentation

Cabling

Support Tools

Legacy Products

About Digi Support

Knowledge Base

Online Support Request

FTP Site



Related Links
Inside Out Networks


 
Solutions Partners Support and Training Corporate Info Where to Buy Order Where to Buy Site Map Contact Us
Home > Support >kbase >
Configuring Ports for Printers In HP-UX
Configuring Ports for Printers In HP-UX Configuring Ports for Printers In HP-UX

Serial Printers

To prepare a port for connection to a printer, enter the following command:

ditty printer [baud rate and flow control options] ttya01

This command is recommended for any port that has a printer connected to it. The command may be placed in a startup script, so that it is automatically executed whenever the system is booted. Refer to the manual pages for ditty for more info.

Setting up a print queue for a printer directly connected to a port.

For example to setup a print queue called "ps15" on port 15 (ttya15) and using the lp print model "dumb" for the interface.

chmod 666 /dev/ttya15 (This will change permissions to read-write)
lpshut (This will stop the lp scheduler)

lpadmin -pps15 -mmodel -v/dev/ttya15

This will create a new print queue. Refer to manual pages for lpadmin.

lpsched (This will restart the lp scheduler)
enable ps15 (This enables print requests for "ps15")
accept ps15 (This allows "ps15" to accept print requests)

The SAM utility may also be used to configure printers.

 

solutions | partner programs | corporate info | support and training | where to buy
site map | contact us | press releases |
events | promotions | advertising

Copyright © 1996-2001 Digi International. All rights reserved.