Command reference / spool

CHGPRTF

Change Printer File

Changes the attributes of one or more printer files. Re-create the file if its DDS definitions change.

Allowed environments: *ALL. Positional parameters: 2.

Parameters

FILE File

Sets the printer device file whose description is to be changed. A generic printer device file name may be specified.

Type
*QUAL
Required
Yes
Case
Uppercase
*ALL (file)
All printer device files in the specified library are changed.
name (file)
Enter the name of the printer device file.
generic-name
Enter the generic file name of the printer device whose description is being changed. A generic name is a character string that contains one or more characters followed by an asterisk (*).
*LIBL
Look in the thread's library list.
*CURLIB
Only the libraries in the current library for the job are searched. If no library is specified as the current library for the job, QGPL is used.
*USRLIBL
If a current library entry exists in the library list for the current thread, the current library and the libraries in the user portion of the library list are searched.
*ALL (2)
All libraries in the system, including QSYS, are searched.
*ALLUSR
All user libraries are searched.
name (2)
Enter a library name. Only the library named in this parameter is searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)

File File

Type
*GENERIC
Required
No
Length
10
Case
Uppercase

Suggested / special values: *ALL

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *ALL, *ALLUSR, *CURLIB, *USRLIBL

DEV Device

Enter the name of a printer device description. For nonspooled output, this identifies the printer device used to produce the printed output. For spooled output, the file is placed on the output queue determined by the OUTQ parameter. If OUTQ(*DEV) is used, the file is placed on the output queue with the same name as the device.

Type
*ELEM
Required
No
Case
Uppercase
*SAME
Keep the current device name (if any).
*JOB
The printer associated with the job is the printer device.
*SYSVAL
The printer device named in the system value QPRTDEV is used.
name
Enter the name of the printer device used with this printer file.
Elements in order

Printer Printer

Type
*NAME
Required
No
Default
*SAME
Length
10
Case
Uppercase

Suggested / special values: *SAME, *JOB, *SYSVAL

DEVTYPE Printer device type

Sets the type of data stream that is used for a printer device file.

Type
*CHAR
Required
No
Default
*SAME
Length
10
Case
Uppercase

Allowed values: *SAME, *SCS, *IPDS, *LINE, *AFPDSLINE, *USERASCII, *AFPDS

*SAME
Keep the current data stream type.
*SCS
An SNA character stream (SCS) is created. This parameter must be specified when using the 3287, 3812 SCS, 3816 SCS, 4214, 4234 SCS, 4245, 5219, 5224, 5225, 5256, 5262, 6252, or 6262 work station printers.
*IPDS
An intelligent printer data stream (IPDS) is created. This parameter can be specified when using an IPDS printer.
*USERASCII
An ASCII data stream is placed on a spooled output queue. You are responsible for placing the entire hexadecimal data stream in the buffer, since the IBM i does not change or validate the values that are passed.
*AFPDS
An Advanced Function Printing data stream (AFPDS) is created. Some systems refer to this data stream as MODCA-P.
*AFPDSLINE
Mixed data (line data and AFPDS data) is created. This value can be specified when using any printer supported by PSF. The printer must be configured with AFP(*YES).
*LINE
Line data is created. This value can be specified when using any printer supported by PSF. The printer must be configured with AFP(*YES).

PAGESIZE Page size

Sets the length and width of the printer forms used by this device file. The length is specified in lines per page or by the units specified for the UOM parameter. The width is specified in print positions (characters) per line or by the units specified for the Unit of measure (UOM) parameter.

Type
*ELEM
Required
No
Case
Uppercase
*SAME (length--lines per page)
Keep the current page length value.
0.001-255.0
Enter the page length that is used by this printer file. The value specified must not exceed the actual length of the forms used.
*SAME (width--positions per line)
Keep the current page width value.
0.001-378.0
Enter the page width that is used by this printer file. The value specified must not exceed the actual width of the forms used.
*SAME (measurement method)
Keep the current setting.
*ROWCOL
Page length and page width are measured as numbers of rows and columns.
*UOM
Page length and page width are measured in the units specified for the UOM parameter.
Elements in order

Length--lines per page Length--lines per page

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME

Width--positions per line Width--positions per line

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME

Measurement method Measurement method

Type
*CHAR
Required
No
Default
*SAME
Length
7
Case
Uppercase

Allowed values: *SAME, *ROWCOL, *UOM

LPI Lines per inch

Sets the line spacing setting on the printer (in lines per inch) used by this device file. The line spacing on the 5256 printer must be set manually.

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME

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.
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.
9
The line spacing on the printer is 9 lines per inch.
12
The line spacing on the printer is 12 lines per inch.
*SAME
Keep the current printer line spacing value.
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.

CPI Characters per inch

Sets the printer character density (in characters per inch) used by this device file.

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME

5
Character density is 5 characters per inch. This density is valid only for the 4214 printer.
10
Character density is 10 characters per inch. This is the shipped default value for this parameter on the CRTPRTF command.
12
Character density is 12 characters per inch. This density is valid only for the 4214 printer.
15
Character density is 15 characters per inch.
18
Character density is 18 characters per inch. This value is valid only for double-byte character set (DBCS) printers.
20
Character density is 20 characters per inch. This value is valid only for double-byte character set (DBCS) printers.
*SAME
Keep the current character density.
13.3
Character density is 13.3 characters per inch. This value is valid only for double-byte character set (DBCS) printers.
16.7
Character density is 16.7 characters per inch.

OVRFLW Overflow line number

Sets the line number on the page at which overflow to a new page begins. Generally, after the specified line is printed, the printer overflows to the next page before printing continues. Margins specified for the printer file are ignored when determining overflow.

Type
*INT4
Required
No
Default
*SAME
Range
1 to 255
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current overflow line number.
1-255
Enter the line number of the line that signals page overflow after the line is printed. The value specified must not exceed the page length specified for the file.

LVLCHK Record format level check

Controls whether the level identifiers of the record formats in this device file are checked when the file is opened by a program.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *YES, *NO

*SAME
Keep the current setting.
*YES
The level identifiers are checked. If they do not all match, an open exception occurs, and an error message is sent to the program requesting the open.
*NO
The level identifiers are not checked when the file is opened.

TEXT Text 'description'

Sets text that describes the printer device file.

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME, *BLANK

*SAME
Keep the current text (if any).
*BLANK
Leave the description blank.
character-value
Enter no more than 50 characters of text, enclosed in apostrophes.

FRONTMGN Front margin

Sets the offset, down and across, of the origin from the edge on the front side of the paper. The offsets are in the units of measure specified on the UOM parameter. This parameter can only be used for printer files with DEVTYPE(*AFPDS) specified.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *DEVD

*SAME
Keep the current setting.
*DEVD
The no-print border from the printer is used to place the text on the page when printing to a printer configured with AFP(*YES). A margin of 0 is used for IPDS printers without a no-print border, or which are configured with AFP(*NO).
0.0-57.79 (offset down)
Enter the offset of the origin from the top of the page. If *CM (centimeter) is specified for the Unit of measure (UOM) parameter, valid values range from 0 through 57.79.
0.0-57.79 (offset across)
Enter the offset of the origin from the left side of the page. If *CM (centimeter) is specified for the Unit of measure (UOM) parameter, valid values range from 0 through 57.79.
Elements in order

Offset down Offset down

Type
*CHAR
Required
No
Length
256
Case
Uppercase

Offset across Offset across

Type
*CHAR
Required
No
Length
256
Case
Uppercase

BACKMGN Back margin

Sets the offset, down and across, of the origin from the edge on the back side of the paper. The offsets are in the units of measure specified on the UOM parameter. This parameter can only be used for printer files with DEVTYPE(*AFPDS) specified.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *FRONTMGN, *DEVD, *SAME

*SAME
Keep the current back margin.
*FRONTMGN
The offsets specified for the Front margin (FRONTMGN) parameter are used.
*DEVD
The no-print border from the printer is used to place the text on the page when printing to a printer configured with AFP(*YES). A margin of 0 is used for IPDS printers without a no-print border, or which are configured with AFP(*NO).
0.0-57.79 (offset down)
Enter the offset of the origin from the top of the page. If *CM (centimeter) is specified for the Unit of measure (UOM) parameter, valid values range from 0 through 57.79.
0.0-57.79 (offset across)
Enter the offset of the origin from the left side of the page. If *CM (centimeter) is specified for the Unit of measure (UOM) parameter, valid values range from 0 through 57.79.
Elements in order

Offset down Offset down

Type
*CHAR
Required
No
Length
256
Case
Uppercase

Offset across Offset across

Type
*CHAR
Required
No
Length
256
Case
Uppercase

FOLD Fold records

Controls whether all positions in a record are printed when the record length exceeds the page width (specified by the PAGESIZE parameter). When folding is specified and a record exceeds the page width, any portion of the record that cannot be printed on the first line continues (is folded) on the next line or lines until the entire record has been printed.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *NO, *YES

*SAME
Keep the current setting.
*YES
Records whose length exceeds the page width are folded on the following lines.
*NO
Records are not folded. If a record is longer than the page width, only the first part of the record that fits on one line is printed.

RPLUNPRT Unprintable character action

Controls whether unprintable characters are replaced and which substitution character (if any) is used. Note: If DEVTYPE(*IPDS) and RPLUNPRT(*YES) are specified, a hyphen (-) is printed for the unprintable character.

Type
*ELEM
Required
No
Case
Uppercase

Suggested / special values: *NO

*NO
Unprintable characters are not replaced. When an unprintable character is detected, a message is sent to the program.
*SAME (replace character)
Keep the current setting.
*YES
Unprintable characters are replaced. The program is not notified when unprintable characters are detected.
*SAME (replacement character)
Keep the current setting.
*BLANK
A blank (X'40') is used as the substitution character when an unprintable character is detected.
X'40'-X'FE'
Enter the replacement character that is used each time an unprintable character is detected. This character is used only if *YES is also specified in this parameter. Any printable EBCDIC character can be specified.
Elements in order

Replace character Replace character

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *YES

Replacement character Replacement character

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME, *BLANK

ALIGN Align page

Controls whether the pages must be aligned in the printer before printing is started. If ALIGN(*YES) and SPOOL(*NO) are specified, and forms alignment is required, the system sends a message to the message queue specified in the printer device description and waits for a reply to the message. This parameter is ignored when cut sheets are used (spooled and direct output). Page alignment can be done only for text-only files.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *NO, *YES

*SAME
Keep the current setting.
*NO
No alignment of pages is required.
*YES
The pages are aligned before the output is printed.

CTLCHAR Control character

Controls whether the printer device file supports input with print control characters. Control characters that are not valid are ignored. Single spacing is assumed.

Type
*CHAR
Required
No
Default
*SAME
Length
8
Case
Uppercase

Allowed values: *SAME, *NONE, *FCFC, *MACHINE

*SAME
Keep the current setting.
*NONE
No print control characters are passed in the data that is printed.
*FCFC
The first character of every record is an American National Standards Institute (ANSI) forms control character. If *FCFC is specified, the record length must include one position for the first-character forms-control code.
*MACHINE
The first character of every record contains a machine code control character. If *MACHINE is specified, the record length must include one extra position for the first character forms control code.

CHLVAL Channel values

Sets a list of up to 12 channel numbers with their assigned line numbers. Note: If one or more channel-number plus line-number combinations are changed, all other combinations must be reentered.

Type
*ELEM
Required
No
Default
*SAME
List limit
12
Case
Uppercase

Suggested / special values: *SAME, *NORMAL

*SAME
Keep the current setting.
*NORMAL
The default values for skipping to channel identifiers are used.
1-12
Enter an American National Standard channel number to be associated with a corresponding 'skip to' line number. Valid values for this parameter range from 1 through 12, corresponding to channels 1 through 12.
1-255
Enter the line number assigned for the channel number in the same list. Valid line numbers range from 1 through 255.
Elements in order

Channel Channel

Type
*CHAR
Required
No
Length
256
Case
Uppercase

Line number for channel Line number for channel

Type
*CHAR
Required
No
Length
256
Case
Uppercase

Line Line

Type
*INT4
Required
No
Range
1 to 255
Case
Uppercase

FIDELITY Fidelity

Controls whether printing continues when print errors are found for printers configured with AFP(*YES).

Type
*CHAR
Required
No
Default
*SAME
Length
9
Case
Uppercase

Allowed values: *SAME, *CONTENT, *ABSOLUTE

*SAME
Keep the current setting.
*CONTENT
Printing continues when errors are found.
*ABSOLUTE
Printing stops when errors are found.

PRTQLTY Print quality

Sets the quality of the print produced. Note: See the description for this parameter on the Create Printer File (CRTPRTF) command for more details.

Type
*CHAR
Required
No
Default
*SAME
Length
10
Case
Uppercase

Allowed values: *SAME, *STD, *DEVD, *DRAFT, *NLQ, *FASTDRAFT

*SAME
Keep the current setting.
*STD
The output is printed with standard quality.
*DEVD
The print quality is set on the printer by the user. It is not set in the data stream.
*DRAFT
The output is printed with draft quality.
*NLQ
The output is printed with near letter quality.
*FASTDRAFT
The output is printed at a higher speed and with lower quality than it would be if you specified *DRAFT. This value is only supported by the 4230 printer.

FORMFEED Form feed

Sets the form feed attachment used by this printer device file.

Type
*CHAR
Required
No
Default
*SAME
Length
8
Case
Uppercase

Allowed values: *SAME, *DEVD, *AUTOCUT, *CONT, *CUT, *CONT2

*SAME
Keep the current setting.
*DEVD
The forms are fed into the printer in the manner specified in the device description.
*CONT
Continuous forms are used by the printer. The tractor feed attachment must be mounted on the device.
*CONT2
Continuous forms are used by the printer. The form is fed from the secondary tractor feed attachment. The secondary tractor feed attachment must be on the printer device.
*CUT
Single-cut sheets are used by the printer. Each sheet must be manually loaded.
*AUTOCUT
Single-cut sheets are semiautomatically fed into the printer. The sheet-feed attachment must be mounted on the device.

DRAWER Source drawer

Sets the source drawer used when single-cut sheets are semiautomatically fed into the printer.

Type
*INT4
Required
No
Default
*SAME
Range
1 to 255
Case
Uppercase

Suggested / special values: *SAME, *E1, *FORMDF

*SAME
Keep the current setting.
*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.
1-255
Enter the drawer from which the paper is fed.

OUTBIN Output bin

Sets the destination of the output on printers capable of multiple output bins.

Type
*INT4
Required
No
Default
*SAME
Range
1 to 65535
Case
Uppercase

Suggested / special values: *SAME, *DEVD

*SAME
Keep the current setting.
*DEVD
The destination of the output is the device default output bin.
1-65535
Enter the output bin for the destination of the output.

FONT Font

Sets the font identifier and point size used with this printer device file.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *CPI, *DEVD

*SAME
Keep the current font identifier.
*CPI
The identifier of the font with the specified pitch (characters per inch (CPI)) is used.
*DEVD
The font identifier and point size specified in the device description are used.
identifier
Enter the numeric font identifier to be used with this printer device file.
*NONE
Leave point size unspecified; the system selects one based on the type of printer used.
0.1-999.9
Enter a point size.
Elements in order

Identifier Identifier

Type
*CHAR
Required
No
Length
256
Case
Uppercase

Point size Point size

Type
*CHAR
Required
No
Default
*NONE
Length
256
Case
Uppercase

Suggested / special values: *NONE

CHRID Character identifier

Sets the character identifier (graphic character set and code page) for the file. This parameter allows printing of text that is in different character identifier (graphic character set and code page) coding.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *DEVD, *SYSVAL, *JOBCCSID, *CHRIDCTL

*SAME
Keep the current setting.
*DEVD
The character identifier value specified in the device description of the printer is used.
*SYSVAL
The character identifier value specified for the system on which the application is running is used.
*JOBCCSID
The character identifier for the printer file is taken from the coded character set identifier (CCSID) of the job.
*CHRIDCTL
The system checks the CHRIDCTL job definition attribute to determine whether to use *JOBCCSID or *DEVD on the CHRID command parameter for this file.
integer (graphic character set)
Enter the graphic character set value that matches the printer.
integer (code page)
Enter the code page value that matches the printer. Valid values range from 1 through 32767.
Elements in order

Graphic character set Graphic character set

Type
*INT4
Required
No
Case
Uppercase

Code page Code page

Type
*INT4
Required
No
Case
Uppercase

DECFMT Decimal format

Select which decimal format value is used when editing numeric fields with the EDTCDE (Edit Code) DDS keyword. The decimal format value determines the use of commas and periods for the decimal position and three digit positional separators on edited fields.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *FILE, *JOB

*SAME
The job is submitted in the held (HLD) state.
*FILE
Use the decimal format value stored with the file when the file was created.
*JOB
Use the decimal format value from the DECFMT job attribute when the file is opened.

FNTCHRSET Font character set

Sets a downloaded font consisting of a character set and code page. This parameter can only be used for printer files with DEVTYPE(*AFPDS) specified.

Type
*CHAR
Required
No
Length
256
Case
Uppercase
*SAME
Keep the current setting.
*FONT
The value specified for the Font identifier (FONT) parameter is used.
(character set)
Qualifier 1: Character set name Specify the name of the font character set.
name (character set)
Enter the name of the font character set.
(2)
Qualifier 2: Library *LIBL All libraries in the library list for the current thread are searched until the first match is found. *CURLIB The current library for the job is used to locate the font character set.
*LIBL (library)
Look in the thread's library list.
*CURLIB (library)
The current library for the job is used to locate the font character set. If no library is specified as the current library for the job, the QGPL library is used.
name (library)
Enter the name of the library where the font character set is located.
(code page)
Qualifier 1: Code page name Specify the name of the code page.
name (code page)
Enter the name of the code page.
(3)
Qualifier 2: Library *LIBL All libraries in the library list for the current thread are searched until the first match is found. *CURLIB The current library for the job is used to locate the code page name.
*CURLIB (2)
The current library for the job is used to locate the code page name. If no library is specified as the current library for the job, the QGPL library is used.
name (2)
Enter the name of the library where the code page object is located.
*NONE
The point size is supplied by the system and is determined by the specified font character set.
0.1-999.9
Enter the point size to be used.

CDEFNT Coded font

Sets the coded font that the system uses for single-byte character set (SBCS) printing. This parameter can only be used for printer files with DEVTYPE(*AFPDS) specified.

Type
*CHAR
Required
No
Length
256
Case
Uppercase
*SAME
Keep the current setting.
*FNTCHRSET
The font specified for the Font character set (FNTCHRSET) parameter is used.
(coded font)
Qualifier 1: Coded font name Specify the name of the coded font.
name (coded font)
Enter the name of the coded font.
(2)
Qualifier 2: Library *LIBL All libraries in the library list for the current thread are searched until the first match is found. *CURLIB The current library for the job is used to locate the coded font object.
*LIBL
Look in the thread's library list.
*CURLIB
The current library for the job is used to locate the coded font object. If no library is specified as the current library for the job, the QGPL library is used.
name (library)
Enter the name of the library where the coded font object is located.
*NONE
The point size is supplied by the system and is determined by the specified font character set.
0.1-999.9
Enter the point size to be used.

TBLREFCHR Table Reference Characters

Controls whether table reference characters are present in the line data.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *YES, *NO

*SAME
Keep the current setting.
*NO
No table reference character is present in line data.
*YES
Table reference characters are present in line data. If forms control characters are used with the data, the table reference character follows the forms control character but precedes the data bytes.

PAGDFN Page definition

Sets the page definition to be used to format line data.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *NONE

*SAME
Keep the current setting.
*NONE
Leave page definition unspecified. Because PSF for i5/OS requires a page definition when *LINE or *AFPSDLINE is specified, an inline page definition is built from the print file parameters and passed to PSF for i5/OS when *NONE is specified.
name (page definition)
Enter the name of the page definition that must exist in the library specified. Valid values range from 1 to 8 characters. Device type *AFPDSLINE, *LINE, or *USERASCII must be specified when using a page definition.
*LIBL
Look in the thread's library list.
*CURLIB
Look in the current library, falling back to QGPL.
name (library)
Enter the name of the library to be searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Page definition Page definition

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

FORMDF Form definition

Sets the form definition to use when printing the file. A form definition is a resource object that defines the characteristics of the form, including overlays, position of page data on the form, and number of copies of pages and modifications to pages. The form definition is located inline with the file being printed, or in a library.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *NONE, *DEVD

*SAME
Keep the current setting.
*NONE
Leave form definition is used. Because PSF for i5/OS requires a form definition, an inline form definition is built from the print file parameters and passed to PSF for i5/OS when *NONE unspecified.
*DEVD
The name of the form definition is specified in the printer device description.
name (form definition)
Enter the name of the form definition that must exist in the library specified. Valid values range from 1 to 8 characters.
*LIBL
Look in the thread's library list.
*CURLIB
Look in the current library, falling back to QGPL.
name (library)
Enter the name of the library to be searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Form definition Form definition

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

AFPCHARS AFP Characters

Sets one or more AFP characters (coded fonts) to be used with line data and a page definition.

Type
*CHAR
Required
No
Default
*SAME
Length
256
List limit
4
Case
Uppercase

Suggested / special values: *SAME, *NONE

*SAME
Keep the current setting.
*NONE
No AFP characters (coded fonts) specified.
character-value
Enter up to four 4-byte names of coded fonts to be specified with the line data and a page definition.

PAGRTT Degree of page rotation

Sets the degree of text rotation for the 3112, 3116, 3130, 3812, 3816, 4028, 3820, 3825, 3827, 3829, 3831, 3835, 3900, 3916, 3930 and 3935 printers. This parameter allows the user to specify the degree of rotation of the text on the page with respect to the way the form is loaded into the printer.

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME, *AUTO, *DEVD, *COR

0
No rotation is done. Printing starts at the edge loaded into the printer first, and is parallel to that edge.
90
Text is rotated 90 degrees clockwise from the 0-degree writing position.
180
Text is rotated 180 degrees clockwise from the 0-degree writing position.
270
Text is rotated 270 degrees clockwise from the 0-degree writing position.
*SAME
Keep the current setting.
*AUTO
Indicates that automatic rotation of output is done to fit the printed data on the form. If rotation does not accomplish this, computer output reduction is performed automatically (regardless of the print quality being used).
*DEVD
The operating system sends a device default rotation value to the printer. Page rotation is dependent on your printer's specifications. See your printer or printer emulation documentation to determine how page rotation is affected.
*COR
Computer output reduction is done. Computer output reduction allows output intended for a 13.2 inch wide by 11.0 inch long form to be printed on an 8.5 inch wide by 11.0 inch long form.

MULTIUP Pages per side

Specifies, for spooled output only, whether or not multiple pages of output are printed on 1 physical page. Note: Overlays are not reduced when more than one page is printed on a side.

Type
*INT4
Required
No
Default
*SAME
Range
1 to 4
Case
Uppercase

Suggested / special values: *SAME

1
One page of output is printed on each physical page.
2
Two pages of output are printed on each physical page.
3
Three pages of output are printed on 1 physical sheet of paper.
4
Four pages of output are printed on each physical page.
*SAME
Keep the current number of pages of output per physical page.

REDUCE Reduce output

Choose whether to reduce the output when doing multiple up printing.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *TEXT, *NONE

*SAME
Keep the current setting.
*TEXT
The text output is reduced when doing multiple up printing.
*NONE
The output is not reduced when doing multiple up printing.

PRTTXT Print text

Sets the text that is printed at the bottom of each page of printed output and on separator pages.

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME, *JOB, *BLANK

*SAME
Keep the current setting.
*JOB
The text is obtained from the job attribute.
*BLANK
Leave the description blank.
character-value
Enter no more than 30 characters of text, enclosed in apostrophes.

JUSTIFY Hardware justification

Sets the printing positions of the characters on a page so that the right-hand margin of printing is regular. Justification is done to the record length on the printer file opened. Note: The JUSTIFY parameter is supported only on the 3812 SCS, 3816 SCS, and 5219 SCS printers.

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME

0
No justification occurs. This is the default value for this parameter on the CRTPRTF command.
50
Spaces are added to the blanks in the text so that the right margin is more closely aligned, but not flush.
100
The text is expanded by spaces until the right margin is flush.
*SAME
Keep the current setting.

DUPLEX Print on both sides

Controls whether output is printed on one side or two sides of the paper.

Type
*CHAR
Required
No
Default
*SAME
Length
7
Case
Uppercase

Allowed values: *SAME, *NO, *YES, *TUMBLE, *FORMDF

*SAME
Keep the current setting.
*NO
The output is printed on one side of the paper.
*YES
The output is printed on both sides of the paper, with the top of each printed page at the same end of the sheet of paper. This is usually used for printed output that is bound at the side of the sheet.
*TUMBLE
The output is printed on both sides of the paper, with the top of one printed page at the opposite end from the top of the other printed page. This is usually used for printed output that is bound at the top of the sheet.
*FORMDF
The output is printed on both sides of the paper 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 of the paper.

DFRWRT Defer write

Controls whether output is held in the system buffer before being sent to the printer.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *YES, *NO

*SAME
Keep the current setting.
*YES
The system controls the amount of output that is held in the buffer before it is sent to the printer.
*NO
If *NO is specified for this parameter and *NO is specified for the Spool the data (SPOOL) parameter, output is not held in the buffer. Instead, output is sent immediately to the printer once the program has performed a write operation.

UOM Unit of measure

Sets the unit of measurement to be used.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *INCH, *CM

*SAME
Keep the current unit of measurement.
*INCH
The inch is used as the unit of measurement.
*CM
The centimeter is used as the unit of measurement.

FRONTOVL Front side overlay

Sets the object that contains both the overlay that is printed on the front side of the page and the offset, down and across, from the point of origin used when the overlay is printed.

Type
*CHAR
Required
No
Length
256
Case
Uppercase
*NONE
No overlay is used.
*SAME (overlay)
Keep the current setting.
(overlay)
Qualifier 1: Overlay name Specify the name of the overlay.
name (overlay)
Enter the name of the overlay.
(2)
Qualifier 2: Library *LIBL All libraries in the library list for the current thread are searched until the first match is found. *CURLIB The current library for the job is used to locate the overlay.
*LIBL
Look in the thread's library list.
*CURLIB
The current library for the job is used to locate the overlay. If no library is specified as the current library for the job, the QGPL library is used.
name (library)
Enter the name of the library where the overlay is located.
*SAME (offset down)
Keep the current offset down from the point of origin.
0.0-57.79 (offset down)
Enter the offset down from the point of origin at which to begin printing the overlay. If UOM(*CM) is specified, valid values range from 0 through 57.79, and if UOM(*INCH) is specified, valid values range from 0 through 22.75.
*SAME (offset across)
Keep the current offset across from the point of origin.
0.0-57.79 (offset across)
Enter the offset across from the point of origin at which to begin printing the overlay. If UOM(*CM) is specified, valid values range from 0 through 57.79, and if UOM(*INCH) is specified, valid values range from 0 through 22.75.

BACKOVL Back side overlay

Sets the object that contains both the overlay that is printed on the back side of the page and the offset, down and across, from the point of origin used when the overlay is printed.

Type
*CHAR
Required
No
Length
256
Case
Uppercase
*FRONTOVL
The values specified for the Front side overlay (FRONTOVL) parameter are used.
*NONE
No overlay is used.
*SAME (overlay)
Keep the current setting.
(overlay)
Qualifier 1: Overlay name Specify the name of the overlay.
name (overlay)
Enter the name of the overlay.
(2)
Qualifier 2: Library *LIBL All libraries in the library list for the current thread are searched until the first match is found. *CURLIB The current library for the job is used to locate the overlay.
*LIBL
Look in the thread's library list.
*CURLIB
The current library for the job is used to locate the overlay. If no library is specified as the current library for the job, the QGPL library is used.
name (library)
Enter the name of the library where the overlay is located.
*SAME (offset down)
Keep the current offset down from the point of origin.
0.0-57.79 (offset down)
Enter the offset down from the point of origin at which to begin printing the overlay. If UOM(*CM) is specified, valid values range from 0 through 57.79, and if UOM(*INCH) is specified, valid values range from 0 through 22.75.
*SAME (offset across)
Keep the current offset across from the point of origin.
0.0-57.79 (offset across)
Enter the offset across from the point of origin at which to begin printing the overlay. If UOM(*CM) is specified, valid values range from 0 through 57.79, and if UOM(*INCH) is specified, valid values range from 0 through 22.75.
*SAME (constant back)
Keep the current setting.
*NOCONSTANT
Leave constant back unspecified.
*CONSTANT
Constant back is specified.

CVTLINDTA Convert line data

Controls whether line data and a page definition should be converted to AFPDS before the data is spooled.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *NO, *YES, *SAME

*SAME
Keep the existing AFPDS conversion setting.
*NO
No AFPDS conversion is done.
*YES
Sets that AFPDS conversion is to be done on the line data and page definition before the data is spooled.

IPDSPASTHR IPDS pass through

Controls whether IPDS (intelligent printer data stream) pass-through is done for the spooled file. Note: Not all SCS or IPDS spooled files are eligible for IPDS pass-through. They may contain special functions that require transform to AFPDS for correct printing.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *DEVD, *NO, *YES, *SAME

*SAME
Keep the current setting.
*DEVD
The value specified for IPDSPASTHR in the PSF configuration object specified for a printer device description is used. If no PSF configuration object is specified for the device, a value of *NO is used.
*NO
No IPDS pass-through is done.
*YES
Sets that IPDS pass-through is to be done if the spooled file is eligible for IPDS pass-through.

USRRSCLIBL User resource library list

Sets the list of user resource libraries to be used for searching for AFP resources for a spooled file. If the AFP resource is not found in the user resource libraries, then the library list specified in the DEVRSCLIBL parameter of the PSF configuration object is searched.

Type
*NAME
Required
No
Default
*SAME
Length
10
List limit
4
Case
Uppercase

Suggested / special values: *DEVD, *NONE, *JOBLIBL, *CURLIB, *SAME

*SAME
Keep the current setting.
*DEVD
The value specified for USRRSCLIBL in the PSF configuration object specified for a printer device description is used. If no PSF configuration object is specified for the device, a value of *JOBLIBL is used.
*NONE
Leave user libraries unspecified.
*JOBLIBL
Sets that the library list of the job that created the spool file is used in searching for AFP resources. This library list is saved with the spool file when it is created.
*CURLIB
Sets that the current library of the job that created the spool file is used for searching for AFP resources. If no library is specified as the current library for the job, then library QGPL is used.
name
Enter the name of a library that will be used to search for AFP resources. Up to four library names may be specified.

CORNERSTPL Corner staple

Sets the reference corner to be used for a corner staple. A staple is driven into the media at the reference corner. Refer to your printer's documentation for information as to which reference corners are supported. Page rotation does not affect the placement of a corner staple.

Type
*CHAR
Required
No
Default
*SAME
Length
9
Case
Uppercase

Allowed values: *NONE, *BOTRIGHT, *TOPRIGHT, *TOPLEFT, *BOTLEFT, *DEVD, *SAME

*SAME
Keep the current setting.
*NONE
A corner staple is not specified.
*DEVD
The reference corner is the default reference corner used by the device.
*BOTRIGHT
The reference corner is the bottom right corner of the media.
*TOPRIGHT
The reference corner is the top right corner of the media.
*TOPLEFT
The reference corner is the top left corner of the media.
*BOTLEFT
The reference corner is the bottom left corner of the media.

EDGESTITCH Edge stitch

Sets where one or more staples are driven into the media along the finishing operation axis. Refer to your printer's documentation for information about which elements of this parameter are supported and which values for each element are supported.

Type
*ELEM
Required
No
Case
Uppercase

Suggested / special values: *NONE

*NONE
An edge stitch is not specified.
*SAME (reference edge)
Keep the current setting.
*DEVD (reference edge)
The reference edge is the default reference edge used by the device.
*BOT
Use the bottom edge of the media.
*RIGHT
The reference edge is the right edge of the media.
*TOP
The reference edge is the top edge of the media.
*LEFT
The reference edge is the left edge of the media.
*SAME (reference edge offset)
Keep the current setting.
*DEVD (reference edge offset)
The reference edge offset is the default reference edge offset used by the device.
0.0-57.79 (reference edge offset)
Enter the offset of the edge stitch from the reference edge. If UOM(*CM) is specified, valid values range from 0 through 57.79, and if UOM(*INCH) is specified, valid values range from 0 through 22.75.
*SAME (number of staples)
Keep the current setting.
*DEVD (number of staples)
The number of staples depends on the value of the Staple Offsets element of this parameter.
1-122
Enter the number of staples to be used for the edge stitch. If you specify the number of staples, then *DEVD must be specified for staple offsets. The device default for the spacing of each staple will be used.
*SAME (staple offsets)
Keep the current setting.
*DEVD (staple offsets)
The staple offsets are the default staple positions used by the device. If a value was specified for the Number of Staples element, the staple position of each staple will be calculated automatically by the printer.
0.0-57.79 (staple offsets)
Enter the staple offset for each staple in the edge stitch. Up to 122 staple offsets may be specified. If one or more staple offsets values are specified, then *DEVD must be specified for the number of staples.
Elements in order

Reference edge Reference edge

Type
*CHAR
Required
No
Length
6
Case
Uppercase

Allowed values: *DEVD, *BOT, *RIGHT, *TOP, *LEFT, *SAME

Reference edge offset Reference edge offset

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *DEVD, *SAME

Number of staples Number of staples

Type
*INT4
Required
No
Default
*SAME
Range
1 to 122
Case
Uppercase

Suggested / special values: *DEVD, *SAME

Staple offsets Staple offsets

Type
*CHAR
Required
No
Default
*SAME
Length
256
List limit
122
Case
Uppercase

Suggested / special values: *DEVD, *SAME

SADLSTITCH Saddle stitch

Sets where one or more staples are driven into the media along the finishing operation axis, which is positioned at the center of the media parallel to the reference edge. Refer to your printer's documentation for information about which elements of this parameter are supported and which values for each element are supported.

Type
*ELEM
Required
No
Case
Uppercase

Suggested / special values: *NONE

*NONE
A saddle stitch is not specified.
*SAME (reference edge)
Keep the current setting.
*DEVD (reference edge)
The reference edge is the default reference edge used by the device.
*TOP
The reference edge is the top edge of the media.
*LEFT
The reference edge is the left edge of the media.
*SAME (number of staples)
Keep the current setting.
*DEVD (number of staples)
The number of staples depends on the value of the Staple Offsets element of this parameter.
1-122
Enter the number of staples to be used for the saddle stitch. If you specify the number of staples, then *DEVD must be specified for staple offsets. The device default for the spacing of each staple will be used.
*SAME (staple offsets)
Keep the current setting.
*DEVD (staple offsets)
The staple offsets are the default staple positions used by the device. If a value was specified for the Number of Staples element, the staple position of each staple will be calculated automatically by the printer.
0.0-57.79
Enter the staple offset for each staple in the saddle stitch. Up to 122 staple offsets may be specified. If one or more staple offsets values are specified, then *DEVD must be specified for the number of staples.
Elements in order

Reference edge Reference edge

Type
*CHAR
Required
No
Length
5
Case
Uppercase

Allowed values: *TOP, *LEFT, *DEVD, *SAME

Number of staples Number of staples

Type
*INT4
Required
No
Default
*SAME
Range
1 to 122
Case
Uppercase

Suggested / special values: *DEVD, *SAME

Staple offsets Staple offsets

Type
*CHAR
Required
No
Default
*SAME
Length
256
List limit
122
Case
Uppercase

Suggested / special values: *DEVD, *SAME

FNTRSL Font resolution for formatting

Choose the font resolution used to format printer output.

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *DEVD, *SEARCH, *SAME

240
The font resolution is 240 pels per inch.
300
The font resolution is 300 pels per inch.
*SAME
Keep the current setting.
*DEVD
The value specified in the FNTRSL parameter of the PSF configuration object for the device is used. If no PSF configuration object is specified for the device, a value of *SEARCH is used.
*SEARCH
Sets to search the library list for the first occurrence of a host font with a name match. The resolution of that font is used to print the spool file. Message PQT3546 is sent to specify the resolution of the font that was selected.

SPOOL Spool the data

Controls whether the output data for the printer device file is spooled. This parameter is ignored when the To stream file (TOSTMF) parameter value is not *NONE.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *YES, *NO

*SAME
Keep the current setting.
*YES
The data is spooled to a diskette writer or to a printer writer queue for later processing.
*NO
The data is not spooled. It is sent directly to the device and printed as the output becomes available.

OUTQ Spooled output queue

Sets the output queue (*OUTQ) object.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *JOB, *DEV

*SAME
Keep the current output queue.
*JOB
The output queue associated with this job is used for the spooled output.
*DEV
The output queue associated with the printer specified for the Device (DEV) parameter is used. The output queue has the same name as the printer.
name (spooled output queue)
Enter the name of the output queue.
*LIBL
Look in the thread's library list.
*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, QGPL is used.
name (library)
Enter the name of the library where the output queue is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Spooled output queue Spooled output queue

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

FORMTYPE Form type

Sets the type of forms used in the printer.

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME, *STD

*SAME
Keep the current type of printer form.
*STD
The standard printer form for your computer system is used.
character-value
Enter the identifier of the type of printer form used with this device file for printed output.

COPIES Copies

Specifies, for spooled output only, the number of copies of the output being printed.

Type
*INT4
Required
No
Default
*SAME
Range
1 to 255
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current number of copies.
1-255
Enter the number of copies to be printed.

EXPDATE Expiration date for file

Sets the expiration date for the spooled file. The spooled file will expire at 23:59:59, system local time on the date specified.

Type
*DATE
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *DAYS, *NONE, *SAME

*SAME
Keep the current expiration date.
*NONE
Leave expiration date unspecified.
*DAYS
The expiration date is to be calculated using the value specified for the Days until file expires (DAYS) parameter.
date
Enter the date after which the spooled file will be eligible for removal from the system by the Delete Expired Spooled Files (DLTEXPSPLF) command.

DAYS Days until file expires

Sets the number of days to keep the spooled file. Note: A value must be specified for this parameter if the Expiration date for file (EXPDATE) parameter has a value of *DAYS.

Type
*INT4
Required
No
Range
1 to 366
Case
Uppercase
1-366
Enter an interval in days after which the spooled file will be eligible for removal from the system by the Delete Expired Spooled Files (DLTEXPSPLF) command.

PAGERANGE Page range to print

Specifies, for spooled output files only, the starting and ending pages to print.

Type
*ELEM
Required
No
Case
Uppercase
*SAME (starting page)
Keep the current starting page to print.
*ENDPAGE
Use the end page value as the starting page.
integer (starting page)
Enter the starting page number.
*SAME (ending page)
Keep the current ending page to print.
*END
Printing continues until the end of the spooled file.
integer (ending page)
Enter the ending page number.
Elements in order

Starting page Starting page

Type
*INT4
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *ENDPAGE

Ending page Ending page

Type
*INT4
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *END

MAXRCDS Max spooled output records

Specifies, for spooled output only, the maximum number of records that can be in the spooled file for spooled jobs using this printer file.

Type
*INT4
Required
No
Default
*SAME
Range
1 to 99999999
Case
Uppercase

Suggested / special values: *SAME, *NOMAX

*SAME
Keep the current maximum number of records.
*NOMAX
There is no maximum on the number of records that can be in the spooled file.
1-99999999
Enter the maximum number of records allowed.

FILESEP File separators

Specifies, for spooled output files only, the number of separator pages placed at the start of each printed file, including those between multiple copies of the same output. Each separator page has the following items printed on it: file name, file number, job name, user name, and job number.

Type
*INT4
Required
No
Default
*SAME
Range
0 to 9
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current number of separator pages.
0-9
Enter the number of separator pages to be placed between printed files. If 0 is specified, no separator pages are printed for the file. In this case, the printed output for each file (or copy of a file) starts at the top of a new page.

SCHEDULE Spooled output schedule

Specifies, for spooled output files only, when the spooled output file is made available to a diskette writer.

Type
*CHAR
Required
No
Default
*SAME
Length
8
Case
Uppercase

Allowed values: *SAME, *FILEEND, *JOBEND, *IMMED

*SAME
Keep the current time when spooled output starts.
*JOBEND
The spooled output file is made available after the job is completed.
*FILEEND
The spooled output file is made available when the file is closed in the program.
*IMMED
The spooled output file is made available to the writer as soon as the file is opened in the program.

HOLD Hold spooled file

Specifies, for spooled output files only, whether the spooled file is held. The spooled file can be released by using the Release Spooled File (RLSSPLF) command.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *NO, *YES

*SAME
Keep the current spooled file status.
*NO
The spooled output file is not held by the output queue.
*YES
The spooled output file is held until it is released by the Release Spooled File (RLSSPLF) command.

SAVE Save spooled file

Specifies, for spooled output files only, whether the spooled file is saved (kept on the output queue) after the output has been produced.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *NO, *YES

*SAME
Keep the current spooled file status.
*NO
The spooled file data is not kept on the output queue.
*YES
The spooled file data is kept on the output queue until the file is deleted. After the file is produced, the number of copies (see Copies (COPIES) parameter) is set to 1, and its status is changed from WTR to SAV.

OUTPTY Output priority (on OUTQ)

Sets the output priority for spooled output files that are produced by this job. The highest priority is 1 and the lowest priority is 9.

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME, *JOB

*SAME
Keep the current output priority.
*JOB
The output priority associated with the job that created the spooled file is used.
1-9
Enter the output priority with a number ranging from 1 (high) through 9 (low).

USRDTA User data

Specifies, for spooled output, user-specified data that identifies the file.

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME, *SOURCE

*SAME
Keep the current setting.
*SOURCE
If the spooled file was created by an application program, the name of that program is used. Otherwise, blanks are used.
character-value
Enter up to 10 characters of text.

SPLFOWN Spool file owner

Specifies, for spooled output only, who the owner of the spooled file is.

Type
*CHAR
Required
No
Default
*SAME
Length
10
Case
Uppercase

Allowed values: *SAME, *CURUSRPRF, *JOB, *CURGRPPRF, *JOBGRPPRF

*SAME
Keep the current setting.
*CURUSRPRF
The spooled file is owned by the current effective user of the current job or thread.
*JOB
The spooled file is owned by the original user profile of the job. If the job has switched to a new user profile, the original user profile is still the owner of the spooled file.
*CURGRPPRF
The spooled file is owned by the current effective group profile of the current job or thread. If there is no current effective group profile, ownership of the spooled file is determined in the same manner as *CURUSRPRF.
*JOBGRPPRF
The spooled file is owned by the group profile of the original user profile of the job. If the job has switched to a new user profile, the group profile of the original user profile is still the owner of the spooled file.

USRDFNOPT User Defined Option

Specifies, for spooled output only, one or more user-defined options to be used by user applications or user-specified programs that process spooled files. A maximum of four user-defined options can be specified.

Type
*CHAR
Required
No
Default
*SAME
Length
256
List limit
4
Case
Uppercase

Suggested / special values: *SAME, *NONE

*SAME
Keep the current setting.
*NONE
No user-defined options specified.
character-value
Enter a user-defined option to be used by user applications or user-specified programs that process spooled files. All characters are acceptable.

USRDFNDTA User Defined Data

Specifies, for spooled output only, the user-defined data to be used by user applications or user-specified programs that process spooled files.

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME, *NONE

*SAME
Keep the current setting.
*NONE
No user-defined data specified.
character-value
Enter a user-defined data to be used by user applications or user-specified programs that process spooled files. All characters are acceptable.

USRDFNOBJ User Defined Object

Specifies, for spooled output only, the user-defined object to be used by user applications or user-specified programs that process spooled files.

Type
*CHAR
Required
No
Length
256
Case
Uppercase
*SAME
Keep the current setting.
*NONE
No user-defined object specified.
(object)
Qualifier 1: Object name Specify the user-defined object to be used by user applications or user-specified programs that process spooled files.
name (object)
Enter the user-defined object to be used by user applications or user-specified programs that process spooled files.
(2)
Qualifier 2: Library *LIBL All libraries in the library list for the current thread are searched until the first match is found. *CURLIB The current library for the thread is searched.
*LIBL
Look in the thread's library list.
*CURLIB
Look in the current library, falling back to QGPL.
name (library)
Enter the name of the library to be searched.
object-type
The user object type can be one of the following: *DTAARA Data Area *DTAQ Data Queue *FILE File *PSFCFG PSF Configuration Object *USRIDX User Index *USRQ User Queue *USRSPC User Space.
*DTAARA
Data Area.
*DTAQ
Data Queue.
*FILE
File.
*PSFCFG
PSF Configuration Object.
*USRIDX
User Index.
*USRQ
User Queue.
*USRSPC
User Space.

IGCDTA User specified DBCS data

Specifies, for program-described files, whether the file processes double-byte character set (DBCS) data. Specifies, for externally described files, the DBCS attributes of the file.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *NO, *YES

*SAME
Keep the current setting.
*NO
The file does not process double-byte character set (DBCS) data.
*YES
The file processes double-byte character set (DBCS) data.
*NO (2)
The double-byte character set (DBCS) attributes of the file are defined in the data description specifications (DDS).
*YES (2)
DBCS attributes in addition to those defined in the DDS include: (1) putting the DDS keyword for alternative data type (IGCALTTYP) into effect and (2) identifying double-byte character attributes of fields or messages not identified in the DDS.

IGCEXNCHR DBCS extension characters

Controls whether the system processes double-byte character set (DBCS) extension characters.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *YES, *NO

*SAME
Keep the current setting.
*YES
The system processes DBCS extended characters.
*NO
The system does not process DBCS extended characters. It prints extended characters as the undefined character.

IGCCHRRTT DBCS character rotation

Controls whether the printer rotates the double-byte character set (DBCS) characters 90 degrees counterclockwise when printing. The system prints rotated DBCS characters so that they appear in a vertical reading sequence. Alphanumeric characters are not rotated.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *NO, *YES

*SAME
Keep the current setting.
*NO
The system does not rotate DBCS characters when printing.
*YES
The system rotates DBCS characters 90 degrees counterclockwise when printing. The printer rotates each character individually.

IGCCPI DBCS characters per inch

Sets the printer character density of double-byte character set (DBCS) data in characters per inch (CPI). Note: This parameter does not specify the printer character density of alphanumeric characters.

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME, *CPI, *CONDENSED

5
DBCS character density is 5 CPI.
6
DBCS character density is 6 CPI.
10
DBCS character density is 10 CPI.
*SAME
Keep the current setting.
*CPI
DBCS character density is based on the values specified for the Characters per inch (CPI) parameter. *CPI is the default value for this parameter on the CRTPRTF command. For CPI(10), DBCS characters print at 5 characters per inch.
*CONDENSED
Condensed printing is used in which the system prints 20 DBCS characters every 3 inches. This value is valid only for the 5553 or 5583 printers.

IGCSOSI DBCS SO/SI spacing

Select how the system prints shift-in and shift-out characters.

Type
*CHAR
Required
No
Default
*SAME
Length
6
Case
Uppercase

Allowed values: *SAME, *YES, *NO, *RIGHT

*SAME
Keep the current setting.
*NO
The system does not print shift control characters. These characters do not occupy a position on printer output.
*YES
The system prints shift control characters as blanks.
*RIGHT
The system prints two blanks when printing shift-in characters, but it does not print shift-out characters.

IGCCDEFNT DBCS coded font

Sets the coded font that the system uses for double-byte character set (DBCS) printing.

Type
*CHAR
Required
No
Length
256
Case
Uppercase
*SAME
Keep the current setting.
*SYSVAL
The DBCS coded font specified in the system value QIGCCDEFNT is used.
(dbcs coded font)
Qualifier 1: DBCS coded font name Specify name of the DBCS coded font to use.
name (dbcs coded font)
Enter name of the DBCS coded font to use.
(2)
Qualifier 2: Library *LIBL All libraries in the library list for the current thread are searched until the first match is found. *CURLIB The current library for the job is used to locate the coded font name.
*LIBL
Look in the thread's library list.
*CURLIB
The current library for the job is used to locate the coded font name. If no library is specified as the current library for the job, the QGPL library is used.
name (library)
Enter the name of the library where the coded font name is located.
*NONE
The point size is supplied by the system and is determined by the specified font character set.
0.1-999.9
Enter a point size.

TOSTMF To stream file

Sets the directory or stream file where the output data is to be written. All directories in the path name must exist. New directories are not created. This parameter is only valid when the Workstation customizing object (WSCST) parameter is not *NONE, or the Printer device type (DEVTYPE) parameter is *AFPDS.

Type
*PNAME
Required
No
Default
*SAME
Length
5000
Case
Uppercase

Suggested / special values: *SAME, *NONE

*SAME
Keep the current setting.
*NONE
The output is written to a spooled file if the SPOOL parameter is *YES, or directly to the printer device (DEV) if the SPOOL parameter is *NO.
path-name
Enter the path name for the directory or stream file where you want the output data to be written.

WSCST Workstation customizing object

Sets the workstation customizing object to use to transform the printer file output to final form before writing it to a stream file. This parameter is only valid when the To stream file (TOSTMF) parameter is not *NONE.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *NONE, *PDF

*SAME
Keep the current setting.
*NONE
The output is not transformed to final form before writing to a stream file.
*PDF
The output is transformed to Portable Document Format (PDF) before it is written into a stream file.
name (workstation customizing object)
Enter the name of the customizing object.
*LIBL
Look in the thread's library list.
*CURLIB
Look in the current library, falling back to QGPL.
name (library)
Enter the name of the library to be searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Workstation customizing object Workstation customizing object

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

WAITFILE Maximum file wait time

Sets the number of seconds that the program waits for the file resources to be allocated when the file is opened, or the device or session resources to be allocated when an acquire operation is performed to the file. If the file resources cannot be allocated in the specified wait time, an error message is sent to the program.

Type
*INT4
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *IMMED, *CLS

*SAME
Keep the current wait time.
*IMMED
The program does not wait. Immediate allocation of file resources is required.
*CLS
The job default wait time is used as the wait time for the file resources to be allocated.
1-32767
Enter the number of seconds to wait for file resources to be allocated.

SHARE Share open data path

Controls whether the open data path (ODP) is shared with other programs in the same routing step. When an ODP is shared, the programs accessing the file share facilities such as the file status and the buffer.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *NO, *YES

*SAME
Keep the current setting.
*NO
The ODP is not shared with other programs in the routing step. A new ODP for the file is created and used every time a program opens the file.
*YES
The same ODP is shared with each program in the job that also specifies *YES when it opens the file.

Examples

CHGPRTF FILE(ACCREC/PRTRPT) LPI(6) ALIGN(*YES)

Changes two parameters in printer file PRTRPT stored in library ACCREC. The system operator must align the pages in the printer before the system starts printing the file.

CHGPRTF FILE(QSYS/Q*) PAGESIZE(88 132) LPI(8) OVRFLW(80)

Changes all IBM-supplied printer files (that is, all printer files in library QSYS whose names start with a Q) to use 88 lines of 132 characters (8 lines per inch), but to skip to the next page after 80 lines.

CHGPRTF FILE(IGCLIB/IGCPRT) FORMFEED(*AUTOCUT) IGCDTA(*YES) IGCCHRRTT(*YES)

Changes printer file IGCPRT stored in library IGCLIB, so that it processes double-byte character set data.

IBM command documentation

Generated from os/cl/catalog/CHGPRTF.json and os/cl/help/CHGPRTF.json.