📄 globals.h
字号:
\n\ Filter name: Description: \n\ ------------ ------------ \n\ /usr/lib/lpdfilters/ln01pp LN01 Laser Printer filter \n\\n\This filter replaces 'pr' as specified by the lpr -p command. \n\See lpr(1) in the Ultrix Reference Pages. \n\"};char h_ps[] ={"\n\The 'ps' parameter specifies the mode in which the daemon runs. It \n\selects between non-postscript and specific postscript printers. Choices \n\are non_PS and LPS. \n\"};char h_pw[] ={"\n\The 'pw' parameter specifies the page width in characters. The \n\default page width is 132 characters, although a page width of \n\80 characters is more useful for letter quality printers, whose \n\standard paper size is 8 1/2\" x 11\". \n\"};char h_px[] ={"\n\The 'px' parameter specifies the page width in pixels. \n\"};char h_py[] ={"\n\The 'py' parameter specifies the page length in pixels. \n\"};char h_rf[] ={"\n\The 'rf' parameter specifies the filter for printing FORTRAN style \n\text files. \n\\n\Printer filter entries can either be an executable program \n\or a single line which is interpreted by the shell. \n\"};char h_rm[] ={"\n\The 'rm' parameter specifies the machine name for a remote printer. \n\This parameter should only appear in the printcap entries for remote \n\printers. \n\\n\In order for a remote machine to accept a printer request the name of \n\the machine making the request must appear in either the /etc/hosts.equiv\n\file or the /etc/hosts.lpd file on the remote system, ie., the system \n\that the printer resides on. \n\\n\A remote machine name in /etc/hosts.equiv allows root on the remote \n\machine to have root priviledges on the host. This is a little over \n\for just printing needs and is dangerous for security reasons. \n\\n\A remote machine name in the /etc/hosts.lpd file allows users on the \n\remote machine to use the printer on the host, however, root does not \n\have any priviledges. A '*' on the first line of /etc/hosts.lpd allows \n\all remote systems to use its printers. \n\"};char h_rp[] ={"\n\The 'rp' parameter specifies the remote printer name argument. \n\The name specified must be one of the recognized names for the \n\printyer on the remote machine. \n\\n\In order for a remote machine to accept a printer request the name of \n\the machine making the request must appear in either the /etc/hosts.equiv\n\file or the /etc/hosts.lpd file on the remote system, ie., the system \n\that the printer resides on. \n\\n\A remote machine name in /etc/hosts.equiv allows root on the remote \n\machine to have root priviledges on the host. This is a little over \n\for just printing needs and is dangerous for security reasons. \n\\n\A remote machine name in the /etc/hosts.lpd file allows users on the \n\remote machine to use the printer on the host, however, root does not \n\have any priviledges. A '*' on the first line of /etc/hosts.lpd allows \n\all remote systems to use its printers. \n\"};char h_rs[] ={"\n\The 'rs' parameter restricts the remote users to those with \n\local accounts. \n\"};char h_rw[] ={"\n\The boolean parameter 'rw' specifies that the printer is to be \n\opened for both reading and writing. Normally, the printer is \n\opened for writing only. \n\"};char h_sb[] ={"\n\The boolean 'sb' parameter specifies a short banner consisting \n\of one line only. \n\"};char h_sc[] ={"\n\The boolean 'sc' parameter suppresses multiple copies. This is \n\equivalent to setting the 'mc' parameter to 1. \n\"};char h_sd[] ={"\n\The 'sd' parameter specifies the spooling directory where files \n\are queued before they are printed. Each spooling directory \n\should be unique. All printcap entries must specify a spooling \n\directory, both local and remote. \n\\n\When the spooling directory is created, intermediate directories \n\will be created as neccessary. \n\"};char h_sf[] ={"\n\The boolean parameter 'sf' suppresses all printer induced form \n\feeds, except those which are actually in the file. The 'sf' \n\flag, in conjunction with 'sh', is useful when printing a letter \n\on a single sheet of stationery. \n\"};char h_sh[] ={"\n\The boolean parameter 'sh' suppresses printing of the normal \n\burst page header. This often saves paper, in addition to being \n\useful when printing a letter on a single sheet of stationary. \n\"};char h_st[] ={"\n\The 'st' parameter specifies the status file name. The default name \n\is 'status'. The status file is located in the spooling directory. \n\The current status of the printer is written in this file. \n\"};char h_tf[] ={"\n\The 'tf' parameter specifies a troff data filter. \n\"};char h_tr[] ={"\n\The 'tr' parameter specifies a trailing string to print when \n\the spooling queue empties. It is generally a series of form \n\feeds, or sometimes an escape sequence, to reset the printer \n\to a known state. \n\"};char h_ts[] ={"\n\The 'ts' parameter specifies a LAT terminal server node name. \n\This parameter must be specified in uppercase. \n\"};char h_uv[] ={"\n\The 'uv' parameter specifies the Ultrix version and is used by the daemon \n\to decide how to work out the connection type and whether to expand % \n\escapes. There are two version arguments: 3.0 and 4.0. If 3.0 is used \n\the daemon uses rm rm lp etc. to work out the connection in a backwardly \n\compatable way; if 4.0 is used, the connection type is taken from ct and \n\any % escapes are expanded. \n\"};char h_vf[] ={"\n\The 'vf' parameter specifies a raster image filter. \n\Filters currently available include: \n\\n\ Filter name: Description: \n\ ------------ ------------ \n\ /usr/lib/lpdfilters/ln01vf LN01 Laser Printer filter \n\\n\Note that the following raster image filters are specified using \n\the 'if' or 'of'parameter: \n\ /usr/lib/lpdfilters/la75of LA75 Dot Matrix Printer filter \n\ /usr/lib/lpdfilters/ln03of LN03S Laser Printer filter \n\ /usr/lib/lpdfilters/lcg01of LCG01 Color Printer filter \n\ /usr/lib/lpdfilters/lj250of LJ250 DEColorwriter filter \n\ /usr/lib/lpdfilters/lg02of LG02 Line Printer filter \n\ /usr/lib/lpdfilters/lg31of LG31 Line Printer filter \n\\n\Printer filter entries can either be an executable program \n\or a single line which is interpreted by the shell. \n\"};char h_xc[] ={"\n\The 'xc' parameter specifies the local mode bits to clear \n\when the terminal line is first opened. Refer to the \n\discussion of the local mode word in tty(4) of the Ultrix \n\Reference Pages. xc#0177777 clears all bits. See help \n\message for the 'xs' parameter. \n\"};char h_xf[] ={"\n\The 'xf' parameter specifies the pass-thru filter name. \n\This routine is used when output is already formatted for \n\printing and does not require special filtering. \n\\n\Printer filter entries can either be an executable program \n\or a single line which is interpreted by the shell. \n\"};char h_xs[] ={"\n\The 'xs' parameter specifies the local mode bits to set \n\when the terminal line is first opened. Refer to the \n\discussion of the local mode word in tty(4) of the \n\Ultrix Reference Pages. Normally the bits are first \n\cleared using the 'xc' parameter xc#0177777. A short \n\discussion on each of the local mode bits is presented below: \n\\n\LCRTBS 000001 Backspace on erase rather than echoing erase \n\LPRTERA 000002 Printing terminal erase mode \n\LCRTERA 000004 Erase character echoes as backspace-space-backspace\n\LTILDE 000010 Convert ~ to ` on output (for Hazeltine terminals) \n\LMDMBUF 000020 Start/Stop output when carrier drops (unimplemented)\n\LLITOUT 000040 Suppress output translations - 8 bit \n\LTOSTOP 000100 Send SIGTOC fro background output \n\LFLUSHO 000200 Output is being flushed \n\LNOHANG 000400 Do not send hangup when carrier drops \n\LETXACK 001000 Diablo style buffer hacking (unimplemented) \n\LCRTKIL 002000 BS-space-BS erase entire line on line kill \n\LCTLECH 010000 Echo input control chars as ^X, delete as ^? \n\LPENDIN 020000 Retype pending input at next read or input char \n\LDECCTQ 040000 Only ^Q restores output after ^S, like DEC systems \n\LNOFLSH 100000 Flush output on receipt of 'suspend character' \n\"};char h_Da[] ={"\n\The 'Da' parameter specifies the default DATA TYPE used by the daemon. \n\Choices are: ansi, ascii, postscript, regis, and tek. If a data type\n\other than postscript is specified, a translator is invoked by the daemon \n\to convert the files in the job to postscript. \n\This parameter is only valid with postscript printers. \n\"};char h_Dl[] ={"\n\The 'Dl' parameter specifies the DEVICE CONTROL MODULE library file. \n\This parameter is only valid with postscript printers. \n\"};char h_It[] ={"\n\The 'It' parameter specifies the default INPUT TRAY. Choices are bottom, \n\lcit, middle and top. \n\An error will occur if the specified INPUT TRAY is not available on the \n\printer. \n\This parameter is only valid with postscript printers. \n\"};char h_Lf[] ={"\n\The 'Lf' parameter specifies the LAYUP TO POSTSCRIPT translator program. \n\This parameter is only valid with postscript printers. \n\"};char h_Lu[] ={"\n\The 'Lu' parameter specifies the default LAYUP DEFINITION FILE. \n\This parameter is only valid with postscript printers. \n\"};char h_Ml[] ={"\n\The 'Ml' parameter specifies the default action to be taken with user \n\errors produced by the PrintServer. Choices are keep and ignore. \n\This parameter is only valid with postscript printers. \n\"};char h_Nu[] ={"\n\The 'Nu' parameter specifies the default NUMBER UP value (ie number of \n\pages per sheet). The value must be in the range [1-100]. \n\This parameter is only valid with postscript printers. \n\"};char h_Or[] ={"\n\The 'Or' parameter specifies the default ORIENTATION. Choices are \n\portrait and landscape. \n\This parameter is only valid with postscript printers. \n\"};char h_Ot[] ={"\n\The 'Ot' parameter specifies the default OUTPUT TRAY. Choices are face-up,\n\lcos, lower, side, top and upper. \n\An error will occur if the specified OUTPUT TRAY is not available on the \n\printer. \n\This parameter is only valid with postscript printers. \n\"};char h_Ps[] ={"\n\The 'Ps' parameter specifies the default PAGE SIZE. Choices are a, \n\letter, a3, a4, a5, b, ledger, b4, b5, executive and legal. \n\An error will occur if the specified PAGE SIZE is not available on the \n\printer. \n\This parameter is only valid with postscript printers. \n\"};char h_Sd[] ={"\n\The 'Sd' parameter specifies the default SHEET SIZE value. It differs \n\from the Ss parameter in that if the specified sheet size is not available\n\then no error will occur and the job will be printed on whatever sheet \n\size is available. This parameter is overriden by the Ss parameter. If Sd\n\is not specified, the translators assume a-sized paper so it \n\should always be used in countries where the standard paper size is other \n\than a. Choices are a, letter,a3, a4, a5, b, ledger, b4, b5, executive \n\and legal. \n\This parameter is only valid with postscript printers. \n\"};char h_Si[] ={"\n\The 'Si' parameter specifies the default SIDES option. Choices are 1, \n\one_sided_duplex, 2, two_sided_duplex, tumble, two_sided_tumble, \n\one_sided_duplex, one_sided_tumble, two_sided_simplex. \n\An error will occur if the specified SIDES option is not available on the \n\printer. \n\This parameter is only valid with postscript printers. \n\"};char h_Ss[] ={"\n\The 'Ss' parameter specifies the default SHEET SIZE. Choices are a, \n\letter,a3, a4, a5, b, ledger, b4, b5, executive and legal. \n\An error will occur if the specified SHEET SIZE is not available on the \n\printer. \n\This parameter is only valid with postscript printers. \n\"};char h_Ul[] ={"\n\The 'Ul' parameter specifies the default UPPER PAGE LIMIT value. The \n\must be in the range [1-10000] \n\This parameter is only valid with postscript printers. \n\"};char h_Xf[] ={"\n\The 'Xf' parameter specifies the translator dispatch program. \n\This parameter is only valid with postscript printers. \n\"};/************************************************* This structure holds the correct printcap* values for various printers, other values* -> default. The first member of the structure* holds the printer name.*************************************************/struct { char *name; struct nameval entry[80];} printer[] = { /* LA50 - Serial */ { "la50", "uv", "4.0", "br", "4800", "fc", "0177777", "fs", "023", "mx", "0", "of", "/usr/lib/lpdfilters/lpf", "pl", "66", "pw", "80", "xc", "0177777", "xs", "044000", "xf", "/usr/lib/lpdfilters/xf", 0, 0 }, /* LA75 - Serial */ { "la75", "uv", "4.0", "br", "4800", "fc", "0177777", "fs", "023", "if", "/usr/lib/lpdfilters/la75of", "mx", "0", "of", "/usr/lib/lpdfilters/la75of", "pl", "66", "pw", "80", "xc", "0177777", "xs", "044000", "xf", "/usr/lib/lpdfilters/xf", 0, 0 }, /* LA100 - Serial */ { "la100", "uv", "4.0", "br", "4800", "fc", "0177777", "fs", "023", "mx", "0", "of", "/usr/lib/lpdfilters/lpf", "pl", "66", "pw", "80", "xc", "0177777", "xs", "044000", "xf", "/usr/lib/lpdfilters/xf", 0, 0 }, /* LA120 - Serial */ { "la120", "uv", "4.0", "br", "4800", "fc", "0177777", "fs", "023", "mx", "0", "of", "/usr/lib/lpdfilters/lpf", "pl", "66", "pw", "80", "xc", "0177777", "xs", "044000", "xf", "/usr/lib/lpdfilters/xf", 0, 0 }, /* LA210 - Serial */ { "la210", "uv", "4.0", "br", "4800", "fc", "0177777", "fs", "023", "mx", "0", "of", "/usr/lib/lpdfilters/lqf", "pl", "66", "pw", "80", "xc", "0177777", "xs", "044000", "xf", "/usr/lib/lpdfilters/xf", 0, 0 }, /* LCG01 - Serial */ { "lcg01", "uv", "4.0", "br", "9600", "fc", "0177777", "fs", "03", "mx", "0", "mc", "20", "if", "/usr/lib/lpdfilters/lcg01of", "xf", "/usr/lib/lpdfilters/xf", "pl", "66", "pw", "80", "rw", "on", "sh", "on", "xc", "0177777", "xs", "044000", 0, 0 }, /* LG01 - Parallel */ { "lg01", "lp", "/dev/lp", "mx", "0", "pl", "66", "pw", "80", "of", "/usr/lib/lpdfilters/lpf", "xf", "/usr/lib/lpdfilters/xf", 0, 0 }, /* LG02 - Parallel or Serial*/ { "lg02", "uv", "4.0", "br", "9600", "fc", "0177777", "fs", "03",
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -