Version 8.3.4
 —  PDF and FOP Services  —

Printing

There are two commonly-used ways for producing paper printouts:

Server side printing is done via the interface IPDFFOPService:

public interface IPDFFOPService
{
    public String generateXSLFO();     
    public byte[] generatePDF();
    public void print(String printerName) throws FOPPrintException;
    public byte[] generatePDFfromFOXML();
    public ILog getLog();
    public Protocol getProtocol();
    public String getTranslationFileName();
}

By using the method print(...), you can send a document directly to a printer.

Top of page