beautypg.com

Microcom 466 User Manual

Page 42

background image

Printer Commands

Chapter 5

466 Operators Manual

36

^A

^D

COMMAND

21

Change SW1: Change software switch bank #1. The software switch banks use
a ^AB sequence followed by an 8 digit 0 or 1 code.

For example: ^AB10100001^D21? selects text equivalent response, accept
control codes, disable echo, and enable XON/XOFF flow control.

12345678
^ABxxxxxxxx
*******.) 1=XON/XOFF Enable, 0=Disable (COM1)
******.)) 1=Send Status Message on Error (COM1)
*****.))) 1=Echo Enable, 0=Disable (COM1)
****.)))) 1=Send Status Message on Error (COM2)
***.))))) Always 0
**.)))))) 1=Ignore Control Codes, 0=Accept (COM1,COM2
** and LPT1)
*.)))))))))),
.)))))))))),* Status Message Format (COM1 and COM2)
00 = Control Codes
10 = Text Equivalent
11 = ^ Equivalent

Position:

1,2

Status Message Format (COM1 and COM2): This determines what the printer
will send back in response to an enquiry. See Section 5.2.

3

Control Codes (COM1, COM2 and LPT1): This switch setting will allow or
disallow printer response to control codes (below 20h).

4

Not Used

5

Send Status Message on Error: If this switch is enabled and a printer error
occurs, the printer will send the corresponding error message to the host via
COM2. Please refer to the ^D5 command for more information about status
messages.

6

Echo (COM1): If this feature is enabled, the printer will echo all received
characters to the serial port.

7

Send Status Message on Error: If this switch is enabled and a printer error
occurs, the printer will send the corresponding error message to the host via
COM1. Please refer to the ^D5 command for more information about status
messages.

8

XON/XOFF (COM1): Enable or disable XON/XOFF software handshaking.
CTS/RTS hardware handshaking is always enabled.