|
-
October 1st, 1999, 02:00 PM
#1
Printing to a Captured Printer
Does anybody know of a good way to find the Printer.DeviceName of a captured printer port such as LPT2 or LPT3. This needs to work both on WinNT and Win95.
I've tried the following code and it doesn't work on all platforms.
for i = 0 to me.Printer.NDevices - 1
me.Printer.DeviceName = me.Printer.Devices(i)
If me.Printer.Port = "LPT2:" then Exit for
next i
Kevin Wood
Denver, CO
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|