BBS: Inland Empire Archive
Date: 07-12-92 (21:28) Number: 144
From: RICK PEDLEY Refer#: NONE
To: LOGAN ASHBY Recvd: NO
Subj: Lpt2: Conf: (2) Quik_Bas
On 07-11-92 Logan Ashby wrote to Rick Pedley...
LA> Rick, just for grins I took a peek at the source for
LA> PBCLONE's version of prtswap. What it does is swap the
LA> addresses for the two ports in the BIOS data area. (About
LA> all it could do short of installing a handler for int &H17)
LA> This works for programs that print through DOS (IOW to
LA> LPT1:), but probably not when they use the BIOS interrupt
LA> and _definitely_ not if they go directly to the hardware.
LA> I don't have a solution for you, but I thought a little
LA> more info might help.
LA> One more thought, (wow, that's two today!), have you
LA> tried using Port Finder to swap
LA> it does the same thing.
Thanks for clarifying this. Looks like I need an alternate way to
access LPT2 through BASIC. The docs with ProBAS (and presumably
PBCLONE) warn that this method may not work with spoolers, and
they were right. PRTSWAP is probably only useful when two printers
are connected to the same machine. Perhaps the spooler grabs the
port addresses when it first installs, and than PRTSWAP has no effect
because the spooler is unaware of the swap. I'll try Port Finder,
just picked it up last week.
Does anyone know of a way to print to LPT2 on a network, where
LPT2 is a printer attached to the server?
... OFFLINE 1.37
--- Maximus 2.01wb
* Origin: The BULLpen BBS * Intel 14.4EX (613)549-5168 (1:249/140)