Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 332
  • Last Modified:

Too many print jobs when using PrintForm

Everytime I print a batch of records I use the following code:

Do Until rec.EOF
  'code goes here
  frmRegistrationCSW.PrintForm
Loop

Unfortunately, when I have 900 records, it makes a "print job" for each form and overloads the printer.  Is there a way to loop through all 900 records and append them into one document?
0
al4629740
Asked:
al4629740
  • 2
1 Solution
 
shorvathCommented:
Several options...

Unfortunately the PrintForm Method only prints the object that calls it.

http://msdn.microsoft.com/en-us/library/aa244147%28v=vs.60%29.aspx

So, you could try to set you default printer to PDFcreator and save all 900 screen shots to PDF, combine the into one document, and then print it.

You could also try the Report Designer and print a Custom Report for each record and then print the entrie Report.

Maybe you could add more RAM to the printer to prevent the "overload",  od just get a printer that can handle the volume...
0
 
al4629740Author Commented:
Is there a way to continually paste into Word?
0
 
shorvathCommented:
If your talking about taking the Form image and pasting the picture into a Word Document, that would be a big task.  Since I don't know what your Form looks like, I can't really say for sure what the best way to solve your problem would be.  I can assume that since you mentioned Word, working with the Visual Basic RichTextBox might be an option.  

The RichTextBox has quite a bit of formatting functionality, but no graphics capability.

Could you provide a snapshot of your Form?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now