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