Home Subreports
New Blog Posts: Merging Reports - Part 1 and Part 2

Changing the printer bin for each page in a report

edited October 2002 in Subreports
I'm trying to change the printer bin for each page in a report. I'm using
MyReport.Engine.Page.Printersetup to set the BinName property to the
appropriate value. My problem is that the first page and second pages print
to the correct bins, but subsequent pages all print to the same bin as the
second page.

I've got another report which uses sub-reports with each sub-report being
sent to a different bin and printer. This works perfectly, but I'd prefer
not to have to duplicate the same page into sub reports.

Rob Lester.

Comments

  • edited October 2002
    Forgot to say I'm changing the BinName in the OnStartPage event
  • edited October 2002
    That should work. The report I'm running works when I use the OnStartPage
    event to swap the bin names. Make sure you have the latest printer driver
    installed. If you have subreports, be sure to set ParentPrinterSetup to
    false and you can point the subreports to print to different bins. There
    might be a problem with this printer not supporting this change very well.
    What is the printer model you are using? Can you test with another printer?


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.