Class XPrintService

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static Logger LOG  
      private java.awt.print.PrinterJob pj  
    • Constructor Summary

      Constructors 
      Constructor Description
      XPrintService()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.print.PageFormat getDefaultPage()  
      boolean print​(java.awt.print.Pageable document)  
      boolean print​(java.awt.print.Printable painter)  
      java.awt.print.PageFormat showPageFormatDialog​(java.awt.print.PageFormat page)  
      private void showWarning()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        private static final Logger LOG
      • pj

        private java.awt.print.PrinterJob pj
    • Constructor Detail

      • XPrintService

        public XPrintService()
    • Method Detail

      • showPageFormatDialog

        public java.awt.print.PageFormat showPageFormatDialog​(java.awt.print.PageFormat page)
        Specified by:
        showPageFormatDialog in interface PrintService
      • print

        public boolean print​(java.awt.print.Pageable document)
        Specified by:
        print in interface PrintService
      • print

        public boolean print​(java.awt.print.Printable painter)
        Specified by:
        print in interface PrintService
      • showWarning

        private void showWarning()