[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | DIGITAL UNIX (FORMERLY KNOWN AS DEC OSF/1) |
Notice: | Welcome to the Digital UNIX Conference |
Moderator: | SMURF::DENHAM |
|
Created: | Thu Mar 16 1995 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 10068 |
Total number of notes: | 35879 |
9362.0. "How configure printcap for printer using 7bits ..." by AUBER::MEYER (Christian MEYER: MCS Country Support) Wed Apr 02 1997 11:23
Hi everybody ,
How is it possible to configure the /etc/printcap file in order to set
the direct port to 7 bits , even parity , 1 stop bit ( for example ) ?
I know that I must modify the Flag Bits fc/fs and Mode Bits xc/xs ,
but how ?
I can't see how to set evenp , oddp , cs7 , cs8 , etc ...
The Flag Bits are :
OPOST 0000001 Enable output processing
ONLCR 0000002 Map NL to CR-NL
OLCUC 0000004 Map lower case to upper case
OCRNL 0000010 Map CR to NL
ONOCR 0000020 No CR output at column 0
ONLRET 0000040 NL performs CR function
OFILL 0000100 Use fill characters for delay
OFDEL 0000200 Fill is DEL ,else NUL
NLDLY 0001400 Newline delay
NL0 0000000
NL1 0000400
NL2 0001000
NL3 0001400
TABDLY 0006000 Horizontal tab delay
TAB0 0000000
TAB1 0002000
TAB2 0004000
TAB4 0006000
CRDLY 0030000 Carriage Return delay
CR0 0000000
CR1 0010000
CR2 0020000
CR3 0030000
FFDLY 0040000 Form feed delay
FF0 0000000
FF1 0040000
BSDDLY 0100000 Backspace delay
BS0 0000000
BS1 0100000
OXTABS 1000000 Expands tabs to spaces
The Mode bits are :
ECHOKE 0000001 Echos KILL by erasing the line
ECHOE 0000002 Visually erase characters
ECHOK 0000004 Echoes NL after KILL
ECHO 0000010 Enable echoing
ECHONL 0000020 Echoes NL even if ECHO is off
ECHOPRT 0000040 Echo erased chars between and /
ECHOCTL 0000100 Echo control characters as ^(char)
ISIG 0000200 Enable special chars INTR,QUIT and SUSP
ICANON 0000400 Use canonical input
ALTWERASE 0001000 Use alternate word erase algorithm
IEXTEN 0002000 Enable FLUSHO and LNEXT
XCASE 0040000 Canonical upper/lower presentation
Under ULTRIX , we could set fs with :
EVENP 0000200 Even parity allowed on input
ODDP 0000100 Odd parity allowed on input
Thanks for help .
Christian .
T.R | Title | User | Personal Name | Date | Lines
|
---|