In the following example, the command sets 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'" |
In the following example, the command sets the terminal baud rate to 19200 for the printer venus.
# lpadmin -p venus -o "stty=19200" |