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
XpInputSelected(3Xp) XPRINT FUNCTIONS XpInputSelected(3Xp)NAME
XpInputSelected - Queries which X Print events the client has selected to receive from the specific print context.
SYNOPSIS
cc [ flag... ] file... -lXp [ library... ]
#include <X11/extensions/Print.h>
unsigned long XpInputSelected ( display, context, event_mask )
Display *display;
XPContext context;
unsigned long *all_event_mask_return;
ARGUMENTS
display
Specifies a pointer to the Display structure; returned from XOpenDisplay.
context
Specifies the print context to which the query is being made.
all_event_mask_return
Returns the set of events that any client has selected.
DESCRIPTION
XpInputSelected returns a bit mask describing which event classes the client has selected to receive. The value returned to
all_event_mask_return is the union of every client's event mask. XpInputSelected queries which X Print events from the specified print
context the client has selected to receive. The X Print Events are generated from a print context, and not from a window as is the case
with XSelectInput. As events arrive, the context field in the event is used to determine which print context generated the event. See XpS-
electInput for the event_mask and all_event_mask (??return??) values.
DIAGNOSTICS
XPBadContext The specified print context is not valid.
SEE ALSO XpSelectInput(3Xp)X Version 11 libXp 1.0.0 XpInputSelected(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)