Operating System - OpenVMS
1827893 Members
1705 Online
109969 Solutions
New Discussion

Re: Moving forms from one VMS server to another VMS server

 
SOLVED
Go to solution
Jorge Cocomess
Super Advisor

Re: Moving forms from one VMS server to another VMS server

Hi,

Would you know why I run into this error when I tried the Library/Extarct command?

>LIBRARY/EXTRACT=(HP9W)/OUTPUT=HP9W.TXT SYS$LIBRARY:HP.TLB
%LIBRAR-E-LOOKUPERR, error looking up HP9W in SYS$SYSROOT:[SYSLIB]HP.TLB;1
-LBR-E-KEYNOTFND, key not found

Please advise.

Thank you.

Jorge
Phil.Howell
Honored Contributor

Re: Moving forms from one VMS server to another VMS server

sys$library can be a search list
to check there is only one
DIR sys$library:hp.tlb

to find out what modules are in the library
LIB /LIS /FULL sys$library:hp.tlb

Phil
Jorge Cocomess
Super Advisor

Re: Moving forms from one VMS server to another VMS server

Phil - Per your suggestions, I found the HP.TBL and I found all the listings in the HP.TBL

The form that define (HP9W) is not in the HP.TBL table, should it be?

I am still very new about forms and HP library, so please bare with me.

What should I do next?

Thanks for your time.

Jorge
Phil.Howell
Honored Contributor

Re: Moving forms from one VMS server to another VMS server

can you post the output from the following on both your old and new systems?
dir sys$library:*.tlb
lib /lis /full of all the tlb files shown
also have a look at
http://h71000.www7.hp.com/doc/73final/6017/6017pro_062.html#assign_lib
Phil


Jorge Cocomess
Super Advisor

Re: Moving forms from one VMS server to another VMS server

Phil - As you requested;

Directory SYS$SYSROOT:[SYSLIB]
HP.TLB;1

LIB /LIS /FULL sys$library:hp.tlb
Directory of TEXT library SYS$SYSROOT:[SYSLIB]HP.TLB;1 on 22-JUN-2007 22:31:44
Creation date: 15-DEC-1995 08:03:11 Creator: Librarian A09-16
Revision date: 8-AUG-1997 08:45:35 Library format: 3.0
Number of modules: 41 Max. key length: 39
Other entries: 0 Preallocated index blocks: 11
Recoverable deleted blocks: 1 Total index blocks used: 3
Max. Number history records: 20 Library history records: 20

CHCM inserted 24-JUN-1997 09:45:12
HP_RESET inserted 11-JAN-1996 13:33:51
LASER66 inserted 24-JUL-1997 08:30:15
LASERCMP inserted 8-AUG-1997 08:42:39
LASERLND inserted 8-AUG-1997 08:42:45
LASLNDSP inserted 8-AUG-1997 08:42:55
LEGALCMP inserted 8-AUG-1997 08:43:01
LEGALLND inserted 8-AUG-1997 08:43:07
LGCMP12 inserted 8-AUG-1997 08:43:15
LGCMPFORM inserted 8-AUG-1997 08:43:22
LGCMPTST inserted 8-AUG-1997 08:43:28
LNDCMPFORM inserted 8-AUG-1997 08:43:34
LNDELIFORM inserted 8-AUG-1997 08:43:42
LNDELITE inserted 8-AUG-1997 08:43:47
LNDFORM inserted 8-AUG-1997 08:43:52
LNDLGCMPFORM inserted 8-AUG-1997 08:44:02
LNDLGELI inserted 8-AUG-1997 08:44:11
LNDLGELIFORM inserted 8-AUG-1997 08:44:18
LNDLGFORM inserted 8-AUG-1997 08:44:27
LONGCMP inserted 8-AUG-1997 08:44:34
PAGE_AID inserted 8-AUG-1997 08:44:40
PCMFORM inserted 8-AUG-1997 08:44:48
PELIFORM inserted 8-AUG-1997 08:44:54
PELILG inserted 8-AUG-1997 08:44:59
PELILGFORM inserted 8-AUG-1997 08:45:04
PELITE inserted 8-AUG-1997 08:45:09
PFORM inserted 8-AUG-1997 08:45:15
PLG inserted 8-AUG-1997 08:45:19
PLGCM inserted 8-AUG-1997 08:45:24
PLGCMFORM inserted 8-AUG-1997 08:45:29
PLGFORM inserted 8-AUG-1997 08:45:35
PORT_132 inserted 24-JUL-1997 09:11:14
PORT_3HOLE inserted 9-FEB-1996 07:48:48
PORT_L6 inserted 5-FEB-1996 15:59:47
PORT_L8_3HOLE inserted 6-FEB-1996 15:54:47
RESET inserted 24-JUL-1997 09:13:22
SIDEWAYS inserted 11-JAN-1996 14:16:57
SIDE_3HOLE inserted 5-FEB-1996 17:00:11
SIDE_L8 inserted 7-MAY-1996 18:36:13
WIDE inserted 8-MAY-1996 11:19:08
WIDE_3HOLE inserted 8-MAY-1996 12:43:32

Phil - Do I need to do anything special if I add a new HP printer in our department before we can get it properly print? As of now, we have a new printer isn't print landscape correctly, seem though the characters doesn't condensed enough to properly fit on one page.

Here's the ouput of the new printer that I was referring to:
Printer queue HP9050_ACC, idle, on ROVER::"HP9050_ACC:9100", mounted form A
/BASE_PRIORITY=4 /DEFAULT=(FLAG=ONE,FORM=DEFAULT,TRAILER) /LIBRARY=HP
Lowercase /OWNER=[SYSTEM] /PROCESSOR=TCPIP$TELNETSYM
/PROTECTION=(S:M,O:D,G:R,W:S) /SEPARATE=(RESET=(HP_RESET))

Any ideas?

Thanks,
Jorge


Phil.Howell
Honored Contributor

Re: Moving forms from one VMS server to another VMS server

I would try using one of the LND* modules in your library, start with LNDELITE
Phil
Jorge Cocomess
Super Advisor

Re: Moving forms from one VMS server to another VMS server

Phil - How would I go about doing that??

Please explain.

Thank you for your time.

Jorge
Phil.Howell
Honored Contributor

Re: Moving forms from one VMS server to another VMS server

define/form /setup=LNDELITE a

print test.txt /form=a /queue=hp9050_acc
Jorge Cocomess
Super Advisor

Re: Moving forms from one VMS server to another VMS server

Phil - Should I setup the /width to 180 or 132?

/width=180

Thank you.

Jorge
Doug Phillips
Trusted Contributor

Re: Moving forms from one VMS server to another VMS server

Any form used with embedded control sequences should be defined with /notruncate /nowrap and the width really doesn't matter; set it to the "text" width of the paper.