home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / vmsnet / misc / 1023 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  2.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!mccall!infopiz!cmkrnl!jeh
  2. Newsgroups: vmsnet.misc
  3. Subject: Re: VMS/VAX and local printing
  4. Message-ID: <1992Nov20.185244.902@cmkrnl.com>
  5. From: jeh@cmkrnl.com
  6. Date: 20 Nov 92 18:52:44 PST
  7. References: <16NOV199200485411@vax2.concordia.ca>
  8. Organization: Kernel Mode Consulting, San Diego, CA
  9. Lines: 31
  10.  
  11. In article <16NOV199200485411@vax2.concordia.ca>, davek@vax2.concordia.ca
  12. (DAVID KURZMAN) writes:
  13. > I use a modem in order to
  14. > connect to a VAX.  Is there some way that I can print files directly to a
  15. > local printer without first downloading the files?  Is there a program
  16. > which will allow me to do this?
  17.  
  18. From what you've said, I'm inferring that you have a PC or a Mac with a modem
  19. and printer, and you're calling the VMS machine through some sort of terminal
  20. emulator program (Kermit, ProComm, SmartTerm, Telix, Mac240, etc.) in your
  21. machine.
  22.  
  23. The quickest answer is probably to get a terminal emulator program that lets
  24. you do this.  I'm pretty sure that Kermit can.  You just enable the session
  25. log feature and point it at your printer instead of a disk file.  Then you
  26. issue the command to the VAX to make it send the file to what it thinks is a
  27. terminal (e.g. TYPE filename).
  28.  
  29. VMS has some, but not much, awareness of "local printers" attached to VT-series
  30. terminals, and escape sequences sent by the VAX can turn the printer on and
  31. off.  A really clever terminal emulator program could emulate this on your
  32. machine.  Then you could write a little program (could be done in DCL) for the
  33. VAX that would take a file name and sent it to your terminal (device
  34. SYS$OUTPUT: would do) wrapped in the necessary escape sequences.
  35.  
  36.     --- Jamie Hanrahan, Kernel Mode Consulting, San Diego CA
  37. drivers, internals, networks, applications, and training for VMS and Windows-NT
  38. uucp 'g' protocol guru and release coordinator, VMSnet (DECUS uucp) W.G., and
  39. Chair, VMS Programming and Internals Working Group, U.S. DECUS VAX Systems SIG
  40. Internet:  jeh@cmkrnl.com, hanrahan@eisner.decus.org, or jeh@crash.cts.com
  41. Uucp:  ...{crash,eisner,uunet}!cmkrnl!jeh
  42.