home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / vms / 19152 < prev    next >
Encoding:
Internet Message Format  |  1992-12-11  |  2.1 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!ucbvax!corral.uwyo.edu!JIMKIRK
  2. From: JIMKIRK@corral.uwyo.edu (Jim Kirkpatrick)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Plotters and Queues
  5. Message-ID: <3555261611121992.A27880.OUTLAW.116C5C1A2E00*@mrgate.uwyo.edu>
  6. Date: 11 Dec 92 23:26:55 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 44
  11.  
  12. Somebody (who doesn't give a clue as to who he/she is) asks about
  13. conecting an HP plotter.
  14.  
  15. Here's what I do with our 8800 to which the plotter is connected via one
  16. of the serial ports of a DMB-32 --
  17.  
  18. $ DEFINE/FORM HP36 23/MARGIN=(BOTTOM=0)/NOTRUNCATE/NOWRAP-
  19.         /DESCRIPTION="HP plotter paper, 36-inch"
  20. $ DEFINE/FORM HP24 24/MARGIN=(BOTTOM=0)/NOTRUNCATE/NOWRAP-
  21.         /DESCRIPTION="HP plotter paper, 24-inch"
  22. $ DEFINE/FORM HP11 25/MARGIN=(BOTTOM=0)/NOTRUNCATE/NOWRAP-
  23.         /DESCRIPTION="HP plotter paper, 11-inch"
  24. $!
  25. $!  Set up port and queue for HP plotter.
  26. $!
  27. $ SET TERMINAL TXA2:/PERMANENT/DEVICE_TYPE=UNKNOWN/LOWERCASE/NOBROADCAST-
  28.       /NOTAB/FORM/SPEED=19200/WIDTH=511/NOMODEM/TTSYNC/NOWRAP/NOTYPE_AHEAD
  29. $ SET PROT=(S:RWLP,O,G,W)/DEVICE TXA2:
  30. $ SET DEVICE TXA2:/SPOOLED=(HP_PLOT)
  31. $ INIT/QUEUE/NOSTART/ON=OUTLAW::TXA2/SEP=(NOBURST,NOFLAG,NOTRAIL,NORESET)-
  32.       /DEFAULT=(NOBURST,NOFEED,NOFLAG,NOTRAIL,FORM=HP36)/FORM=HP36-
  33.       /NORECORD_BLOCKING/DEVICE=TERMINAL  HP_PLOT
  34.  
  35.  
  36. We are running VMS 5.5-1 currently.  When I tried to get this thing
  37. working, it was sheer hell.  VMS simply does not support the concept of
  38. a plotter.  For example, if you do a STOP/QUEUE/REQUEUE, it thinks it
  39. is a printer, and will re-start in the middle of the file.  I still haven't
  40. figured out how to prevent that.  It makes requeueing futile.
  41.  
  42. The buffer overflow is probably because the port is missing the X-OFF
  43. from the plotter, or the plotter is not configured to send it; else if
  44. you're using CTS signalling, the port isn't set up for it.  I don't have
  45. the RS-232 pin numbers memorized; check that you have data going both
  46. ways (if using X-ON/X-OFF) and/or CTS (if set for that).
  47.  
  48. You may have to hook up a monitor to get it all figured out.  We did
  49. (many times).
  50.  
  51. Good luck!
  52.  
  53. Jim Kirkpatrick     jimkirk@corral.uwyo.edu
  54.  
  55.  
  56.