Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2002
    Posts
    25

    Unhappy Unanswered: How do i print a form in VB 6.0

    Can somebody send me entire code that alows you to print a form to your default printer.
    My input parameters would be Page Size and no. of copies.
    if possible can i preview form before printing???
    help help help plzzzzzzz,

  2. #2
    Join Date
    Sep 2003
    Location
    Cincinnati, Oh USA
    Posts
    203

    Re: How do i print a form in VB 6.0

    Just want to print form 1, use

    Private Sub Command1_Click()
    Form1.PrintForm
    End Sub

    You can use the common dialog control for more control.
    To preview print requires alot more code.
    This info can be found in your VB help files.


    Originally posted by prashant114
    Can somebody send me entire code that alows you to print a form to your default printer.
    My input parameters would be Page Size and no. of copies.
    if possible can i preview form before printing???
    help help help plzzzzzzz,
    Rick Knight
    KnightShift Office Solutions and Horse Breaking
    VB, VBA, FileMaker, Access Solutions, Web Solutions

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •