![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: ANSWER: How To -- LPR Print from OpenVMS through an NT Printer QueThis is how I did it I saw a lot of folks ask... but didn't like the answers I was reading. I felt I needed to discribe the details on HOW... once I had completed the task. Here you are!! Daniel Bohner Analyst/PublicSafety ADA County Sheriff's Office Boise ID isdan@ac1.co.ada.id.us Step one: Install Microsoft TCP/IP Printing on NTWorkstation or NTServer 4.0(SP4) under the Network Icon in Control Panel Services tab. After installing you will have to reboot the PC. Step two: Go into Control Panel and select the Services Icon. The Service TCP/IP Print Server is, by default, set to start manually. It is not started so you need to start it. Also, if you want it to start on every boot, you must set the startup to Au tomatic. Step Three: Add/Create an NT printer. As a precaution, it might be best to create the printer without any spaces. Step four: Go to your Alpha or VAX and run the UCX$LPRSETUP program(either in SYS$SYSTEM OR SYS$MANAGER). Look below at the example. VAXPrompt> Run UCX$LPRSETUP Command < add delete view help exit >: a Adding printer entry, type '?' for help. Enter printer name to add : cistest ;Que name on VAX or Alpha Enter the FULL name of one of the following printer types: ; remote local : remote ;Remote or physical Enter printer synonym: cistest ;syn for the que Enter printer synonym: Enter full file specification for spool directory ;Took Default SPOOLER DIRECTORY 'sd' : [SYS$SPECIFIC:[UCX_LPD.CISTEST]] ? Set remote system name 'rm' [] ? rms203 ;Name of NT Server Set remote system printer name 'rp' [] ? hpcislpd5n ;Name of NT Que on Server Set printer error log file 'lf' [SYS$SPECIFIC:[UCX_LPD]CISTEST.LOG] ? Enter the name of the printcap symbol you wish to modify. Other valid entry is : 'q' to quit (no more changes) Symbol type value ------ ---- ----- Error log file : lf STR /SYS$SPECIFIC/UCX_LPD/CISTEST.LOG Printer Queue : lp STR CISTEST Remote Host : rm STR rms203 Remote Printer : rp STR hpcislpd5n Spool Directory : sd STR /SYS$SPECIFIC/UCX_LPD/CISTEST Are these the final values for printer CISTEST ? [y] y Adding comments to printcap file for new printer, type '?' for help. Do you want to add comments to the printcap file [n] ? : Do you want this procedure to start the queue [n] : yes Creating execution queue: CISTEST Updating UCX$LPD_STARTUP.COM Updating UCX$LPD_SHUTDOWN.COM *********************************************** * UCX$LPD_STARTUP.COM UCX$LPD_PRINTCAP * * and UCX$LPD_SHUTDOWN.COM * * have been updated for this printer * * * * Set up activity is complete for this printer* *********************************************** Step five: Now you need to create the HOST entry for the RMS203 NT Server. VAXPrompt> UCX UCX> SET HOST rms203/address=100.2.120.203 UCX> sho hosts LOCAL database Host address Host name 100.2.1.3 ADADEV 100.1.1.2 ADARMSA 100.2.1.2 ADARMSB 100.2.120.203 RMS203 UCX>Exit Step Six: Initialize the Que and send something to it Vaxprompt> PRINT GOLIVE.TXT /QUE=CISTEST Job GOLIVE (queue CISTEST, entry 310) started on CISTEST Vaxprompt> Job GOLIVE (queue CISTEST, entry 310) completed Vaxprompt> If you have PAUSED the printer on you NT system, you should have the report queued and ready to send to your printer. Good Luck, Daniel Bohner Analyst/PublicSafety ADA County Sheriffs Office Boise, ID Isdan@ac1.co.ada.id.us The Answer is :
|