Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programatically change Driver Font settings
Message
De
05/08/2006 06:43:59
 
 
À
05/08/2006 00:32:38
Aman Bains
Jaguar Computers
Jalandhar, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01142933
Message ID:
01143185
Vues:
8
>>>I have a Generic Text Printer Driver installed. Can i progrmatically change it's "Fonts" setting like "Bold On" & "Bold Off".
>
>>Yes an no! :-) You have to send the right escape codes yourself.
>
>???
>Since you say yes & no. I assume that you mean i need to provide the correct escape codes & then it can be done programatically.
>
>i may be able to make the Generic Driver Font Setting work for me. Assuming that please try to help.
>
>Please give me a hint as to how :-
>to progrmatically change it's "Fonts" setting like "Bold On" & "Bold Off"?

You have to check with the printer manual, but for printers which can emulate IBM Proprinter, you can try this
???"Normal text " + chr(27)+chr(69) + "Bold text " +  chr(27)+chr(70) + "normal text again"
You will find a listing of escape codes for IBM Prprinter here http://www.brother-service.de/service/download/send_file.cfm?file_name=guide_ibmpro.pdf
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform