Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HELP!! How to capture LPT1 and send to USB (Win ME)
Message
From
10/05/2001 23:45:23
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
 
To
10/05/2001 17:52:40
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00506025
Message ID:
00506108
Views:
21
This message has been marked as the solution to the initial question of the thread.
>Hi,
>
>A client has a USB printer. My FPDos app prints to LPT1. How do I capture printing to LPT1 and resend it to USB port *in the same machine*.
>
>I tried the following instructions which work for a network printer, but WinME will not accept the second one.
>
>NET USE lpt1 /DELETE
>NET USE lpt1 \\ThisMachineName\PrinterShareName

Unlike NT/W2K, W95/98/ME don't support redirecting local ports/devices to local shares.

MS has an article, http://support.microsoft.com/support/kb/articles/Q259/9/39.ASP but it isn't a lot of help.

If the printer has both parallel and USB connections, you could switch to the parallel connection.

You should be aware of another issue, however. The printer may only support printing from Windows (a so-called GDI printer). Dumping a raw string of ASCII to such a printer will do nothing, or produce garbage as the Windows printer driver must render the print job for the printer engine to print it.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform