|
-
Feb 2nd, 2005, 01:46 PM
#1
Thread Starter
Registered User
Printer
Ok, I have a Question, I am trying to print something, that uses the font "Terminal" and ascii, but when I print it, it don't print out correctly,
can anyone help me out
Code:
Printer.Font = "Terminal"
Debug.Print txtNfo.Font
Printer.FontSize = 24
Printer.FontBold = True
Printer.ForeColor = vbBlue
'Printer.Print Tab((Len("My Title") - 80) / 2); "My Title" 'Center the title and print in bold blue text
'Printer.Print String(80, "-")
Printer.FontSize = 12
Printer.FontBold = False
Printer.ForeColor = vbBlack
Printer.Print txtNfo.Text
Printer.EndDoc 'Send to print spooler for printing.
-
Feb 2nd, 2005, 02:20 PM
#2
Addicted Member
Re: Printer
It could be that your printer doesn't support those fonts, or it could have something to with them not being TrueType fonts or something.
Check your printer documents or website.
.·*¨) ¸.·*¨) ¸.·*¨*
(¸.*´ ¸.·´*'~*Renee~* (¸.*´~*
Funny how the little things can stop you dead in your tracks. 
-
Feb 4th, 2005, 02:30 PM
#3
Hyperactive Member
Re: Printer
Hi,
If Printer don't support that font, or font is not true type (.ttf) and you can use it in other applications, then you may simply Print to a picture box and then print the device context of the picture box...
also tell clearly,
"it don't print out correctly," What is wrong? problem with font, or font size or anything else?
Regards,
Vishalgiri Goswami
Gujarat, ( INDIA ).
---------------------
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|