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)
Check Out this Related Man Page
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)
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)
Hi everybody:
I try to print in new file selected lines from another file wich depends on the first column.
I have done a script like this:
lines=( "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "21" "31" "41" "51" "55" "57" "58" )
${lines}
for lines in ${lines}
do
awk -v ... (6 Replies)
Hi,
I am sure this is possible in awk or sed or a combination of the two.
Can someone help me determine the best way to display or print certain section of a file, ie only certain number of lines.
Example: File1 1 has 20 lines.
I need to be able to print from line 5 to line 10 of this file.... (2 Replies)
awk '!(/^$/||/--/||/selected/||/^ *$/){print "A." $1 " <> B." $1 " or"}' infile
my AWK out put is :
A.KZ <> B.KZ or
A.KZT <> B.KZT or
A.KZ_Z <> B.KZ_Z or
A.LH <> B.LH or
A.MAN<> B.MAN or
A.OBJEKT <> B.OBJECT or
A.PAK <> B.PAK ;
is there any way to controle AWK to not print the... (1 Reply)