Results 1 to 3 of 3

Thread: Printer

  1. #1

    Thread Starter
    Registered User
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64

    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.

  2. #2
    Addicted Member Renee K's Avatar
    Join Date
    Jun 2002
    Posts
    163

    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.

  3. #3
    Hyperactive Member Vishalgiri's Avatar
    Join Date
    Oct 2003
    Location
    India
    Posts
    345

    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
  •  



Click Here to Expand Forum to Full Width