81,;35,17,1*
&RQILJXUHWKH
/etc/printcap
ILOHRQHDFKKRVWFRPSXWHUWR
VSHFLI\WKHORFDOSULQWTXHXHWKH3ULQW)D[VHUYHUQDPHDOVR
FDOOHGUHPRWHPDFKLQHRUUPDQGWKH3ULQW)D[VHUYHUVHUYLFH
QDPHDOVRFDOOHGUHPRWHSULQWHUUHPRWHTXHXHRUUSDQGWKH
VSRROGLUHFWRU\
An example of a typical printcap file:
laser1|Printer on Floor 1:\
:lp=:\
:rm=BRN_310107:\
:rp=TEXT_P1:\
:sd=/usr/spool/lpd/laser1:
7KLVVWHSDSSOLHVWRWKHPDMRULW\RI81,;V\VWHPVLQFOXGLQJ
/LQX[6XQ26EXWQRW6RODULV[[6LOLFRQ*UDSKLFVOSUOSG
RSWLRQUHTXLUHG'(&8/75,;'(&26)DQG'LJLWDO
81,;6&281,;XVHUVVKRXOGIROORZWKHVHVWHSVEXWVKRXOG
DOVRUHIHUWRWKH
VHFWLRQ8VHUVRI
56$,;+38;6XQ6RODULV[[DQGRWKHUV\VWHPV
WKDWGRQRWXVHWKHSULQWFDSILOHVKRXOGVNLSWRVHFWLRQD
6&2XVHUVVKRXOGDOVRVNLSWRVHFWLRQD6&2XVHVWKH
SULQWFDSILOHEXWWKLVILOHLVDXWRPDWLFDOO\FRQILJXUHGYLDWKH
rlpconf
FRPPDQG
0DNHVXUHWKLVLQIRUPDWLRQLVDGGHGWRWKHHQGRIWKHSULQWFDS
ILOH$OVRPDNHVXUHWKDWWKHODVWFKDUDFWHULQWKHSULQWFDSILOH
LVDFRORQ³´
7KLVZLOOFUHDWHDTXHXHQDPHGODVHURQWKHKRVWFRPSXWHU
WKDWFRPPXQLFDWHVWRD%URWKHUSULQWVHUYHUZLWKDQRGH
QDPHUPRI%51BDQGDVHUYLFHQDPHUSRI
7(;7B3SULQWLQJWH[WILOHVWRD%URWKHUSULQWHUWKURXJKVSRRO
GLUHFWRU\
/usr/spool/lpd/laser1
,I\RXDUHSULQWLQJ
ELQDU\JUDSKLFVILOHV\RXZRXOGXVHWKHVHUYLFH%,1$5<B3
LQVWHDGRI7(;7B3