HP OpenVMS Systemsask the wizard |
The Question is:
I'm attempting to set up a print queue using LPR/LPD from VMS v5.5-2 and UCX
v2.0 to a postscript printer. I've been through the UCX$LPRSETUP to set the
printer up, the view option gives:
UCX-2.0 Printer Setup Program
Command < add exit view help >: v
# LOCAL PRINTERS
UCX$LPD_QUEUE:\
:lp=UCX$LPD_QUEUE:\
:sd=UCX$LPD_SPOOL:
PRT03|PRT03_00|prt03|prt03:\
:lf=/WCS01$DKA300/SYS0/UCX_LPD/PRT03.log:\
:lp=:\
:rm=DLINK-PS:\
:rp=PS-61E339-P1:\
:sd=/WCS01$DKA300/SYS0/UCX_LPD/PRT03:
After doing a lpr shutdown/startup LPQ prt03 reports data from the server
ok. There are two queues setup, show queue /full) gives:
Generic server queue PRT03
/GENERIC=(PRT03_00) /OWNER=[SYSTEM] /PROTECTION=(S:E,O:D,G:R,W:W)
/RETAIN=ERROR
Entry Jobname Username Blocks Status
----- ------- -------- ------ ------
8 IPARTF SBCONTROL 121 Pending (check execution
queues)
Submitted 17-SEP-1998 10:32 /FORM=DEFAULT /PRIORITY=100
File: _DSA0:[PROJECT.SOURCE.ROUTINE.GLOBAL]IPARTF.PS;1
Server queue PRT03_00, stopped, on WCS01::"DLINK-PS":"PS-61E339-P1",
mounted form DEFAULT
/BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=DEFAULT) /OWNER=[SYSTEM]
/PROCESSOR=UCX$LPD_SMB /PROTECTION=(S:E,O:D,G:R,W:W) /RETAIN=ERROR
I've tried start/queue etc without any success, any hints would be greatly
appreciated.
Thanks for any help
Jim Mead
PS I've been trying to find the UCX manuals without any success for the last
couple of days.
The Answer is :
TCP/IP Services for OpenVMS (UCX) V2.0 is a certified antique, please
upgrade to (at least) the somewhat-less-antique V3.3 release, with the
current ECO kit.
Postscript printers are generally accessed via DCPS, via LAT or serial
connection. Recent versions of DCPS support access via IP, as well.
UCX manuals are available on the documentation CD-ROM set, and can be
ordered from 1-800-DIGITAL or from your local reseller.
Here is an example definition:
#
LPD_OUTQ_1|LPD_OUTQ_1_00|lpd_outq_1:\
:lf=/IZOARD$DKB500/SYS0/UCX_LPD/LPD_OUTQ_1.log:\
:lp=LPD_OUTQ_1:\
:rm=izoard:\
:rp=sys$print:\
:sd=/IZOARD$DKB500/SYS0/UCX_LPD/LPD_OUTQ_1:
Here is the creation of the spool directory:
$ SET DEF SYS$SPECIFIC:[UCX_LPD]
$ CREATE/DIRECTORY [.LPD_OUTQ_1]/PROTECT=(S:RWE,O:RWE,G:RE)
Here are the commands to initialize the execution and generic queues:
$! initialize the execution queue lpd_outq_1...
$ initial/queue/start-
/owner=[1,4]-
/retain=error-
/device=server-
/process=ucx$lpd_smb-
/protection=(s:e,g:r,w:w,o:d) LPD_OUTQ_1
$! initialize the generic queue lpd_outq
$ init/queue/start/generic=(LPD_OUTQ_1)-
/owner=[1,4]-
/retain=error-
/device=server-
/protection=(s:e,g:r,w:w,o:d) LPD_OUTQ
Update sys$manager:ucx$lpd_shutdown.com:
$! stop the execution queue(s) then the generic...
$ stop/queue/reset LPD_OUTQ_1
$ stop/queue/reset LPD_OUTQ
Now stop and then start the queues:
$ @sys$manager:ucx$lpd_shutdown
$ @sys$manager:ucx$lpd_startup
More recent versions of UCX include the LPQ and LPRM tools, as well
as a number of other new features, updates, and bugfixes.
|