Printer File

Data Source: PRTFUSR

To open the Printer File screen, click a Printer Name on the Configure Printer File screen.

The Printer File screen allows you to modify printer file parameters.

The following fields appear on the Printer File screen:

Note:  Each printer file parameter has the default value listed and corresponding override field for users to modify (override) the parameter.

The following fields appear on the Printer File screen:

Field Description
Printer

The name of the printer device. For non-spooled output, this field is used to identify the printer device used to produce the printed output.

  • *SYSVAL: The system uses the QKBDTYPE system value.
  • *Job: Uses the printer device specified in the job description.

Note:  For Spooled output the file is placed on the output queue determined by the Spooled Output Queue parameter.

Printer Device Type

The type of data stream created for the printer file. The following is a description of the valid device types:

  • *SCS: An SNA character stream (SCS) is created. This device type must be selected when using SCS or work station printers. If *SCS is selected and the spooled printer file is directed to an IPDS* printer, the system will convert the SCS printer file to emulate an IPDS printer file.
  • *IPDS: An intelligent printer data stream* (IPDS*) is created. This device type can be used with an IPDS printer. If *IPDS is selected and the spooled printer file is directed to a non-IPDS printer, the system will convert the printer file to an SCS printer file.
  • *LINE: Line data is created. This device type can be used with IPDS printers or InfoPrint printers. *LINE spooled files require PSF/400 to print on an IPDS attached printer.
  • *AFPDSLINE: Mixed data (line data and AFPDS data) is created. This device type can be used with IPDS printers or InfoPrint printers. *AFPDSLINE spooled files require PSF/400 to print on an IPDS attached printer.
  • *USERASCII: An ASCII data stream is placed on a spooled output queue. The user is responsible for placing the entire hexadecimal data stream in the buffer because the iSeries 400 does not change or validate the values that are passed
  • *AFPDS: An advanced function print data stream (AFPDS) is created. Spooled files require PSF/400 to print on an IPDS attached printer or Host Print Transform to print on an ASCII attached printer.
Page Size - Length - Lines Per Page

The page length that is used by this printer file. Valid values range from 1 - 255. The value specified must not exceed the actual length of the forms used.

Note:  The Page Size - Length - Lines Per Page parameter will not appear on the following reports AP0012, AP6000F, AP6000D, AP6000N, AP6000O, ARI112, ARI112B, ARI112L, ARI112P, DELRCPT, EQINV, GENINV, LCINV, PARTINV, PICPAK, POPRINT, RENTCONT, RENTINV, RENTINVO, RETNCONF, SOINV, WOINV, WOQUOTE, WORKORD, WOR011N, WOR0951.

Page Size - Width - Position Per Line

The page width used by this printer file. The value specified must not exceed the actual width of the forms used.

Note:  The Page Size - Width - Position Per Line parameter will not appear on the following reports AP0012, AP6000F, AP6000D, AP6000N, AP6000O, ARI112, ARI112B, ARI112L, ARI112P, DELRCPT, EQINV, GENINV, LCINV, PARTINV, PICPAK, POPRINT, RENTCONT, RENTINV, RENTINVO, RETNCONF, SOINV, WOINV, WOQUOTE, WORKORD, WOR011N, WOR0951.

Characters Per Inch

The printer character density, in characters per inch (CPI). The following values may be used:

  • 5: The tape format is QIC525, which is used for 1/4 inch cartridge tapes that hold 525 megabytes of data.
  • 10: Character density is 10 characters per inch.
  • 12: Character density is 12 characters per inch. 
  • 13.3: Character density is 13.3 characters per inch. Used only for double-byte character set printers.
  • 15: Character density is 15 characters per inch.
  • 16.7: Character density is 16.7 characters per inch.
  • 18: Character density is 18 characters per inch. Used only on double-byte character set printers.
  • 20: The tape format is QIC120, which is used for 1/4 inch cartridge tapes that hold 120 megabytes of data.

Note:  The Character Per Inch parameter will not appear on the following reports AP0012, AP6000F, AP6000D, AP6000N, AP6000O, ARI112, ARI112B, ARI112L, ARI112P, DELRCPT, EQINV, GENINV, LCINV, PARTINV, PICPAK, POPRINT, RENTCONT, RENTINV, RENTINVO, RETNCONF, SOINV, WOINV, WOQUOTE, WORKORD, WOR011N, WOR0951.

Lines Per Inch

Specifies the line spacing setting on the printer (in lines per inch) used by this device file. The following values may be used:

  • 3: The line spacing on the printer is 3 lines per inch. This value is valid only for double-byte character set (DBCS) printers.

  • 4: The line spacing on the printer is 4 lines per inch.

  • 6: The line spacing on the printer is 6 lines per inch. This is the default value for this parameter on the CRTPRTF command.

  • 7.5: The line spacing on the printer is 7.5 lines per inch. This value is valid only for double-byte character set (DBCS) printers.

  • 8: The line spacing on the printer is 8 lines per inch.

    Note:  When printing double-byte character set (DBCS) data for a file specified with LPI(8), use double spacing. Otherwise, the DBCS data does not print correctly. Alphanumeric data, however, prints correctly in single spacing when LPI(8) is specified.

  • 9: The line spacing on the printer is 9 lines per inch.

  • 12: The line spacing on the printer is 12 lines per inch.

Print Quality

The printer output print quality for the corresponding file. The following values can be used:

  • *STD: The output is printed with standard quality.
  • *DEVD: The output is printed using the printer's default print quality.
  • *DRAFT: The output is printed with draft print quality.
  • *NLQ: The output is printed with near letter quality (highest).
  • *FASTDRAFT: The output is printed with fast draft print quality (lowest).
Source Drawer

The source drawer used when single-cut sheets are fed into the printer. Valid values range from 1 - 255 or:

  • *E1: The envelopes are fed from the envelope drawer on the sheet-feed paper handler.
  • *FORMDF: The paper is fed from the source drawer specified in the form definition. If a form definition is not specified, then source drawer 1 is used.
Font - Identifier

The font identifier represents the printer font that is used with this printer device file. The system will automatically set the font identifier if one is not specified. The following values can be used:

  • *CPI: Uses the specified pitch, characters per inch.
  • *DEVD: The font identifier specified in the device description is used.
Font - Point Size

The point size used with this printer device file. The system will automatically set the point size if one is not specified. The point size ranges from 0.1 - 999.9 or:

  • *NONE: The point size is supplied by the system and is determined by the specified font identifier.
Coded Font

The name of the coded font. A coded font is an AFP resource that is composed of a character set and a code page.

  • *FNTCHRSET: The font specified on the FNTCHRSET parameter (specifies a downloaded font consisting of a character set and code page). For an outline font, a point size is required. For a raster font, the point size is ignored. This parameter can only be used for printer files with Printer Device Type (*AFPDS).
Coded Font Library

The name of the library that contains the coded font.

  • *LIBL: All libraries in the job's library list are searched until the first font match is found.
  • *CURLIB: The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
Coded Font Point Size

The coded font point size ranging from 0.1 - 999.9 or:

  • *NONE: The coded point size is supplied by the system and is determined by the specified coded font identifier.
Degree of Page Rotation

Allows the user to specify the degree of rotation for the text on the page with respect to the way the form is loaded into the printer. The following is a description of the available values:

  • *Auto: The output is automatically rotated to fit the printed data on the form. If the printed data does not fit on the form after automatic rotation has been applied, computer output reduction is performed automatically. This parameter is valid only for printers supporting rotation.
  • *DEVD: The system sends a device default rotation value to the printer. Page rotation is dependent on your printer's specifications.
  • *COR: Computer output reduction is done. Computer output reduction reduces printed output intended for a 13.2 inch by 11.0 inch form to be printed on an 11 inch by 8.5 inch form.
  • 0: No rotation is done. Printing starts at the edge that is loaded into the printer first, and runs parallel to that edge.
  • 90: The text is rotated 90 degrees clockwise from the 0 degree writing position.
  • 180: The text is rotated 180 degrees clockwise from the 0 degree writing position.
  • 270: The text is rotated 270 degrees clockwise from the 0 degree writing position.
Print on Both Sides

Whether the output is printed on one side or duplex (both sides) of the paper. The following is a description of the available values:

  • *NO: The document is printed on one side.
  • *YES: The document is printed on both sides. The top of the first side of the page is on the same end as the top on the second side of the page.
  • *TUMBLE: The document is printed on both sides. The top of the first side of the page is opposite the top on the second side of the page.
  • *FORMDF: The output is printed on both sides if the duplex value is specified in the form definition. If a form definition is not specified, then the output is printed on one side.
Front Side Overlay

The name of the front side overlay you wish to use. The file will contain both the overlay that is printed on the front side of the page and the offset, down and across values used when printing the overlay.

  • *NONE: No overlay is used.
Front Side Overlay Library

The name of the library that contains the overlay.

  • *LIBL: All libraries in the job's library list are searched until the first match is found.
  • *CURLIB: The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
Front Side Overlay Offset Down

The offset down value identifying the point of origin to begin printing the overlay. If the unit of measure is specified in centimeters, valid values range from 0 - 57.79. If the unit of measure is specified in inches, valid values range from 0 - 22.57.

  • 0: The format of this tape is FMT3570. The data format is written on the tape volume with a 3570 device.
Front Side Overlay Offset Across

The offset across value identifying the point of origin to begin printing the overlay. If the unit of measure specified is in centimeters, valid values range from 0 - 57.79. If The unit of measure specified is in inches, valid values range from 0 - 22.57.

  • 0: The format of this tape is FMT3570. The data format is written on the tape volume with a 3570 device.
Back Side Overlay

The name of the back side overlay you wish to use. The file will contain both the overlay that is printed on the back side of the page and the offset, down and across values used when printing the overlay.

  • *FRONTOVL: The values that are specified on the FRONTOVL parameter are used.
  • *NONE: No overlay is used.
Back Side Overlay Library

The name of the library containing the overlay.

  • *LIBL: All libraries in the job's library list are searched until the first match is found.
  • *CURLIB: The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
Back Side Overlay Offset Down

The offset across value identifying the point of origin to begin printing the overlay. If the unit of measure specified is in centimeters, valid values range from 0 - 57.79. If The unit of measure specified is in inches, valid values range from 0 - 22.57.

  • 0: The format of this tape is FMT3570. The data format is written on the tape volume with a 3570 device.
Back Side Overlay Offset Across

The offset across value identifying the point of origin to begin printing the overlay. If the unit of measure specified is in centimeters, valid values range from 0 - 57.79. If The unit of measure specified is in inches, valid values range from 0 - 22.57.

  • 0: The format of this tape is FMT3570. The data format is written on the tape volume with a 3570 device.
Spooled Output Queue

The name of the output queue storing the spool file before the file is printed.

  • *JOB: Uses the output queue specified in the job description.
  • *DEV: The output queue associated with the printer specified on the Printer (DEV) parameter is used. The output queue has the same name as the printer.
Spooled Output Queue Library

The name of the library containing the spooled output queue.

  • *LIBL: All libraries in the job's library list are searched until the first match is found.
  • *CURLIB: The current library for the job is used to locate the output queue. If no library is specified as the current library for the job, the QGPL library is used.
Copies The number of copies printed,values range from 1 - 255.
Hold Spooled File

Indicates whether the spooled file is held. A Held spooled file can be released by using the Release Spooled File (RLSSPLF) command.

  • *NO: The spooled printer file is not held by the output queue. The spooled output is available to a writer based on the SCHEDULE parameter value.
  • *YES: The spooled file is held until released by the Release Spool File (RLSSPLF) command.
Save Spooled File

Indicates whether the spooled file is saved (left on the output queue) after the output has been produced.

  • *NO: The spooled file data is not saved on the output queue after it has been produced.
  • *YES: The spooled file data is saved on the output queue until the file is deleted. After the file is produced, the number of copies (see Copies parameter) is set to 1, and its status is changed from WTR (writer) to SAV (save).

The following buttons allow you to complete your work on the Printer File screen:

Button Function
Save Saves any overrides applied to the corresponding print file.
Save & Next Allows you to save any edits/changes made to the selected print file and scroll through to the next print file in the list to apply any edits/changes.
Delete Deletes the selected print file.
Close Closes the Printer File screen without saving and returns to the Configure Printer File screen.