home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!comp.vuw.ac.nz!zl2tnm!toyunix!don
- Newsgroups: comp.os.vms
- Subject: Re: ?: Use of DECVEC printer sequences for LN03
- Message-ID: <1228242@zl2tnm.gen.nz>
- From: don@zl2tnm.gen.nz (Don Stokes)
- Date: 30 Aug 92 01:43:40 GMT
- Sender: news@zl2tnm.gen.nz (GNEWS Version 2.0 news poster.)
- Distribution: world
- Organization: The Wolery
- Lines: 46
-
- MR_CA_CBU@OSI.OHIO.GOV writes:
- > Our application requires us to 'merge' the form (DECVEC sequences)
- > with the SAS data, although the data could come from any source -
- > such as other database products.
-
- I can't help you on a utility to produce the sequences, but once you have
- the form, you can have the print queue set up to print your form on each page.
-
- To do this, create a file containing the sequences etc required to put
- your form on the page. You can move the "cursor" anywhere you like, as
- long as it ends up on the top left corner afterward. Let's call the file
- MYFORM.TXT.
-
- Now, stop _all_ print queues. The reason for this is that the bloody
- Librarian won't let you write to a text library while something else is
- fingering it. (The print symbionts finger the library, not the job
- controller itself, so you can leave your batch queues alone. But use
- STOP/RESET or STOP/NEXT to stop the queues -- and make sure thay really
- have stopped.)
-
- Now, place the module in the library:
-
- $ LIBRARY/TEXT SYS$COMMON:[SYSLIB]SYSDEVCTL.TLB MYFORM.TXT
-
- (Note that the library may not already exist, in which case you will
- need to add the /CREATE qualifier to the command.)
-
- You can now restart your queues.
-
- Next, create your form definition using the command:
-
- $ DEFINE/FORM MYFORM nnn /PAGE_SETUP=MYFORM
-
- Check out the HELP on DEFINE/FORM for other things that DEFINE/FORM can
- do for you. If the form is going onto plain paper, add /STOCK=DEFAULT
- to the DEFINE/FORM command. The "nnn" is a unique number -- use
- SHOW QUEUE/FORM to list the forms defined, and pick a number that isn't
- in use.
-
- Now, when you print a file with that form, just add /FORM=MYFORM to the
- PRINT command. The form will be printed on each page.
-
- --
- Don Stokes, ZL2TNM (DS555) don@zl2tnm.gen.nz (home)
- Network Manager, Computing Services Centre don@vuw.ac.nz (work)
- Victoria University of Wellington, New Zealand +64-4-495-5052
-