background image
26
December 15, 1997
Protocol Encoding
26
Protocol Encoding
Release 6.4
X Version 11
PrintEndDoc
PrintPutDocumentData
PrintGetDocumentData
+
1
base
major opcode
1
10
minor opcode
2
2
request length
1
BOOL
cancel
3
unused
1
base
major opcode
1
11
minor opcode
2
4 + (d+dp + f+fp + o+op)/4
request length
4
DRAWABLE
drawable
4
CARD32
len_data
2
CARD16
len_fmt
2
CARD16
len_options
d
LISTofBYTE
data
dp
BYTE
dp=pad(d)
f
STRING8
doc-format
fp
BYTE
fp=pad(f)
o
STRING8
options
op
BYTE
op=pad(o)
1
base
major opcode
1
12
minor opcode
2
3
request length
4
PCONTEXT
context
4
CARD32
max-bytes
1
1
Reply
1
unused
2
CARD16
sequence number
4
(n + p)/4
reply length
4
0 XPGetDocFinished
1 XPGetDocSecondConsumer
status-code
4
CARD32
finished-flag
4
CARD32
dataLen