Results 1 to 9 of 9

Thread: [RESOLVED] print form & print preview

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2003
    Location
    ohio, usa
    Posts
    719

    Resolved [RESOLVED] print form & print preview

    how do I display A form in print preview??

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: print form & print preview

    Are you saying you want to preview the actual form, as in a screen shot, or just the data displayed by in the form?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2003
    Location
    ohio, usa
    Posts
    719

    Re: print form & print preview

    Quote Originally Posted by jmcilhinney
    Are you saying you want to preview the actual form, as in a screen shot, or just the data displayed by in the form?

    I actually have a bar chart displayed on the form so the main part of the form is all i need.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: print form & print preview

    And what exactly is this bar chart? Is it GDI+ drawing that you did yourself? Some third-party charting control? Some Label controls? Please, take the time to post clearly in future. Nine words is very rarely enough to provide us with the information we need to provide you with a solution. Give us a clear and complete description of the situation because ESP doesn't work over the Internet.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2003
    Location
    ohio, usa
    Posts
    719

    Re: print form & print preview

    Quote Originally Posted by jmcilhinney
    And what exactly is this bar chart? Is it GDI+ drawing that you did yourself? Some third-party charting control? Some Label controls? Please, take the time to post clearly in future. Nine words is very rarely enough to provide us with the information we need to provide you with a solution. Give us a clear and complete description of the situation because ESP doesn't work over the Internet.

    Sorry, i should have thought. it is a third party chart control. the chart is created in code. the chart .dll does most of the work.


    I have attached a screen shot
    Last edited by RonR; Apr 14th, 2008 at 04:33 PM.

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: print form & print preview

    So is it safe to assume then that that third-party control/library doesn't provide any printing functionality itself? If not then you should probably look at downloading the VB Power Packs from Microsoft. It includes a PrintForm component that I believe (never used it myself) allows you to print an image of all or part of a form as it's displayed on-screen.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2003
    Location
    ohio, usa
    Posts
    719

    Re: print form & print preview

    Quote Originally Posted by jmcilhinney
    So is it safe to assume then that that third-party control/library doesn't provide any printing functionality itself? If not then you should probably look at downloading the VB Power Packs from Microsoft. It includes a PrintForm component that I believe (never used it myself) allows you to print an image of all or part of a form as it's displayed on-screen.

    ok and thanks

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

    Re: [RESOLVED] print form & print preview

    If you can find any documentation for the chart control with regard to printing you will probably get nicer printing as the form print control (and pretty much every other form print solution) only prints images at 72dpi (screen resolution)....

  9. #9

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2003
    Location
    ohio, usa
    Posts
    719

    Re: [RESOLVED] print form & print preview

    Quote Originally Posted by Merrion
    If you can find any documentation for the chart control with regard to printing you will probably get nicer printing as the form print control (and pretty much every other form print solution) only prints images at 72dpi (screen resolution)....

    I did get it working, but it is grainey.

    what is(and where is it) the Form Print Control???

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