I have several documents printing in a loop. At the begining of the page I use Printer.Page to get the page number, if the document exceeds a page then I use Printer.Newpage to increment it. At the end of the page I use a Printer.EndDoc to end the print job then continue printing the next document.
What happens is the first page prints with a page 1, every page after that prints a page 2 on it. I have tried placing the Printer.EndDoc in different places and even tried forcing Printer.Page to 1. It either errors out or continues to print page 2.
What happens is the first page prints with a page 1, every page after that prints a page 2 on it. I have tried placing the Printer.EndDoc in different places and even tried forcing Printer.Page to 1. It either errors out or continues to print page 2.