CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: printer object

  1. #1
    Join Date
    Jul 1999
    Posts
    10

    printer object

    I am using printer object to print a report. This report has 400 lines . My problem is that after printing 58 lines on the current page it should skip to the next page and then print the next 58 lines and so on , this is not happening.

    Now this does not happen and all the matter is printer continuesly that is there is no gap.

    how do i create the above report


  2. #2
    Join Date
    Aug 1999
    Posts
    3

    Re: printer object

    Is it to late to answer this question? Can't you just use a do while combined with a for...next statement like:
    Do while still data to print
    for count = 0 to 58
    print statements
    next count
    printer.newpage
    Loop


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

Featured