QDAEMON, LP(8,C) AIX Commands Reference QDAEMON, LP(8,C) ------------------------------------------------------------------------------- qdaemon, lp PURPOSE Schedules jobs enqued by the print command. SYNTAX qdaemon ---| AIX/370 options: +-------- -fl=55-fw=80 ---------+ /usr/lpd/lp ---| +---------------------------+ |--- file ---| +-| -fl=value -tag=text |-+ ^ | ^| -fw=value -ascii || +--------+ || -skip=value -fcb=name || || -statusfile -dest=dest || || -class=class -spool=spool || || -form=form || || -route=vmid || || -translate=table_file || || -trtable=table_name || || -char=name1 || |+---------------------------+| +-----------------------------+ -trtable = table.name PS/2 options: +----- -fl=55-fw=80 -------+ +------------+ /usr/lpd/lp ---| +----------------------+ |---| one of |--- file ---| +-| -fl=value -elite |-+ | +--------+ | ^ | ^| -fw=value -plot || +-| -ibmpg |-+ +--------+ || -indent=value -plp || | -oki | || -skip=value -wp || +--------+ || -statusfile -wrap || |+----------------------+| +------------------------+ DESCRIPTION Processed November 8, 1990 QDAEMON, LP(8,C) 1 QDAEMON, LP(8,C) AIX Commands Reference QDAEMON, LP(8,C) The qdaemon is a background process (usually started by the rc command file) that schedules printing jobs enqueued by print. The lp command prints a file on its standard output in a form that is suitable for a line printer. The lp command is normally invoked by the qdaemon which directs the output from lp to the appropriate line printer or device. Flags may be passed to lp in the following ways: o Flags specified in the qconfig structure are passed each time that lp is invoked. o Flags that are not recognized by the print command are assumed to be for lp and are passed to lp with the requested job. FLAGS The following flags are common to AIX/370 and PS/2: -fl = value Sets the form's length equal to value. The default length is 66 lines. -fw = value Sets the form's width equal to value. The default width is 80 columns. Lines that are wider than value are truncated. If you set value to 0, no truncation is performed. -skip = value Does not print the first value blank lines in the file. -statusfile Updates the status information in the status file that is open on file descriptor 3. The status information is passed from qdaemon. The following flags are available with AIX/370 only: -class = class Sets the output class for the spool file to class. -form = form Specifies which form should be used to print this spool file. -route = vmid Routes the output for the virtual machine vmid instead of the printer. -tag = text Sets the tag to text for the output spool file. -translate = table_file Downloads an alternate translate table from the file table_file into the lp device before printing this file. The filename table_file is the Processed November 8, 1990 QDAEMON, LP(8,C) 2 QDAEMON, LP(8,C) AIX Commands Reference QDAEMON, LP(8,C) full pathname of a translate file such as those generated by the genxlt program. These are often kept in the directory /usr/lib/nls/nlout. Specifying a translate table will temporarily override the default translate table in the lp device driver and the table specified in the NLPRIN command variable. The device driver will revert to the default table at the completion of this print request. The -translate flag cannot be used with the -trtable flag. The format of the translate table is described in genxlt program in the AIX Operating System Commands Reference. -trtable = table_name Selects one of the device driver's built-in translation tables. The built-in tables are: Name Description TN TN print train (default). 3262 Table for 3262 printer. ALT3262 Table for 3262 with only uppercase characters. 3820 Table for 3820 printer. -char = name1 [name2 [name3 [name4]]] Specifies the name of the character arrangement table used when printing a file. The name must be from one to four characters with a maximum of four names given per command. -fcb = name Controls the vertical spacing of output on a page. The name must be from one to four characters. This parameter applies to output sent to 3800 printers only. -dest = dest Specifies the destination name for spool files created on this virtual printer. The dest is one to eight character alphanumeric name your VM installation assigns to printers at VM system generation. -spool = spool Specifies the spool information for this print file. This option allows you to provide several VM CP spool options at once. This option will not check for any syntax errors in the CP SPOOL information. -ascii Print in ASCII mode on a 3800 using PSF, the file is not translated to EBCDIC for printing. The following flags are available with PS/2 only: Processed November 8, 1990 QDAEMON, LP(8,C) 3 QDAEMON, LP(8,C) AIX Commands Reference QDAEMON, LP(8,C) -elite Prints the text at 12 characters per inch instead of 10 characters per inch. This flag changes the default form width to 96 characters. -ibmgp Specified an IBM Graphic Printer. -indent = value Indents the printed output the number of spaces specified with value. -oki Specifies and OKIdata Model 92 or 93. -plot Passes text directly to the printer without processing. This is useful when using the printer as a plotter. Normally, lines that contain backspaces and carriage return characters return characters are processed so that they print with minimum print head motion. The sequence Esc-9 maps to half-line feeds. -plp Sets and resets printer port parameters, if the printer is attached with a parallel interface. -wp Sets the printer, if possible, to the Word Processing mode. -wrap Wrap lines longer than the printer line length. The default truncates lines longer than the printer line length. RELATED INFORMATION See the following commands: "print" and "genxlt." Processed November 8, 1990 QDAEMON, LP(8,C) 4