Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I can't print directly to LPT1
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00037511
Message ID:
00037804
Vues:
50
>Luis, I use this technique in our VFP 3.0 app for users who wish to print to dot matrix printers without using the printer driver. It prints much faster without all the fonts. When printing over a network (with captured printer ports) I had no problem, but on machines with local printers I got a similar error message. Try this: COPY FILE myText.txt TO LPT1.DOS - The KB says this should only be a temporary solution, but it was the only one I could find. The 3 letter extension (.DOS) can be anything you want. Hope this works for you too.
>Marcus.

Thanks Marcus, I tried that also and didn't work, I don't know why.
I ended up using TYPE Myfile.TXT TO PRINTER in combination with a
"Generic Text Only" printer driver. As the other folks said, I
will try again with a "PIF" file, if I can make it work in the background without showing the DOS window I will go for it. What bothers me
is that the KB says that this works, but it doesn't.
Thanks all of you for the help.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform