home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR10
/
BOYAN52B.ZIP
/
PRN-DRWY.DOC
< prev
next >
Wrap
Text File
|
1994-01-28
|
2KB
|
42 lines
Please note, if you have an existing door*.cfg file, delete and start
over.
The PRN-DRWY.BAM action module for BOYAN 5.2 is identical to DOORWAY.BAM,
except that it interprets print codes sent by DOORWAY to enable remote
printing. It follows the scheme described in the DWCOMM documentation:
1. DOORWAY must be invoked with the /Y:R parameter on its command line
(refer to DOORWAY documentation).
2. When DOORWAY requests the cursor position, the PRN-DRWY module will
respond with the bogus position (0,0). This signals to DOORWAY that
print codes will be intercepted properly. It does mean that cursor-
positioning requests are broken, however. Surely a better system
could have been devised?
3. The sequence ^[[#;nnnP triggers printing of the following nnn < 256
characters. Clearly this protocol is very susceptible to line hits;
it is recommended for use only with error-correcting modems.
4. BOYAN ignores the # argument which specifies the printer port used
on the remote host. Use the BOYAN \PP[x] macro to select the local
printer port. If you need to frequently switch between printers,
it would be easy to bind the macros \PP[1] , \PP[2] , and \PP[3] to
(say) the Alt-1, Alt-2, and Alt-3 keys.
5. Pressing <ESC> (or right mouse button) will abort printing--for
example, if BOYAN is caught waiting for the 255'th character, and
the host had only sent 254.
6. It's easy to install PRN-DRWY.BAM into BOYAN 5.0. First copy the
BAM file into your BOYAN directory. Then run BOYAN, go to Config
Area <A> and select option [A]--Add action module. Type "P" for the
menu letter, then "PRN-DRWY" <Enter>. Caution: PRN-DRWY should not
be chosen as the default BAM for BOYAN; however you *can* add the
command \AM[P] to your init macro, which has the same effect.
That's all there is to it!
Justin Boyan
16 Nov 1991