Contents of the TOGGLPRT.DOC file
TOGGLPRT (CR) JSS, Inc. 1992
This is just a little ditty to toggle quickly between two printers.
In my case, I have an onboard FAX which, under Windows, just looks
like any other print driver. So to FAX a documet from any Windows
application, one simply changes to the FAX printer and prints.
Since many Windows applications don't have a menu item allowing
you to reset the printer, this isn't always as easy as it looks.
Hence the utility TOGGLPRT.
The .ZIP file contains this .DOC file, The VB .MAK file, one each
.FRM file and .BAS file, and the resultant .EXE file.
YOU WILL NEED TO MODIFY THE SOURCE to reflect the two devices YOU
wish to toggle. You'll find the exact wording you need in the
WIN.INI file, under [devices]. For instance, for my HP-II I found:
HP LaserJet Series II=HPPCL,LPT1:
You COPY that line, substituting a comma for the equal sign, and put
it ALL on the right side of a NEW LINE YOU CREATE:
HPKey=HP LaserJet Series II,HPPCL,LPT1:
Note that the new line goes in the [windows] section of WIN.INI
Do the same again for the second of the two printers you need to
toggle between, and you're all set. (The only other change would
be if your WIN.INI is in some directory other than C:\WINDOWS.)
I hope it's helpful to someone. So many on the forum have been so
helpful to me, through a thousand jerky questions.
Center Point, Texas