Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

font size/type in printer output? 1

Status
Not open for further replies.

hughLg

Programmer
Feb 18, 2002
136
0
0
MY
I'm using the following to send output to printer:
Code:
FILE *prn = fopen("LPT1", "w");
fprintf(prn, "Line 1...");...

How to change the font tyre and size for the output? Thanks.
 
> How to change the font tyre and size for the output?
Well you need to read the manual for your printer for starters, to find out how to change such things for your printer.

You could find out if your printer supports such things as postscript (a standard page description language) which a lot of printers support. Then at least you're not tied to one specific printer.
This should get you started.



It's one of the nice things about windows GUI programming is that the printer interface is common to all printers and all applications, so all you need to do is decide what to print and the rest happens for you.

--
 
It would normally be the default printer font set from the front panel of the printer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top