Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a file directly to a printer
Message
De
17/07/2007 14:12:36
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01241205
Message ID:
01241219
Vues:
23
This message has been marked as the solution to the initial question of the thread.
lcText = filetostr("myfile.txt")

lcPrinter = getprinter()
if !empty(lcPrinter)
	set printer to name (lcPrinter)
	set printer on
	set printer font 'Courier',12  && choose your font here
	??? lcText
	set printer off
endif
>I create a text file that I need to send to a network printer directly. i.e. no driver...
>
>How do I tell fox to print it.
>
>Mike
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform