Skip to main content
Windward

Direct Printer Output Features

Overview

Windward Reports supports a printer as an output option. In other words, instead of generating DOCX reports or PDF reports, you can have the report be sent directly to a printer. For application developers, printer output is produced by the ProcessPrinter (Java) or ReportPrinter (.NET) class.

Printer Name

The printer name is usually in the form \\server\name. For application developers, the printer name can be set programmatically using the setPrinter() method.

Print Multiple Copies

Each report process can produce multiple printed copies. For application developers, the number of copied can be set using the setCopies() method.

Duplex Printing

Print on both sides of the page.

.NET Engine example of using the setDuplex() method:
ReportPrinter myReport = new ReportPrinter(template, "Brother MFC-8910DW");
myReport.Configuration.setDuplex(Duplex.Vertical);
Java Engine example of using the setDuplex() method:
ProcessPrinter report = new ProcessPrinter(template,"Brother MFC-8910DW");
report.getPrinterConfiguration().setDuplex(Sides.DUPLEX);
  • Was this article helpful?