VFP8.0 Chaining Reports
I have an HP LJ 9000 which has the ability to stack and staple and has four paper sources. The app gathers data and then prints a series of summary and detail reports. The summary report is printed on colored paper and the detail reports on letterhead, obviously from two different paper trays. A single summary followed by up to 10 detail reports should print and staple forming a group. This is the code that I was using to complete this:
SELECT file1
REPORT FORM report1 NEXT 1 NOCONSOLE TO PRINTER Nopageeject
SELECT file2
GOTO file1.record
REPORT FORM Report2 NEXT file1.records NOCONSOLE TO printer
I had this same problem a few months ago when I rebuilt the machine and through many headaches it finally began to work again. Unfortunately, despite wanting to document what I did, I never figured it out.
I currently have the printer set up twice as two different printers with the requirements of each report set to the printer as well as saving the printers environments to each report.
Here is the bottom line: When using NOPAGEEJECT the detail reports keeps the properties of the summary report. The only real changer between the two reports is the paper source so in theory there shouldn't be any layout issues that NOPAGEEJECT doesn't allow. Any help/solution would be GREATLY appreciated.

