home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / vms / 14305 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  2.3 KB

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