Operating System - OpenVMS
1752826 Members
4431 Online
108789 Solutions
New Discussion юеВ

Re: Cant start a printer queue

 
SOLVED
Go to solution
Roberto dAvila
Occasional Contributor

Cant start a printer queue

I've create a new printer queue but it remais ALLWAIYS in stoped state, even when i issue the command start/que.
The commands I use to create the queue is:
$ TCPIP> Set host PSIMP22/address=192.168.0.10
-- this is the IP of a HP-604 Laser Jet

I've initialized a printer queue with command:
$ INITIALIZE /QUEUE PSIMP22 -
/start /DEFAULT=NOFEED,FORM=100,NOBURST) -
/SCHEDULE=NOSIZE /OWNER=[SYSTEM] -
/PROTECTION=(S:E,O:D,G:R,W:W) -
/LIBRARY=LM_LN03/RETAIN=ALL -
/SEPARATE=(RESET=(RESET,A4) -
/PROCESS=UCX$Lpd_smb

$ show que/all PSIMP22
Server queue PSIMP22, stopped, on PSSRV2::"192.168.0.10", mounted form A4_COURIER_PO (stock=DEFAULT)

$ reply/enable
$ start/que PSIMP22
The console echoes the following:
%%%%%%%%%%% OPCOM 19-APR-2010 15:01:09.42 %%%%%%%%%%%
Message from user SYSTEM on PSSRV2
Error reading the PRINTCAP file status 3339112


Pssrv2-1>
%%%%%%%%%%% OPCOM 19-APR-2010 15:01:09.42 %%%%%%%%%%%
Message from user SYSTEM on PSSRV2
%TCPIP-F-LPD_UNPRTR, unknown printer PSIMP22


Pssrv2-1>
%%%%%%%%%%% OPCOM 19-APR-2010 15:01:09.42 %%%%%%%%%%%
Message from user SYSTEM on PSSRV2
Stopping the symbiont

Pssrv2-1>
%%%%%%%%%%% OPCOM 19-APR-2010 15:01:09.42 %%%%%%%%%%%
Message from user QUEUE_MANAGE on PSSRV2
%QMAN-I-INVSMBMSG, invalid data 5 in message from symbiont on queue PSIMP22 is being ignored

Pssrv2-1>
%%%%%%%%%%% OPCOM 19-APR-2010 15:01:09.42 %%%%%%%%%%%
Message from user QUEUE_MANAGE on PSSRV2
%QMAN-E-SYMDEL, unexpected symbiont process termination

-- Some idea? What am I doing wrong?

Thanks
4 REPLIES 4
labadie_1
Honored Contributor

Re: Cant start a printer queue

If you want to define a LPD queue, you need to use

$ mc tcpip$lprsetup
and answer the questions

It does all the job in the lpd files.
Oswald Knoppers_1
Valued Contributor

Re: Cant start a printer queue

Maybe you want to use the telnet symbiont. Try using /proces=tcpip$telnetsym and /on="PSIMP22:9100"

Oswald
Steve Reece_3
Trusted Contributor
Solution

Re: Cant start a printer queue

There are two options for sending jobs to TCP/IP printers from a standard, VMS printer queue (that is, ignoring the benefits of DCPS.)

Option 1 is to use the Telnet symbiont, targeting the job at port 9100 or 3001, depending upon your network card;

Option 2 is to use SYS$SYSTEM:TCPIP$LPRSETUP.EXE to set the queue up to use LPR/LPD.

The first option tends to leave the line to the printer up for the duration of the job. It's ok for small to medium sized jobs, but large jobs over long distances or with unreliable printers/network cards tend to become problematical. It's conceptually similar to the LAT symbiont.

The second option transfers the job down the line as quickly as it can and then closes the connection. For big jobs where there is buffering somewhere near to the printer (e.g. on the network card or on a local server) then this is often the preferred method. It's similar to using DQS between VMS systems but with less functionality.

Steve
Mobeen_1
Esteemed Contributor

Re: Cant start a printer queue

Please use

>MC TCPIP$LPRSETUP and then follow thru the setup process. Ensure that you choose LPR