Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programatically change Driver Font settings
Message
From
06/08/2006 09:45:30
Aman Bains
Jaguar Computers
Jalandhar, India
 
 
To
05/08/2006 06:43:59
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01142933
Message ID:
01143299
Views:
10
>>>>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

No you MIS-UNDERSTOOD me.

I want to write a program to change a printer driver setting.

I have all the printer codes with me, but i want to fill them in the Generic/Text Driver's "Fonts" setting like "Bold On" & "Bold Off", NOT manually but by writing a program.
Aman
-------
Lets fly away to the Land where there is Love & Peace
Previous
Reply
Map
View

Click here to load this message in the networking platform