Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Escape sequence with a dot matrix printer
Message
De
21/10/1999 12:13:56
 
 
À
21/10/1999 12:06:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00277848
Message ID:
00279415
Vues:
56
>Hi,
>I tried the rawprint.vcx and it still doesn't work. In both, windows 95 and Windows NT4, the command line "StartDocPrinter(lnhand, 1, lcdoc)" gives me zero ???? as answer when I used the Panasonic KX-P2023. So it doesn't print at all with this one. So I change the printer for a generic text only and in both case, it prints my text file without my symbols and not centered. I cannot say that the Panasonic is not ok because it is ok when I run it under foxpro 2.6 dos. It doesn't matter to me to set the printer for a generic one if it prints my symbols correctly. Any suggestions?

If you can create a file with the necessary control codes embedded, look at my FAQ entry on how to copy a file to a printer port using the CopyFile() API. It's FAQ entry #524, How do I copy a file to a printer port
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform