Results 1 to 2 of 2

Thread: printing through com port

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Posts
    6

    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

  2. #2
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    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
  •  



Click Here to Expand Forum to Full Width