beautypg.com

Requesting printing unit parameters, Printing unit parameters – Dascom T5040 Programmers Application Manual User Manual

Page 11

background image

11

Requesting printing unit parameters

Data Structure ASCII

ESC [ # z

hex.

1B 5B 23 7A

dec.

27 91 35 122

Function

This command requests for informations about printer option unit etc (see below).

= 0 Response without parameter n8 (printer type)
= 1 Response with parameter n8 (printer type)

The printer will return the information with ESC [ n1 ... n9 # z.

Printing unit parameters

Data Structure ASCII

ESC [ n1...n9 # z

hex.

1B 5B n1...n9 23 7A

dec.

27 91 n1...n9 35 122

Function

Printer response after requesting

printing unit parameters.

Parameters:

n1 = Printing station number (0: document station)
n2 = 4: document
n3 = maximum width of form in 1/10 inch
n4 = number of feed channels (1)
n5 = number of eject channels
n6 = 0: OCR reader option not available; 1: MICR reader option
n7 = MSR option (0: option not available 1: option available)
n8 = printer type
n9 = memory extension (0: no memory extension available)