HP QMS 1660E User Manual

Page 130

Advertising
background image

PS Protocol

Option

QMS 1660E Print System Reference

5-32

To differentiate data from the special control characters, any data that
is the same as one of the following special control characters must be
quoted.

A data byte is quoted by replacing it with a two-character sequence.
The first character is a ^A (ASCII hex 0x01), and the second charac-
ter is the character itself XORed with the ASCII value 0x40. For
example, to send the value 0x14(^T) as data, send the two-character
sequence 0x01 0x54 (^a T) instead. (ASCII “T” is the result of XORing
^T with 0x40).

This method of quoting guarantees that whenever the printer receives
any of the eight control characters, the control function is intended
regardless of whether the preceding character is a ^A. Any data byte
not equal to one of the eight special control characters is transmitted
by sending the data byte.

For more information on BCP and quoting, see the PostScript Lan-
guage Reference Manual (Adobe Systems, Inc., Reading, MA: Addi-
son-Wesley, 1990, ISBN 0-201-18127-4), the “Adobe Serial and
Parallel Communications Protocols Specification” (in

Adobe Devel-

oper Support. Adobe Systems, Inc., February 14, 1992), and the
“PostScript Language Reference Manual” (in

Supplement for Version

2011, Adobe Systems, Inc., January 24, 1992).

ASCII
Keyboard

ASCII
Name

ASCII Hex

Control Function

^A

^C

^D

^E

^Q

^S

T

^\

SOH

ETX

EOT

ENQ

DC1

DC3

DC4

FS

0x01

0x03

0x04

0x05

0x11

0x13

0x14

0x1C

Quote data character

Abort job and flush to end of file

End-of-file marker

(Reserved for future use)

XON in XON/XOFF flow control

XOFF in XON/XOFF flow control

Job status request

(Reserved for future use)

Advertising