Example:
#printcap entry for OKIPAE 14i PAGEPRINTER on Network
OKIPAGE 14i:\ :lp=\ :rm=OKIPAGE 14i:\ :rp=OKIPAGE
If there is # at the beginning of the line, this line becomes a comment.
If you enter a carriage return without a space character after a back slash (\), this entry continues to the next line. Please note that if you enter a space character at the end of the printcap line, by mistake, a serious error will occur.
In this example, a tab is set for the left margin for the continuing lines. A continuing line of any entry must begin with a space character, normally with a tab character. If an entry continues to the second line or more, you must place a colon at the end of each line and the beginning of next line.
English
Meaning of each entry:
lp: device name to open for output. Specify the name of the file to open for output. For a printer which resides in the remote host, there must be an empty entry.
rm: machine name for remote printer. Specify the name of the remote machine connected. This name must be an already known host name of the machine on the network.
rp: remote printer name argument. Indicates that the printer name on the remote machine is OKI- PAGE 14i.
lf: error logging filename. Specify the file which records the spooler errors. You can create it at an arbitrary place, but the permission to write must be already set.
sd: spool directory. Specify the spooling direc- tory. Make sure that the directory has the correct permission.
Chapter 3 - Network Setup | 31 |