XpSelectInput(3Xp) XPRINT FUNCTIONS XpSelectInput(3Xp)NAME
XpSelectInput - Specifies which X Print events, from the specified print context, the client is interested in.
SYNOPSIS
void XpSelectInput ( display, context, event_mask )
Display *display;
XPContext context;
unsigned long event_mask;
ARGUMENTS
display
Specifies a pointer to the Display structure; returned from XOpenDisplay.
context
Specifies the print context from which to select events.
event_mask
Specifies the event mask. This mask is the bitwise OR one or more of the valid events mask bits (see below).
DESCRIPTION
XpSelectInput selects which X Print events from the specified print context the client is interest in. The X Print Events are generated
from a current print context, and not from a window as is the case with XSelectInput.
STRUCTURES
The bits for event_mask are defined in <X11/extensions/Print.h>:
#define XPNoEventMask 0
#define XPPrintMask (1L<<0)
#define XPAttributeMask (1L<<1)
The resulting events are defined in <X11/extensions/Print.h>:
#define XPPrintNotify 0
#define XPAttributeNotify 1
DIAGNOSTICS
BadValue The value specified for event_mask is not valid.
XPBadContext The specified print context is not valid.
FILES
<X11/extensions/Print.h>
X Version 11 libXp 1.0.0 XpSelectInput(3Xp)
Check Out this Related Man Page
XpEndJob(3Xp) XPRINT FUNCTIONS XpEndJob(3Xp)NAME
XpEndJob - Indicates the ending of a single print job.
SYNOPSIS
cc [ flag... ] file... -lXp [ library... ]
#include <X11/extensions/Print.h>
void XpEndJob ( display )
Display *display;
ARGUMENTS
display
Specifies a pointer to the Display structure; returned from XOpenDisplay.
DESCRIPTION
XpEndJob signals the end of a print job. Any accumulated print data that remains is either sent to the printer or made available to XpGet-
DocumentData.
For clients selecting XPPrintMask (see XpSelectInput), the event XPPrintNotify will be generated with its detail field set to XPEndJobNo-
tify when the X Print Server has completed the request.
DIAGNOSTICS
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, XpEnd-
Doc prior to XpStartDoc).
SEE ALSO XpGetDocumentData(3Xp), XpSelectInput(3Xp), XpStartJob(3Xp)X Version 11 libXp 1.0.0 XpEndJob(3Xp)
Hi,
Any one can help me to configure print server in SCO Unixware. I don't have any idea in this context. Any help would be highly appreciated.
Best Regards,
Tayyab (1 Reply)
1) I had one query regarding how to define a particular value which has a space.
For example, I would say
for i in s su sur
do
print $i
sleep 1
done
This will results in
s
su
sur
Now I want... (0 Replies)
Hi
Suppose we have these code lines:
#define _IN_USE 0x001 /* set when process slot is in use */
#define _EXITING 0x002 /* set when exit is expected */
#define _REFRESHING 0x004
...
1 main () {
2
3 unsigned r_flags =_REFRESHING;
4
5 if (r_flag &... (3 Replies)
Greetings Forumers!
I'm posting a solution to an Issue I ran into this week: Getting applications to display on another through X11 and SSH. I have run into this issue many years ago and finally found my notes. Some of you may already know the answer to this issue but it took me a while to... (1 Reply)