Command reference / comm

CHGDEVPRT

Change Device Description

Updates a printer device description, including attachment and output configuration.

Allowed environments: *ALL. Positional parameters: 1.

Parameters

DEVD Device description

Enter the name of the printer device description to change. This parameter is required.

Type
*NAME
Required
Yes
Length
10
Case
Uppercase

SWTLINLST Switched line list

Enter the name of the switched lines to which the printer is associated when DEVCLS(*LAN) and LANATTACH(*LEXLINK) or LANATTACH(*USRDFN) are specified. The types of switched lines this printer may associate with are: Ethernet IEEE 802.3, and Ethernet with all standards specified.

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

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
Leave switched lines unspecified.
switched-line
Enter the name of the switched line. A maximum of 8 switched lines can be specified.

ADPTADR LAN remote adapter address

Sets the LAN address of the remote printer when DEVCLS(*LAN) and LANATTACH(*LEXLINK) or LANATTACH(*USRDFN) are specified.

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

Suggested / special values: *SAME

*SAME
Keep the current setting.
printer-address
Enter the 12-character hexadecimal LAN address of the remote printer. Valid values range from 000000000001 through FFFFFFFFFFFE.

ADPTTYPE Adapter type

Sets the type of LAN printer adapter to be used when DEVCLS(*LAN) and LANATTACH(*LEXLINK) or LANATTACH(*USRDFN) are specified.

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

Allowed values: *EXTERNAL, *INTERNAL, *SAME

*SAME
Keep the current setting.
*INTERNAL
The printer has an internal LAN adapter card.
*EXTERNAL
The printer has an internal LAN adapter card.

ADPTCNNTYP Adapter connection type

Sets the type of ports supported by the external LAN printer adapter when DEVCLS(*LAN) and ADPTTYPE(*EXTERNAL) are specified. Note: This parameter is ignored when ADPTTYPE(*INTERNAL) is specified.

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

Allowed values: *PARALLEL, *SAME, *SERIAL

*SAME
Keep the current setting.
*PARALLEL
The LAN printer adapter supports one or more parallel ports.
*SERIAL
The LAN printer adapter supports one or more serial ports.

AFP Advanced function printing

Controls whether this printer does advanced function printing. Most IPDS printers can be configured with AFP(*YES) or AFP(*NO). Most non-IPDS printers can be configured only with AFP(*NO). This parameter is only used if *LCL, *RMT, or *LAN is specified on the Device class (DEVCLS) parameter and *IPDS is specified on the Device type (TYPE) parameter.

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

Allowed values: *NO, *SAME, *YES

*SAME
Keep the current setting.
*NO
This printer is not used for advanced function printing.
*YES
This printer is used for advanced function printing.

PORT Port number

Sets the port number for printer devices. Valid values range from 0 through 65535. Some printer devices may further restrict the valid value range.

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

Suggested / special values: *SAME

*SAME
Keep the current setting.
port-number
Enter the port number. Valid values range from 0 through 65535.

SWTSET Switch setting

Sets the switch setting for local twinaxial devices.

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

Suggested / special values: *SAME

*SAME
Keep the current setting.

LOCADR Local location address

Sets the local location address for this device.

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

Suggested / special values: *SAME

3174
02-41.
3274
02-41.
4680
02-54.
4684
02-FE.
4701
02-FE.
4702
02-FE.
5251
00, 02-09.
5294
00-1B.
5394
00-14.
5494
00-37.
Controller
Valid Values.
SNA Host
01-FE.
FBSS
02-FE.
*SAME
Keep the current setting.

ONLINE Online at IPL

Controls whether this object is automatically varied on at initial program load (IPL).

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

Allowed values: *NO, *SAME, *YES

*SAME
Keep the current setting.
*YES
This device is varied on automatically at IPL.
*NO
This device is not varied on automatically at IPL.

LNGTYPE Language type

For ASCII printers, describes the default country keyboard language identifier for this printer.

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

Suggested / special values: *SAME, *SYSVAL

*SAME
Keep the current setting.
*SYSVAL
The system uses the QKBDTYPE system value.
language-type
Enter the correct country keyboard language identifier for this printer from the following table.
Identifier
Language(Country) - ASCII Device Groups.
ALI
Albania.
CLB
Arabic X/Basic - D*
AGB
Austria/Germany - A, B.
AGI
Austria/Germany Multinational - A, B.
BLI
Belgium Multinational - B.
BRB
Brazilian Portuguese.
BGB
Bulgaria.
CAB
Canadian French - A, B.
CAI
Canadian French Multinational - A, B.
SPB
Catalan.
YGI
Croatia/Serbia (Latin)/Slovenia.
CYB
Cyrillic.
CSB
Czech Republic.
DMB
Denmark - B.
DMI
Denmark Multinational - B.
ESB
Estonia.
FNB
Finland/Sweden - B.
FNI
Finland/Sweden Multinational - B.
FAB
France (Azerty) - A, B.
FAI
France (Azerty) Multinational - A, B.
GNB
Greek (see note)
NCB
Hebrew - D*
HNB
Hungary.
ICB
Iceland.
ICI
Iceland Multinational.
IRB
Iran (Farsi)
ITB
Italy - A, B.
ITI
Italy Multinational - A, B.
JPB
Japan Latin Extended.
ROB
Latin-2/ROECE.
LVB
Latvia.
LTB
Lithuania.
MKB
FYR Macedonia (Former Yugoslav Republic)
NEB
Netherlands.
NEI
Netherlands Multinational.
NWB
Norway - B.
NWI
Norway Multinational - B.
PLB
Poland.
PRB
Portugal - B.
PRI
Portugal Multinational - B.
RMB
Romania.
RUB
Russia.
SQB
Serbia (Cyrillic)
SKB
Slovakia.
SPB (2)
Spain - B.
SPI
Spain Multinational - B.
SSB
Spanish Speaking - B.
SSI
Spanish Speaking Multinational - B.
SWB
Sweden - B.
SWI
Sweden Multinational - B.
SFI
Switzerland/France Multinational - B.
SGI
Switzerland/Germany Multinational - B.
THB
Thailand.
TKB
Turkey (Qwerty)
TRB
Turkey (F)
UAB
Ukraine.
UKB
United Kingdom - A, B.
UKI
United Kingdom Multinational - A, B.
USB
United States/Canada - A, B, C.
USI
United States/Canada Multinational - A, B, C.
PKB
Urdu.
YGI (2)
Languages of the former Yugoslavia.

PRTQLTY Print quality

Controls whether the default print quality for ASCII printers should be draft (*DRAFT), standard (*STD), or near-letter quality (*NLQ), from least to best quality. All ASCII printer types (with all emulations) support this parameter. Note: All twinaxial printer emulations support this parameter.

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

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

*SAME
Keep the current setting.
*STD
Sets standard quality setting.
*DRAFT
Sets draft quality setting.
*NLQ
Sets near letter quality setting.

FONT Font

Sets the font identifier and the point size used by the 3812, 3816, 5219 printers (including ASCII printers emulating the 5219 printer), and IPDS printers. A font identifier (up to 10 digits) is used with this printer file. Each font identifier has an implied characters-per-inch (CPI) value. Note: Some fonts may be substituted by the printer. Consult the various printer reference guides for details.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current setting.
identifier
Enter the font identifier associated with this printer.
*NONE
The point size is supplied by the system and is determined by the specified font identifier.
point-size
Enter a point size ranging from 0.1 through 999.9.
Elements in order

Identifier Identifier

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

Suggested / special values: *SAME

Point size Point size

Type
*DEC
Required
No
Default
*SAME
Length
8, 1 decimals
Case
Uppercase

Suggested / special values: *SAME, *NONE

FORMFEED Form feed

Sets the form feed attachment used for this spooled file. This parameter determines how forms are fed into the printer. Not all printers support this parameter. Refer to the Create Printer File (CRTPRTF) command to determine if this parameter is supported. Note: The FORMFEED parameter is overridden by the value specified on the PPRSRC1 parameter when the host print transform function is enabled.

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

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

*SAME
Keep the current setting.
*TYPE
Form feed value is determined by the system based on printer type.
*CONT
Continuous forms are used by the printer. Some printers (3812, 4216) don't have tractor feed attachments (they don't actually support continuous forms).
*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. This value is allowed for 4214, 4234, 4247, and *IPDS printers.
*CUT
Single-cut sheets are used by the printer. For cut sheets, the forms alignment message is not sent. This value is valid for all ASCII printers, except the 4216 Printer emulating a SCS 5219 Printer.
*AUTOCUT
Single-cut sheets are fed into the printer automatically. The printer must have the sheet feed attachment. The *AUTOCUT feature is valid for 4207, 4208, 4216, 4224, and 5204 printers that are emulating a 5219 printer.

SEPDRAWER Separator drawer

Select which drawer is selected for printing separators.

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

Suggested / special values: *FILE, *SAME

1
The separator pages are printed from drawer 1.
2
The separator pages are printed from drawer 2.
3
The separator pages are printed from drawer 3.
*SAME
Keep the current setting.
*FILE
The separator pages are printed on paper from the same drawer as the rest of the spooled file.
separator-drawer
Enter a value ranging from 1 through 255 to indicate the drawer from which the separator pages are printed.

SEPPGM Separator program

Sets a style of separator page by allowing you to call a user exit program while printing job and file separators.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
The separator pages are not changed.
exit-program-name
Enter an exit program name.
*LIBL
Look in the thread's library list.
*CURLIB
The current library for the job is used to locate the exit program. If no library is specified as the current library for the job, the QGPL library is used.
library-name
Enter the name of the library where the exit program is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 15-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 15-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

NBRDRAWER Number of drawers

Specifies, for ASCII printers defined with *AUTOCUT for the form feed (FORMFEED parameter), whether the printer's sheet feed attachment supports 1, 2, or 3 drawers. This parameter is not applicable if form feed is *CONT or *CUT. Note: The number of drawers parameter specifies how many drawers the printer physically supports, not which drawer the paper is selected from.

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

Suggested / special values: 1, 2, 3, *SAME

1
One drawer is physically supported.
2
Two drawers are physically supported.
3
Three drawers are physically supported.
*SAME
Keep the current setting.

PRTERRMSG Printer error message

Controls whether the device has inquiry messages or informational messages for recoverable errors. This parameter is not applicable for printers attached to ASCII work station controllers.

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

Allowed values: *INFO, *INQ, *SAME

*SAME
Keep the current setting.
*INQ
Inquiry messages are sent for recoverable errors.
*INFO
Informational messages are sent for recoverable errors.

MSGQ Message queue

Sets the message queue to which operational messages for this device are sent.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *CTLD, *SAME, *SYSOPR

*SAME
Keep the current setting.
*CTLD
Messages are sent to the message queue defined in the attached controller. The message queue is determined when the device is varied on.
*SYSOPR
Messages are sent to the system operator message queue (QSYS/QSYSOPR).
message-queue-name
Enter the name of the message queue to which operational messages are sent.
*LIBL
All libraries in the job's library list are searched until the first match is found.
*CURLIB
Look in the current library, falling back to QGPL.
library-name
Enter the name of the library to be searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 18-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 18-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

ACTTMR Activation timer

Set the activation response timeout from 1 through 2550 seconds. An unresponsive device is considered unavailable.

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

Suggested / special values: *NOMAX, *SAME

*SAME
Keep the current activation timeout.
*NOMAX
Wait indefinitely. This value requires DEVCLS(*LAN) and AFP(*YES).
activation-timer
Enter a number indicating the number of seconds before the device is considered not available.

INACTTMR Inactivity timer

Sets an inactivity timer (time-out) value. This parameter also specifies what happens when the time-out value is exceeded, dependent on other attributes of the device:

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

Suggested / special values: *ATTACH, *NOMAX, *SAME, *SEC15, *SEC30

*SAME
Keep the current setting.
*ATTACH
This value varies by the value on the physical attachment (ATTACH parameter) and certain values on the device class (DEVCLS) and application type (APPTYPE) parameters.
*NOMAX
No maximum inactivity time is tracked (no inactivity timer is to be enforced).
*SEC15
A 15-second time-out period is used.
*SEC30
A 30-second time-out period is used.
inactivity-timer
Sets a time-out value in minutes.

SNPTDEV SNA pass-through device desc

Enter the name of the associated SNA pass-through device that is attached to a host or advanced program-to-program communications (APPC) controller.

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

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
Leave name unspecified.
associated-device-name
Enter the name of a device that is attached to a host or an APPC controller that is associated with this device.

SNPTGRP SNA pass-through group name

Sets the name configured for a group of host devices in a configuration list (see CRTCFGL command). This indicates that this device is associated with any one of the devices in that group which is available.

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

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
Leave name unspecified.
group-name
Enter the name configured for a group of host devices that must be associated with this device.

LOGON Host signon/logon command

Sets the sign-on (logon) text. This parameter is allowed when DEVCLS(*SNPT) or APPTYPE(*NRF) is specified. APPTYPE(*NRF) specifies the logon string that is sent to the host system when a request is made to establish a session. DEVCLS(*SNPT) specifies the sign-on (logon) text that is sent to the host system after starting SNA pass-through support.

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

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
No text is sent to the host system.
host-logon-command
Enter text that is sent to the host system. The text must be enclosed in apostrophes if it contains blanks or other special characters.

PACING Pacing

Sets the SNA pacing value used for request/response units (RUs).

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

Suggested / special values: *SAME

*SAME
Keep the current setting.
pacing-value
Enter a value, ranging from 1 through 7.

LINESPEED Line speed

Sets the line speed in bits per second (bps).

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

Suggested / special values: *SAME, *TYPE

*SAME
Keep the current setting.
*TYPE
The system uses the suggested setting for this device type.
line-speed
Enter the line speed. Valid values are: 150, 300, 600, 1200, 1800, 2400, 3600, 4800, 7200, 9600, 19200, or 38400.

WORDLEN Word length

Specifies, for ASCII devices, the word length (bits per character) used to communicate over the attachment between the ASCII work station controller and the device. For modem and Post Telephone and Telegraph (PTT) attachments, the word length must be the same as the word length selected for the modem.

Type
*INT4
Required
No
Default
*SAME
Range
7 to 8
Case
Uppercase

Suggested / special values: 7, 8, *SAME, *TYPE

7
Sets 7-bit word lengths.
8
Sets 8-bit word lengths.
*SAME
Keep the current setting.
*TYPE
The system uses the suggested setting for this device type.

PARITY Type of parity

Specifies, for ASCII devices, the type of parity used to communicate over the attachment between the ASCII work station controller and the device. For modem and Post Telephone and Telegraph (PTT) attachments, the type of parity must be the same as the type of parity selected for the modem.

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

Allowed values: *EVEN, *MARK, *NONE, *ODD, *SAME, *SPACE, *TYPE

*SAME
Keep the current setting.
*TYPE
The system uses the suggested setting for this device type.
*EVEN
Sets Even parity.
*ODD
Sets Odd parity.
*NONE
Sets that no parity bit is used.
*MARK
Sets Mark parity (1 is used for the parity).
*SPACE
Sets Space parity (0 is used for the parity).

STOPBITS Stop bits

Specifies, for ASCII devices, the number of stop bits used to communicate over the attachment between the ASCII work station controller and the device. For modem and Post Telephone and Telegraph (PTT) attachments, the number of stop bits must be the same as the number of stop bits selected for the modem.

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

Suggested / special values: 1, 2, *SAME, *TYPE

1
Sets 1 stop bit.
2
Sets 2 stop bits.
*SAME
Keep the current setting.
*TYPE
The system uses the suggested setting for this device type.

TRANSFORM Host print transform

Controls whether the printer uses host print transform support.

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

Allowed values: *NO, *SAME, *YES

*SAME
Keep the current setting.
*NO
The printer does not use host print transform support.
*YES
The printer uses host print transform support.

MFRTYPMDL Manufacturer type and model

Sets the manufacturer, type, and model for a printer using the host print transform function.

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

Suggested / special values: *SAME

*SAME
Keep the current setting.
character-value
Enter the corresponding manufacturer, type, and model for a printer.

PPRSRC1 Paper source 1

Sets the type of paper used in paper source one.

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

Allowed values: *A3, *A4, *A5, *B4, *B5, *CONT132, *CONT80, *EXECUTIVE, *LEDGER, *LEGAL, *LETTER, *MFRTYPMDL, *NONE, *SAME

*SAME
Keep the current setting.
*MFRTYPMDL
The system uses the suggested setting for this printer.
*LETTER
The paper for this source is letter-sized (8.5 x 11 inches).
*LEGAL
The paper for this source is legal-sized (8.5 x 14 inches).
*LEDGER
The paper for this source is ledger-sized (11 x 17 inches).
*EXECUTIVE
The paper for this source is executive-sized (7.25 x 10.5 inches).
*A3
The paper for this source is A3-sized (297mm x 420mm).
*A4
The paper for this source is A4-sized (210mm x 297mm).
*A5
The paper for this source is A5-sized (148 x 210mm).
*B4
The paper for this source is B4-sized (257mm x 364mm).
*B5
The paper for this source is B5-sized (182 x 257mm).
*CONT80
The paper for this source is continuous form (8.0 inches).
*CONT132
The paper for this source is continuous form (13.2 inches).
*NONE
Leave paper source number one unspecified.

PPRSRC2 Paper source 2

Sets the type of paper used in paper source two.

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

Allowed values: *A3, *A4, *A5, *B4, *B5, *CONT132, *CONT80, *EXECUTIVE, *LEDGER, *LEGAL, *LETTER, *MFRTYPMDL, *NONE, *SAME

*SAME
Keep the current setting.
*MFRTYPMDL
The system uses the suggested setting for this printer.
*LETTER
The paper for this source is letter-sized (8.5 x 11 inches).
*LEGAL
The paper for this source is legal-sized (8.5 x 14 inches).
*LEDGER
The paper for this source is ledger-sized (11 x 17 inches).
*EXECUTIVE
The paper for this source is executive-sized (7.25 x 10.5 inches).
*A3
The paper for this source is A3-sized (297mm x 420mm).
*A4
The paper for this source is A4-sized (210mm x 297mm).
*A5
The paper for this source is A5-sized (148 x 210mm).
*B4
The paper for this source is B4-sized (257mm x 364mm).
*B5
The paper for this source is B5-sized (182 x 257mm).
*CONT80
Use 8-inch continuous forms.
*CONT132
Use 13.2-inch continuous forms.
*NONE
Leave paper source number one unspecified.

ENVELOPE Envelope source

Sets the type of envelopes used in the third paper source.

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

Allowed values: *B5, *C5, *DL, *MFRTYPMDL, *MONARCH, *NONE, *NUMBER10, *NUMBER9, *SAME

*SAME
Keep the current setting.
*MFRTYPMDL
The system uses the suggested setting for this printer.
*MONARCH
The envelopes for this source are monarch-sized (3.875 x 7.5 inches).
*NUMBER9
The envelopes for this source are number 9-sized (3.875 x 8.875 inches).
*NUMBER10
The envelopes for this source are number 10-sized (4.125 x 9.5 inches).
*B5
The envelopes for this source are B5-sized (176mm x 250mm).
*C5
The envelopes for this source are C5-sized (162mm x 229mm).
*DL
The envelopes for this source are DL-sized (110mm x 220mm).
*NONE
Leave envelope source unspecified.

ASCII899 ASCII code page 899 support

Controls whether the printer has ASCII code page 899 installed.

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

Allowed values: *NO, *SAME, *YES

*SAME
Keep the current setting.
*NO
The printer does not have ASCII code page 899 installed.
*YES
The printer has ASCII code page 899 installed.

IMGCFG Image configuration

Sets the image configuration for this printer. An image configuration object provides transform services for a variety of image and print datastream formats.

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

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
No image configuration specified.
image-configuration
Enter image configuration for a printer.

MAXPNDRQS Maximum pending requests

Sets the maximum number of print requests that may be queued for printers. This parameter is used only if *YES is specified for the Advanced function printing (AFP) parameter.

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

Suggested / special values: *SAME

*SAME
Keep the current setting.
maximum-print-requests
Enter a number from 1 to 31, indicating the maximum number of print requests that can be queued.

PRTCVT Print while converting

Controls whether a file using AFP must be completely converted to IPDS before printing can begin.

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

Allowed values: *NO, *SAME, *YES

*SAME
Keep the current setting.
*YES
Printing begins prior to complete IPDS conversion.
*NO
Printing does not begin prior to complete IPDS conversion.

PRTRQSTMR Print request timer

Sets the number of seconds to wait, after a print request has been sent to a printer using continuous forms, before the last pages of the output are forced out of the printer into the paper stacker.

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

Suggested / special values: *NOMAX, *SAME

*SAME
Keep the current setting.
*NOMAX
No timer is used.
print-request-timer
Enter the number of seconds, from 1 to 3600, to wait after a print request has been sent before forcing the last pages of the output out of the printer.

FORMDF Form definition

Enter the name of the form definition to be used in the absence of any other form definition specification for a print request. This parameter is used only if *YES is specified for the Advanced function printing (AFP) parameter.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current setting.
form-definition-name
Enter the name of the form definition to be used.
*LIBL
Look in the thread's library list.
*CURLIB
Look in the current library, falling back to QGPL.
library-name
Enter the library where the object is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 39-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 39-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

CHRID Character identifier

Specifies, for printers, the character identifier (graphic character set and code page) indicating which font is used to print the job and file separator pages when no separator page font is explicitly specified. Note: The AFPATTACH parameter is not changeable.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *SYSVAL

*SAME
Keep the current setting.
*SYSVAL
The system determines the graphic character set and code page values for the command parameters from the QCHRID system value.
graphic-character-set code-page
Enter the graphic character set and code page values that match the attributes of this display device. The graphic character set and code page values must be numbers in the range of 1 through 32767.
Elements in order

Graphic character set Graphic character set

Type
*INT4
Required
No
Range
1 to 32767
Case
Uppercase

Code page Code page

Type
*INT4
Required
No
Range
1 to 32767
Case
Uppercase

RMTLOCNAME Remote location

Sets the remote location name of the printer device. This value may be an SNA network ID and control point name, an internet protocol (IP) host name, or an internet address.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current setting.
remote-location-name
Enter the remote location name, remote system name, or internet address.
Elements in order

Name or address Name or address

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

Suggested / special values: *SAME

LCLLOCNAME Local location

Sets the local location name. This parameter is valid only when AFP(*YES) and AFPATTACH(*APPC) are specified, or when APPTYPE(*APPINIT) is specified. The local location name for an APPTYPE(*APPINIT) device is the name of the independent logical unit (LU) in the IBM Network Control Program (NCP).

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

Suggested / special values: *NETATR, *SAME

*SAME
Keep the current setting.
*NETATR
The LCLLOCNAME value specified in the system network attributes is used.
local-location-name
Enter the local location name.

MODE Mode

Enter the name of the mode used to define the session limits and session characteristics for this device.

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

Suggested / special values: *NETATR, *SAME

*SAME
Keep the current setting.
QSPWTR
The mode which exists specifically for use with printers.
*NETATR
The mode in the network attributes is used.
mode-name
Enter the name of the mode description to be used by this device.

IGCFEAT DBCS feature

Select which double-byte character set (DBCS) table is used in DBCS feature code format expressing device features and the last code point value. The table at the end of this parameter description shows valid device features and last code point values for DBCS-capable devices. Note: This parameter is valid for DBCS-capable devices only.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current setting.
device-features
Enter the device character resolution, language, and relative buffer size device features using the format SSSSLR, where:
SSSS =
The resolution (number of matrix points used to create) of the character. For example, 2424 would be 24 matrix points of height and 24 matrix points of width available to formulate the character.
L =
The language code. The 4 language codes currently supported are: J = Japanese K = Korean C = Traditional Chinese S = Simplified Chinese.
R =
The relative buffer size. The valid values are: 0, 1, 2, and 4.
last-code-point
Enter the 4-digit code point of the last double-byte character. This value can be blank.
Elements in order

Device features Device features

Type
*CHAR
Required
No
Length
50
Case
Uppercase

Last code point Last code point

Type
*CHAR
Required
No
Length
50
Case
Uppercase

USRDFNOPT User-defined options

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
50
List limit
4
Case
Uppercase

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
Leave user-defined option unspecified.
user-defined-option
Enter the user-defined option to be used by user applications 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
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
Leave user-defined object name unspecified.
user-defined-object-name
Enter the name of the user-defined object to be used by user applications or user-specified programs that process spooled files.
*LIBL
Look in the thread's library list.
*CURLIB
Look in the current library, falling back to QGPL.
library-name
Enter the library where the object is located.
object-type
The user object type can be one of the following:
*DTAARA
Data Area.
*DTAQ
Data Queue.
*FILE
File.
*PSFCFG
PSF Configuration.
*USRIDX
User Index.
*USRQ
User Queue.
*USRSPC
User Space.
Elements in order

Object Object

Type
*CHAR
Required
No
Length
50
Case
Uppercase

Object type Object type

Type
*CHAR
Required
No
Length
50
Case
Uppercase

Suggested / special values: *DTAARA, *DTAQ, *FILE, *USRIDX, *PSFCFG, *USRQ, *USRSPC

USRDTATFM Data transform program

Sets the user-defined data program that is used to transform the spooled file data.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
Leave user-defined data transform program name unspecified.
user-defined-data-transform-program-name
Enter the name of a user-defined data transform program.
*LIBL
Look in the thread's library list.
*CURLIB
Look in the current library, falling back to QGPL.
library-name
Enter the library where the object is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 47-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 47-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

USRDRVPGM User-defined driver program

Enter the library-qualified name of a user-defined driver program. Note: This parameter must be *NONE when AFP(*YES) is specified.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
Leave user-defined driver program unspecified.
user-defined-driver-program-name
Enter the name of a user-defined driver program.
*LIBL
Look in the thread's library list.
*CURLIB
Look in the current library, falling back to QGPL.
library-name
Enter the library where the object is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 48-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 48-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

SYSDRVPGM System driver program

Enter the name of a system-defined driver program, which provides the capability for sending IBM i printer output to a printer attached over a TCP/IP network. Note: This parameter is only valid when DEVCLS(*LAN), TYPE(3812) and LANATTACH(*IP) are specified.

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

Suggested / special values: *SAME

*SAME
Keep the current setting.
*HPPJLDRV
An HP-compatible printer driver program is used.
*IBMPJLDRV
An IBM network printer driver program is used.
*NETSTNDRV
A network station driver program is used.
*IBMSNMPDRV
An IBM SNMP printer driver program is used.
*IBMIPPDRV
An IBM IPP printer driver program is used.

SECURECNN Secure connection

Controls whether a secure connection is established with the printer. A secure connection provides an encrypted communications session to ensure print data that passes over the connection remains private. Note: This parameter is only valid when SYSDRVPGM(*IBMIPPDRV) is specified.

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

Allowed values: *NO, *SAME, *YES

*SAME
Keep the current setting.
*NO
The connection with the printer is not secure.
*YES
The connection with the printer is secure. The printer must support SSL(Secure Sockets Layer) or TLS(Transport Layer Security) and must have a system digital certificate.

VLDL Validation list

Sets a validation list that is used is the printer requests authentication. The validation list is checked for the name of the user who created the spooled file, the name of the printer device, or the name of the system. Authentication information associated with the name is returned to the printer. Note: This parameter is only valid when SYSDRVPGM(*IBMIPPDRV) is specified.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
Leave validation list unspecified.
validation-list-object
Enter the name of the validation list which contains authentication information.
*LIBL
Look in the thread's library list.
*CURLIB
Look in the current library, falling back to QGPL.
library-name
Enter the library where the object is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 51-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 51-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

SNMPUSR SNMP user name

The name of the SNMP user. The user name has no direct correlation to an IBM i user profile. Refer to the Add User for SNMP (ADDUSRSNMP) command for more information. Note: This parameter is only valid when DEVCLS(*LAN), and SYSDRVPGM(*IBMSNMPDRV) or LANATTACH(*USRDFN) are specified.

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

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
Leave name unspecified.
character-value
A name must be a minimum of 1 character and no more than 32 characters in length. A name cannot contain any leading or imbedded blanks.

SNMPCNTX SNMP context name

The name of the SNMP context. Not all SNMP agents require a context name to be specified. Note: This parameter is only valid when DEVCLS(*LAN), and SYSDRVPGM(*IBMSNMPDRV) or LANATTACH(*USRDFN) are specified.

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

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
Leave name unspecified.
character-value
A name must be a minimum of 1 character and no more than 32 characters in length. A name cannot contain any leading or imbedded blanks.

PUBLISHINF Publishing information

Sets information about the printer device that could be published to a Lightweight Directory Access Protocol (LDAP) directory.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME

*SAME (support duplex)
Keep the current setting.
*UNKNOWN (support duplex)
The value for this field is unknown.
*SIMPLEX
The printer device only supports printing on one side of a sheet of paper.
*DUPLEX
The printer device supports printing on both sides of a sheet of paper.
*SAME (support color)
Keep the current setting.
*UNKNOWN (support color)
The value for this field is unknown.
*COLOR
The printer device does support color ink printing.
*NOCOLOR
The printer device does not support color ink printing.
*SAME (pages per minute black)
Keep the current setting.
*UNKNOWN (pages per minute black)
The value for this field is unknown.
pages-count-black
The number of pages per minute in black ink that the printer device can produce. This field is an integer value ranging from 1 to 32767.
*SAME (pages per minute color)
Keep the current setting.
*UNKNOWN (pages per minute color)
The value for this field is unknown.
page-count-color
The number of pages per minute in color ink that the printer device can produce. This field is an integer value ranging from 1 to 32767.
*SAME (location)
Keep the current setting.
*BLANK
The location of the printer device is not specified.
location
Enter no more than 30 characters of text, enclosed in apostrophes, to describe where the printer is located.
*SAME (data streams supported)
Keep the current setting.
*UNKNOWN (data streams supported)
The value for this field is unknown.
*PCL
The printer device supports PCL (Printer Command Language).
*PS
The printer device supports PostScript.
*PDF
The printer device supports PDF (Portable Document Format).
*IPDS
The printer device supports IPDS (Intelligent Printer Data Stream).
*SCS
The printer device supports SCS (SNA Character String).
Elements in order

Support duplex Support duplex

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

Suggested / special values: *SAME, *SIMPLEX, *DUPLEX, *UNKNOWN

Support color Support color

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

Suggested / special values: *SAME, *NOCOLOR, *COLOR, *UNKNOWN

Pages per minute black Pages per minute black

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

Suggested / special values: *SAME, *UNKNOWN

Pages per minute color Pages per minute color

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

Suggested / special values: *SAME, *UNKNOWN

Location Location

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

Suggested / special values: *SAME, *BLANK

Data streams supported Data streams supported

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

Suggested / special values: *UNKNOWN Other values (up to 5 repetitions): *PCL, *PS, *PDF, *IPDS, *SCS

TEXT Text 'description'

Sets the text that briefly describes the object.

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

Suggested / special values: *BLANK, *SAME

*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.

RMTNETID Remote network identifier

Sets the identifier (ID) of the remote network. This parameter is required when AFP(*YES) and AFPATTACH(*APPC) are specified, or when APPTYPE(*APPINIT) is specified.

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

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

*SAME
Keep the current setting.
*NETATR
The remote network identifier specified in the network attributes is used.
*NONE
No remote network identifier (ID) is used.
remote-network-ID
Enter the ID of the remote network.

WSCST Workstation customizing object

Enter the library-qualified name of a work station customizing object.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
Leave work station customizing object unspecified.
work-station-customizing-object
Enter the work station customizing object.
*LIBL
Look in the thread's library list.
*CURLIB
Look in the current library, falling back to QGPL.
library-name
Enter the library where the object is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 57-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 57-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

Examples

CHGDEVPRT DEVD(PRT2) ADPTADR(222222222222)

Changes the device description for the printer named PRT2 so that its adapter address is 222222222222.

CHGDEVPRT DEVD(LANPRT) RMTLOCNAME('10.5.13.1')

Changes device description LANPRT to specify an IP address of 10.5.13.1 for the printer.

IBM command documentation

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