VB6: Using Print Command in the code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mohan Krishna
    New Member
    • Oct 2007
    • 115

    VB6: Using Print Command in the code

    Hi EveryOne!

    Please any one help in the following Q's. I am using to print a restaurant bill using PRINT command in the code.
    1. How can I change the FONT of the text to be printed?
    2. How can I change the ALIGNMENT (to be centered) of the text heading?
    3. How can I maintain the PAGE SIZE (A4 or half of it)?
    4. How can the data more than a page be printed on the second page?

    PLEASE help me asap.

    ThanQ
  • 9815402440
    New Member
    • Oct 2007
    • 180

    #2
    hi
    follow this link http://msdn2.microsoft.com/en-us/lib...ft(VS.80).aspx

    regards
    manpreet singh dhillon hoshiarpur
    Last edited by Killer42; Nov 9 '07, 02:33 AM. Reason: Activated link

    Comment

    • Mohan Krishna
      New Member
      • Oct 2007
      • 115

      #3
      Thank You Manpreet!

      Can I use Print #1,... command?

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Originally posted by Mohan Krishna
        Thank You Manpreet!

        Can I use Print #1,... command?
        Print #1 is used to print text to a file, so it won't give you any way to handle formatting such as fonts.

        Comment

        Working...