z/OS Infoprint Server Operation and Administration
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Using the LPD compatibility filter

z/OS Infoprint Server Operation and Administration
SA38-0693-00

Using the LPD compatibility filter

For each type of data format that Print Interface supports, you can specify the name of an associated filter. A filter is a program that can modify data before Print Interface writes the data to an output data set on the JES spool. When you specify the name of a filter for a supported data format in a printer definition, Print Interface automatically calls that filter before writing data to the JES spool.

Infoprint Server provides the LPD compatibility filter, lpd_compat.so, which formats text data and line data in a similar way to the z/OS TCP/IP LPD and creates line data. This filter is suitable for use with the line data and text data formats for printers that accept line data.

The LPD compatibility filter, lpd_compat.so, provides support for some LPD command codes and parameters that the Print Interface LPD does not otherwise support. (LPD command codes and parameters are specified in the LPD control file sent by the LPR with each document to be printed.) This filter also lets you specify the -f, -l, and -w filter options, which correspond to the FILTER, LINECOUNT, and WIDTH parameters of the TCP/IP LPR command.

Table 14 summarizes the LPD command codes supported by the Print Interface LPD, with and without the LPD compatibility filter. For a full description of the LPD command codes, see RFC 1179.

Table 14. LPD command codes supported by Print Interface LPD
Command codeDescriptionSupported by Print Interface LPD
Without compatibility filterWith compatibility filter
CClassNoNo
HHost nameNoNo
IIndent printingNoNo
JJob name. This value becomes the title in the Infoprint Server title-text job attribute if the T command code does not exist.2YesYes
Job name parameters 1NoNo
LPrint banner pageNoNo
MMail when printed. This value activates notification.YesYes
NName of source file. This value becomes the filename displayed by the lpq or lpstat command. The compatibility filter also uses this name as the title if the T command code does not exist and the p command code is specified.YesYes
POwner. Print Interface allocates data sets on the JES spool with this value in the job name field. 2YesYes
TTitle. This value becomes the title in the Infoprint Server title-text attribute.YesYes
WWidth of outputNoYes
X Infoprint Server job attributes. If attributes are prefixed with AOP, the LPD validates that the job attributes are supported by the printer.YesNo
1, 2, 3, 4File names for troff fonts.NoNo
cPlot CIF fileYes 3Yes 3
dPrint DVI fileYes 3Yes 3
fPrint formatted fileYes 34Yes
gPlot fileYes 3Yes 3
lPrint file leaving control charactersYes 4Yes
nPrint ditroff output fileYes 3Yes 3
oPrint PostScript output fileYes3Yes 3
pPrint a header and page numbers on each pageNoYes
rPrint with FORTRAN (ANSI) carriage controlsYesYes
tPrint troff output fileYes 3Yes 3
vPrint raster fileYes 3Yes 3
  1. The z/OS TCP/IP LPR command lets you specify these parameters as part of the job name: DEST, FOR, FORM, IDENTIFIER, LINECOUNT, OTHER, PASS, and PRIORITY. Print Interface does not support these parameters.
  2. JES does not permit the Print Interface LPD to allocate data sets on the JES spool with the owner's name. Therefore, to make the owner name visible on the JES spool, the Print Interface LPD makes the owner name the job name except when IP PrintWay™ submits the data set to the Print Interface LPD. In this case, the Print Interface LPD keeps the original job name so that the operator can use the original job name to find the data set on the spool.
  3. Print Interface automatically detects the data format of the input data stream and ignores the format specification in the command code. For example, Print Interface detects a PostScript data stream even if the o command code is not specified.
  4. Without the compatibility filter, command codes f and l are equivalent. Print Interface leaves all ASCII control characters in the output data stream.
  5. If an unsupported command code is specified in the LPD control file, the command code is ignored and no error is reported.
  6. The Print Interface LPD, with or without the compatibility filter, does not support these functions that you can specify with the z/OS TCP/IP LPR command:
    • Carriage control specification
    • Top margin
  7. The Print Interface LPD, with or without the compatibility filter, can print multiple copies of the same file when the LPD control file contains multiple lowercase command codes followed by the name of the same print file. (The Print Interface LPD always prints at least one copy of a file, even if no lowercase command code is specified in the LPD control file.)

Guidelines:

  • If you want the functions that filter lpd_compat.so provides, specify it for the Text and Line data data formats in PSF printer definitions, General printer definitions, and in IP PrintWay printer definitions when you select the VTAM® protocol.
  • Do not specify filter lpd_compat.so in IP PrintWay printer definitions except when you select the VTAM protocol.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014