Printing 2 repors double sided (1 Viewer)

JamesN

Registered User.
Local time
Today, 00:56
Joined
Jul 8, 2016
Messages
78
Hi,

I have a database which has 2 different reports (Print Form and PrintForm2) They are printed via a button in a form (code below)

DoCmd.OpenReport "PrintForm", acViewReport
DoCmd.PrintOut
DoCmd.close acReport, "PrintForm"
DoCmd.OpenReport "PrintForm2", acViewReport
DoCmd.PrintOut
DoCmd.close acReport, "PrintForm2"

Currenltly they are printing one sided on two different sheets. Is it possible to add code to print both reports as double sided on one sheet?

Thanks

James
 

Ranman256

Well-known member
Local time
Yesterday, 19:56
Joined
Apr 9, 2015
Messages
4,337
In control panel, set the printer property to print duplex.
Then run the report.
 

JamesN

Registered User.
Local time
Today, 00:56
Joined
Jul 8, 2016
Messages
78
Checked in control panel and it is set to double sided in settings. Does the VBA need amending?
 

Ranman256

Well-known member
Local time
Yesterday, 19:56
Joined
Apr 9, 2015
Messages
4,337
it shouldnt. Unless you stuck some page break controls into the report.
BUT in the report design, set it in the report,
click Page setup,
page tab,
use specific printer,
set the property of the printer to DUPLEX.
 

HiTechCoach

Well-known member
Local time
Yesterday, 18:56
Joined
Mar 6, 2006
Messages
4,357
Hi,

I have a database which has 2 different reports (Print Form and PrintForm2) They are printed via a button in a form (code below)

DoCmd.OpenReport "PrintForm", acViewReport
DoCmd.PrintOut
DoCmd.close acReport, "PrintForm"
DoCmd.OpenReport "PrintForm2", acViewReport
DoCmd.PrintOut
DoCmd.close acReport, "PrintForm2"

Currenltly they are printing one sided on two different sheets. Is it possible to add code to print both reports as double sided on one sheet?

Thanks

James

James,

Each print job start on the front side of the page.

Since are sending two print jobs, they each start on the front side.

You need some way to combine the two report into a single multiple page print job. That way the printer can print it full duplex (front end back).

The simplest method is to combine the two reports into a single report. This may be as easy as add the second report as a sub report to the first report's Report Footer section.

If the report can't be combined, another option is to save them both to a PDF and then combine them together before printing.
 

Users who are viewing this thread

Top Bottom