Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HELP!! How to capture LPT1 and send to USB (Win ME)
Message
De
10/05/2001 23:45:23
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
 
À
10/05/2001 17:52:40
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00506025
Message ID:
00506108
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform