Compuprint MDP40B Programmer Manual User Manual
Page 208

C-66
ESC '
Set document type. (Olivetti PR2, PR40+, 2845)
ASCII Code
ESC ' n
Hexadecimal Value
1B 27 n
Decimal Value
27 39 n
Sets the printer to handle the type of document defined by parameter n, which has the
following structure:
Byte n:
bit 8: = 0 fixed
bit 7: = 1 fixed
bit 6: = 0 fixed
bit 5: = x not significant
bit 4: = 0 multicopy document
1 single-copy document
bit 3: = 0 document
1 passbook
bit 2: = 0 vertical seam
1 horizontal seam
bit 1: = x not significant
The values of bits 4, 3 and 2 determine the situations as shown in the table below:
bit 4 bit 3 bit 2 Document Type
1 0 x Single-copy
document
0 0 x Multicopy
document
0 1 1 Horizontal
seam
book
0 1 0 Vertical
seam
book
The command is not accepted if it is sent inside a printing field or a device other than
the front paper stand is selected.