Results 1 to 4 of 4

Thread: Printing from beginning of page in VB.Net

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    10

    Printing from beginning of page in VB.Net

    I have a printing program which runs in a timer controlled loop.

    Now, I want it so that the printer starts the printing from a new page everytime the print command is called. Right now, the printer stops whereever the printing stops, which means the next page starts from the middle of the page instead of a new page.

    Is there a way to set this in VB.Net Printing Namespace?

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

    Re: Printing from beginning of page in VB.Net

    Each execution of the PrintPage event handler should print a single page. Are you saying that that is not the case?
    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
    New Member
    Join Date
    May 2006
    Posts
    10

    Re: Printing from beginning of page in VB.Net

    That is not the case.

    Does it have to do with the Settings on the Printer?

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

    Re: Printing from beginning of page in VB.Net

    I think we should see some code, like your PrintPage event handler and where you call Print.
    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

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