function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jwegnerjwegner 

Printing multiple VisualForce pages from one command

I have a VisualForce page that references a custom object (Invoice__c) that has a child object of (Payments__c) and related relationships to several custom objects (Vendor__c, Inventory_Record__c) and a customer's standard Contact object.  I'm using a custom link on the Invoice__c object to call the VisualForce page for that particular record (Id).  Once I'm viewing the VisualForce page, I can issue a print command from my browser and print the page.

 

I would like to find a way to be able to generate and print multiple VisualForce pages from the same command.  For example, if I have fifty Invoice__c objects that I would like to print an invoice for, I am looking for a way to automate this rather than having to click through a custom link on each individual object fifty times.  I would appreciate any suggestions anyone may have.