HPlogo Using SNA IMF Pass Thru: HP 3000 MPE/iX Computer Systems > Chapter 6 Using Printers with Pass Thru

Entering Printer Commands and Adjusting Page Length

» 

Technical documentation

» Feedback

 » Table of Contents

 » Glossary

 » Index

Printer commands for LU.T1 and LU.T3 printer sessions are entered in the info string of the MPE RUN command, as follows:

RUN TTSSON.PUB.SYS,COMMAND;INFO="command [;command]..."

where command is one of the following:

SHOW NAU

Sends a message to the terminal from which the command was issued, listing the Network Addressable Units (NAUs) currently engaged in Pass Thru sessions. Use this command to check the status of an NAU (OPEN or ACTIVE).

The value of NAU can be an LU name configured in the file NMCONFIG.PUB.SYS, or it can be ALL, which specifies all LUs engaged in LU.T1, LU.T2, or LU.T3 sessions

SEND HOLD TO NAU

(LU.T1 only) Emulates pressing the [HOLD PRINT] key for the specified NAU. The [HOLD PRINT] key suspends processing of host data by the printer. If you wish to transmit one of the PA keys or the [CANCEL] key, you must first emulate pressing the [HOLD PRINT] key. This command can be issued for sessions in OPEN or ACTIVE state.

The value of NAU can be an LU name configured in the file NMCONFIG.PUB.SYS, or it can be ALL, which specifies all LUs engaged in LU.T1 sessions.

If the printer is left in the HOLD PRINT state, a 10-minute timer will notify the host that the device requires intervention.

When an HP printer is set up to accept both LU.T1 and LU.T3 Pass Thru sessions, you are not required to enter the SEND HOLD command before, and the SEND ENABLE command after, the SEND PA1, SEND PA2, or SEND CANCEL command. However, if you enter the SEND HOLD or SEND ENABLE command, no error will occur.

SEND ENABLE TO NAU

(LU.T1 only) Emulates pressing the [ENABLE PRINT] key for the specified NAU. Use the SEND ENABLE command to reenable the printer after you issue a SEND HOLD command. The SEND ENABLE command can be issued for sessions in OPEN or ACTIVE state.

The value of NAU can be an LU name configured in the file NMCONFIG.PUB.SYS, or it can be ALL, which specifies all LUs engaged in LU.T1 sessions.

SEND PA1 TO NAU or SEND PA2 TO NAU

(LU.T1 only) Emulates sending the [PA1] or [PA2] key to the specified NAU. The [PA1] and [PA2] keys have different functions depending on which host application you are running. This command can be issued only for sessions in ACTIVE state.

The value of NAU can be an LU name configured in the file NMCONFIG.PUB.SYS, or it can be ALL, which specifies all LUs engaged in LU.T1 sessions.

SEND CANCEL TO NAU

(LU.T1 only) Emulates sending the [CANCEL] key for the specified NAU. Cancels the job that is currently printing. This command can be issued only for sessions in ACTIVE state.

The value of NAU can be an LU name configured in the file NMCONFIG.PUB.SYS, or it can be ALL, which specifies all LUs engaged in LU.T1 sessions.

SEND CLOSE TO NAU

Closes the spooled printer file for the specified NAU and opens a new spool file. Use the SEND CLOSE command to close the spool file and print it without interrupting your Pass Thru session. This command can be issued only for sessions in ACTIVE state.

The value of NAU can be an LU name configured in the file NMCONFIG.PUB.SYS, or it can be ALL, which specifies all LUs engaged in LU.T1 or LU.T3 sessions.

SET PAGE = n FOR NAU

Sets printer page length to n lines for the printer specified by NAU. The value of n can be from 1 through 99 for LU.T3 printers, or from 1 through 102 for LU.T1 printers. This command can be issued for sessions in OPEN or ACTIVE state.

The value of NAU can be an LU name configured in the file NMCONFIG.PUB.SYS, or it can be ALL, which specifies all LUs engaged in LU.T1 or LU.T3 sessions.

SNA IMF will execute the commands in the order presented. Errors encountered by Pass Thru while sending new printer page length information or transmitting a key to the host will be logged on the console, just as other printer emulation errors are logged. Parsing errors will be reported on the terminal ($STDLIST) of the user who entered the command.

Feedback to webmaster