cancel
Showing results for 
Search instead for 
Did you mean: 

Problem printing report in duplex using Crystal Reports API

Former Member
0 Kudos

Hi

I have trouble to print a report on both sides of the page. I keeps coming out on a single side.

I used Crystal Reports 2016 and I installed the SAP Crystal Reports runtime engine for .NET Framework.

I use the following statement to launch the print:

reportDocument.PrintToPrinter(printerSettings, pageSettings, false);

These are the values of printerSettings and pageSettings at the time of printing.

I also tried using the print options.

reportDocument.PrintOptions.NoPrinter = false;
reportDocument.PrintOptions.PrinterName = printerName;
reportDocument.PrintOptions.PrinterDuplex = CrystalDecisions.Shared.PrinterDuplex.Horizontal;
reportDocument.PrintOptions.CustomPaperSource = new System.Drawing.Printing.PaperSource();
reportDocument.PrintOptions.CustomPaperSource.RawKind = paperSource;
reportDocument.PrintToPrinter(1, false, 0, 0);

Same result.

The driver that is installed on the machine is HP Universtal Printing PCL 5.

The printer is a HP Laserjet 600 M602.

Thanks

Frédéric

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Update to SP 22 and see the sample printer app on the download wiki page:

https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

Don

Answers (0)