The Question is:
Can I list the LPD printer connections from a F$GETQUI request? The customer
wants a listing of all printers on the systems. I can write a DCL file to list
the SCSNODE_NAME and DEVICE_NAME of output queues that are connected to
terminal servers, but when
it comes to a queue that is set up as LPD I get a blank device name. Would I
have to parse the PRINTCAP.DAT file to find a queue name match?
The Answer is :
You can retrieve most anything specific to queue management via the
f$getqui lexical function, including a list of all print queues and
of the particular print symbiont used for each.
SCSNODE is specific to clustering and devices and hosts accessed
via the cluster Systems Communications Services (SCS) protocols,
and not particularly relevent to IP nor LPR/LPD printing.
The OpenVMS Wizard would encourage a call to the Compaq Customer
Support Center, as specific details of what information you are
looking for would be of interest -- details relevent to the queue
management environment are (as stated) available, but details specific
to a particular print symbiont may not be (are not) available via the
f$getqui lexical nor via the sys$getqui system service call.
Existing discussions of the f$getqui lexical include the following
topics: (813), (1240), (2159), (3951), (4546), (4568), (4903), (5188)
(5471), (5567), (5651), (5793), (5982), (6315), (6877), (6944), etc.