T Command - Reset Printer

Use the T command to alter a printer's selection and processing characteristics.
casp14
Use the T command to alter a printer's selection and processing characteristics.
This command has the following syntax:
T,nodename{ [,A=] [,C=] [,F=] [,P=] [,Q=] [,R=] [,S=] [,T=] [,N=] [,IP=] [,TQ=] [,TF=] [,TD=] }
  • nodename
    Defines the name of the printer node.
Printer options can only be changed when the printer is inactive, halted, or drained.
  • A=
    Defines whether the printer must operate in automatic-selection mode.
    Specify A=Y if yes, A=N if no.
    Automatic-selection mode means that the print processor scans the file queue for a printable file with setup characteristics matching the printer's current setup. If none is found, a file with a valid output class is selected, and appropriate setup messages issued.
    If A=N is specified, the user must explicitly change the printer setup characteristics, using the F, C, and Q operands. The print processor does not automatically change the device setup.
  • C=
    Defines the 1 to 4 character FCB name to be assigned to the printer.
    If this operand is used when the printer is in automatic selection mode, and if there is no file eligible for printing with the specified FCB name, the automatic file selection results in this specification being ignored.
  • F=
    Defines the 1 to 8 character form number to be assigned to the printer.
    If this operand is used when the printer is in automatic-selection mode and if there is no file eligible for printing with the specified form number, the automatic file selection results in this specification being ignored.
  • P=
    Defines whether the printer must operate in automatic-purge mode.
    Specify P=Y if yes, P=N if no. Automatic-purge mode causes the files which have been printed to be automatically scheduled for purge processing. If the printer does not operate in automatic-purge mode, the files are marked as printed.
  • Q=
    Defines the output classes, from one to eight, which are to be serviced by the printer. Each class is specified as a single character in the range A-Z or 0-9, or ALL if ALL was specified on the DEFNODE/NODE statement.
    If the printer operates in automatic-selection mode, the file queue is scanned using the printer classes from left to right, and the printer setup characteristics as arguments. If no files are selected, the file queue is re-scanned using only the printer's output classes left to right as selection criteria.
    If the printer does not operate in automatic-selection mode, the file queue is scanned using the printer-setup characteristics and the printer classes left to right as selection criteria.
  • R=
    Defines whether the printer must operate in restricted-selection mode.
    Specify R=Y if yes, R=N if no. If a printer operates in restricted-selection mode, only files with destination names that match the printer's node name or alias name are eligible for selection.
  • S=
    Defines the number of separator pages to be produced before each print file.
    The value of S can be 0, 1, or 2.
  • T=
    Defines the name of the translation table to be used for data translation on this printer.
    If the T operand is specified without a value, then no translation takes place on this printer.
  • N=
    Defines the name of the NJE destination, to which the files must be transferred. This can also be used to route files to another printer within the same
    Spool
    system by specifying the printer name.
  • IP=
    Defines the symbolic name or IP address of the target TCP/IP host.
  • TQ=
    Defines the printer queue name of the target remote TCP/IP host.
  • TF=
    Defines the 4 to 10 character TRANSFRM value of the node.
  • TD=
    Defines the 3 to 10 character TCPDRIV value of the node.
Example
This example changes the options for the printer DEPTPRT1.
T,DEPTPRT1,A=N,F=STD2,C=6,P=Y