|
-
Feb 26th, 2009, 02:40 AM
#1
Thread Starter
New Member
printing through com port
iam working with a printer connected to port1
this is not like regular printer.
it is like a current bill generator printer.
when we type data directly it has to print on paper
Mscomm1.Output = txtMessage.Text & vbCr
the code is working
the problem is iam not able to set the fonts
plzzzzzzzzzzz help me
thanks in advance
-
Feb 26th, 2009, 02:53 AM
#2
Re: printing through com port
You need to send control codes to set the font on your printer (if it is capable of different fonts at all) - and what control code you send depends on what printer.
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
|