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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Font issue

Status
Not open for further replies.

OrthoDocSoft

Programmer
May 7, 2004
291
US
Folks,

I do this: (the "false" is bold or not)

Code:
Call SetPrinterFont("Ariel", 48, False)

and it works fine. So I added a font to my windows fonts called "3 of 9 Barcode" and when I try:

Code:
Call SetPrinterFont("3 of 9 Barcode", 48, False)

I don't get the barcode output. Frick. I am stuck printing my own reports "by hand (ie, vb6), so I don't have the luxury of "Word" yet....

Does anyone know how to make this work? Do I have the font in the right place?

Thanks,

Ortho

[lookaround] "you cain't fix 'stupid'...
 
Folks,

Sorry to have bothered you. The method above works fine substituting the font "3 of 9 Barcode" as the name. The sub I sent that to was overriding it with the font "Ariel", so no matter what I sent it, it was selecting font "Ariel."

My problem is solved.

Thanks for caring.

Ortho

[lookaround] "you cain't fix 'stupid'...
 
dillette,

You know, I KNEW something was fishy.....

Ortho

[lookaround] "you cain't fix 'stupid'...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top