Example Invoice
  • invoice.xml
  • invoice.xsl
  • invoice.pdf

     command line example:
     fop.sh -xml invoice.xml -xsl invoice.xsl invoice.pdf


  • For better print quality convert the PDF to PostScript before sending it to the printer
    acroread -toPostScript invoice.pdf; lpr -Php4050r invoice.ps
     
    Printed using CUPS without converting to PostScript:
    lp -d PrinterName invoice.pdf
    lpr -Php4050r invoice.ps