Results 1 to 3 of 3

Thread: Set a font to Print[RESOLVED]

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2004
    Posts
    1,414

    Resolved Set a font to Print[RESOLVED]

    Hi:

    I want set a font (Century Ghotic) on my project to print a few labels.

    Who Can I do this?

    Thanks
    Last edited by sacramento; Jun 24th, 2006 at 08:16 AM.

  2. #2
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Set a font to Print

    This prints a label on a Dymo label writer from my app...

    Code:
        Printer.Orientation = vbPRORLandscape
        Printer.Font = "Courier new"
        Printer.FontBold = True
        Printer.FontSize = 10
        Printer.Print
        Printer.Print
        
        Printer.Print strName
        Printer.FontSize = 8
        Printer.Print strASN
        Printer.Print
        Printer.FontSize = 16
        Printer.Print " " & strSSN
        Printer.EndDoc

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2004
    Posts
    1,414

    Re: Set a font to Print

    thanks

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