Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

associate a .tlb library file with a print queue

SOLVED
Go to solution
Kirk Reindl
Frequent Advisor

associate a .tlb library file with a print queue

Hello,

I would like to associate a print library file with a current print queue I have defined.

Here is the library file:

SYS_OSIBK1>library /list hp5laser.tlb
Directory of TEXT library SYS$SYSROOT:[SYSLIB]hp5laser.tlb;1 on 28-SEP-2004 16:24:05
Creation date: 17-JUL-1992 12:35:56 Creator: VAX-11 Librarian V04-00
Revision date: 22-AUG-2001 13:49:19 Library format: 3.0
Number of modules: 10 Max. key length: 39
Other entries: 0 Preallocated index blocks: 11
Recoverable deleted blocks: 0 Total index blocks used: 1
Max. Number history records: 20 Library history records: 20

COLU_200
COMPRESSED
COMPRESSED2
HPLASER_RESET
LANDSCAPE
LASER_INVOICE10
LASER_STATEMENT12
PORTRAIT
RESET
RESET2
SYS_OSIBK1>

Here is my print queue as it stands now.

SYS_OSIBK1>show queue cccliblsr1 /full
Printer queue CCCLIBLSR1, idle, on OSIBK1::"CCCLIBLSR1:9100", mounted form DEFAULT

/AUTOSTART_ON=(OSIBK1::"CCCLIBLSR1:9100") /BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=DEFAULT) Lowercase /OWNER=[SYSTEM]
/PROCESSOR=TCPIP$TELNETSYM /PROTECTION=(S:M,O:D,G:R,W:S)
SYS_OSIBK1>

I'd like it to look like this, (I'm using a different printer for this example)

OSIJX1> show que nb1 /full
Printer queue NB1, idle, on OSIJX2::"HP1NB:9100", mounted form DEFAULT2 (stock=DEFAULT)

/AUTOSTART_ON=(OSIJX2::"HP1NB:9100") /BASE_PRIORITY=4 /DEFAULT=(FORM=DEFAULT2 (stock=DEFAULT)) /LIBRARY=HP5LASER Lowercase
/OWNER=[SYSTEM] /PROCESSOR=TCPIP$TELNETSYM /PROTECTION=(S:M,O:D,G:R,W:S) /SEPARATE=(RESET=(RESET))
OSIJX1>

I tried:
SYS_OSIBK1>set printer cccliblsr1 /library=hp5laser
SYS_OSIBK1>set queue cccliblsr1 /library=hp5laser
But neither will make the connection.

Regards,
Kirk
2 REPLIES
Bojan Nemec
Honored Contributor
Solution

Re: associate a .tlb library file with a print queue

Hi,

First stop the queue with STOP/NEXT then
use START/QUEUE queue /LIBRARY=library.

You can use /LIBRARY also with INITIALIZE /QUEUE

Bojan
Bojan Nemec
Honored Contributor

Re: associate a .tlb library file with a print queue

Sorry,

Probably you want to know how to change other things that are different.

For the /SEPARATE=(RESET=(RESET)) use:
$ SET QUEUE queue /SEPARATE=(RESET=(reset))

reset is the reset module.

To get rid of the FEED in the /DEFALUT use:
$ SET QUEUE queue /DEFAULT=NOFEED

For further informations you can look at the HELP START /QUEUE and HELP SET QUEUE or HELP QUEUES which is the summary of all commands about queues.

Bojan