background image
Functional specification
30
CDE/Motif PST
CDEnext
XPBadContext
A valid print context id has not been set prior to making this call.
XPBadSequence
The function was not called in the proper order with respect to the other X
Print Service Extension calls (example,
XpEndDoc
prior to
XpStartDoc
).
BadValue
The value specified for
type
is not valid.
SEE ALSO
XpPutDocumentData
,
XpSelectInput, XpSetAttributes
2.10
XpPutDocumentData
2.10.1
Short Description
Allows an application to send and incorporate data into the output.
2.10.2
Long Description
NAME
XpPutDocumentData - send data to the output
SYNOPSIS
#include <X11/extensions/Print.h>
void XpPutDocumentData (
Display
*display
,
Drawable
drawable
,
unsigned char
*data
,
unsigned long
data_len
,
char
*doc_fmt
,
char
*options
)
ARGUMENTS
display
Specifies a pointer to the
Display
structure; returned from
XOpenDisplay
.
drawable
For
XPDocRaw
documents, must be
None
. For
XPDocNormal
documents, the destination drawable for rendering.
data
Specifies the device-specific data sent.
data_len
Specifies the number of bytes in
data
.
doc_fmt
Specifies the type of data sent. See below for valid values. String limited to
XPCS characters.