1819847 Members
2613 Online
109607 Solutions
New Discussion юеВ

Print file with /FORM

 
Kitti Thanapuasuwan
Occasional Advisor

Print file with /FORM

I try to print file using the /FORM parameter. It always print the error message on the printer

%PSM-E-OPENIN, error opeing SYS$LIBRARY:SYSDEVCTL.TLB as input
-RMS-E-FNF, File not found

The details of QUEUE, FORM and MODULE are in the attached file

Did I do anything wrong?

Thanks
14 REPLIES 14
Craig A Berry
Honored Contributor

Re: Print file with /FORM

What do you get from

$ show logical PWRK$DEVCTL_HP_LASERJET

Somehow the device control library that the symbiont wants to use is not the one that's actually there.
Kitti Thanapuasuwan
Occasional Advisor

Re: Print file with /FORM

It's in SYS$LIBRARY. I think it's from HP
TonyMcGrath
Occasional Advisor

Re: Print file with /FORM

I'm wondering why it's telling you that it cannot find the SYSDEVCTL library, when it's not the library you asked specified.

From your "$ SHOW QUEUE/FULL" command it tells us that the device is
ALPHA1::"sys$print:9100"

The fact that "sys$print" appears there worries me. Do you have a logical "SYS$PRINT" defined on your system? If so then maybe the logical is pointing to another printer queue which is using the SYSDEVCTL library.

Does the print command work if you do NOT use the /FORM qualifier? From my small amount of testing with non-existant libraries it ought to still work.
Terry Yeomans
Frequent Advisor

Re: Print file with /FORM

Hi Kitti,
if you type SHOW QUEUE /FORM /FULL
this will show all forms set up on the node / cluster.
If the form is not listed, thenyou will need to create it (but that's anothrer story) !
Hope this helps Terry.
David B Sneddon
Honored Contributor

Re: Print file with /FORM

Kitti,

From your attachment, the queue definition looks alright
except for the "sys$print", as has already been mentioned.
What does TCPIP SHOW HOST SYS$PRINT reveal?
The error indicates that it is looking for SYSDEVCTL
when the queue has the PWRK library associated with it.
Can you give us a log of exactly what you are typing?

Dave
Jan van den Ende
Honored Contributor

Re: Print file with /FORM

Kitti,

to me also the SYS$PRINT issue looks like potential trouble.

One other thing I would like checked, just to make sure:
SHOW QUEUE/FORM/FULL

-- is the form definition specifying ONLY modules in the library (have a double look at spelling, you would not be the first to trip over sligjt mis-spellings!)
-- the default form is DEFAULT, does that also only specify modules that can be found in your library?

Well, just shooting here; if I missed completely then excuse me, but for the odd chance that I hit something.. :-)

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Kitti Thanapuasuwan
Occasional Advisor

Re: Print file with /FORM

I go back and setup another device PRT203 instead of SYS$PRINT. It's the same error.

Please see the attached file for the LOG

It's no error if I print it without /FORM

Thank you very much
Andre Menard
Advisor

Re: Print file with /FORM

It looks like you did not define the library
when you created the printer queue.

If you do not define a library module, then
OpenVMS defaults to SYS$LIBRARY:SYSDEVCTL.TLB.

your init command should be something like this

"init/queue/library=sys$library:pwrk$devctl_hp_laserjet.tlb"

Andre
Lawrence Czlapinski
Trusted Contributor

Re: Print file with /FORM

Kitti,
1. We are assuming that you are using the DCL PRINT command and not a PRINT symbol.
2. It's not good practice to define a queue name or a printer name as SYS$PRINT because of possible confusion with system logical SYS$PRINT. You could potentially wind up with the logical SYS$PRINT pointing to some other printer. $PRINT without a queue specified normally goes to logical SYS$PRINT which may or may not be going to your printer SYS$PRINT.
Lawrence

Jan van den Ende
Honored Contributor

Re: Print file with /FORM

Yeah,

Kiiti, I should have tought of asking this before:

IF, (on a system, group, user, whatever leve) SYS$PRINT is or can be a logical name that references another queue, then WHAT is the /LIBRARY for that one?
Undefined => default. That _WOULD_ also generate this error.

-- and if this is NOT the issue, consider it like this: it looks like it MUST be some unexpected crazy error, so fight it with unexpected crazy ideas.

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Lawrence Czlapinski
Trusted Contributor

Re: Print file with /FORM

Kitti, as Andre said you need to specify the library: init/queue/library=sys$library:pwrk$devctl_hp_laserjet.tlb queue_name
Lawrence
Jan van den Ende
Honored Contributor

Re: Print file with /FORM

Lawrence,

look at her attachments, the thing is IT LOOKS LIKE SHE IS DOING THAT CORRECTLY.

That is why we all are searching tiny, miserable nitpicking-kind of cruel coincidences.

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Kitti Thanapuasuwan
Occasional Advisor

Re: Print file with /FORM

Dear everyone,

Now I succesfully setup the queue. I have to use the parameter /lib on either command INIT or START/QUE

Thank you for your kindness.
Ian Miller.
Honored Contributor

Re: Print file with /FORM

Kitti,
see
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
for how to assign points to the responses for this and your other questions.

See
http://forums1.itrc.hp.com/service/forums/helptips.do?#16
for how to close a discussuion (after you assign points).
____________________
Purely Personal Opinion