System Administration Guide: Advanced Administration

Examples—Adjusting the Printer Port Characteristics

The following example shows how to set the port characteristics for the printer luna. The parenb option enables parity checking/generation, parodd sets odd parity generation, and cs7 sets the character size to 7 bits.


# lpadmin -p luna -o "stty='parenb parodd cs7'"

The following example shows how to set the terminal baud rate to 19200 for the printer venus.


# lpadmin -p venus -o "stty=19200"