(atom-checker cfg)
A helper macro for the spec validation of the additional input of the macros for atoms.
A helper macro for the spec validation of the additional input of the macros for atoms.
(book! cfg)
A helper function to call the multimethod clj-paper-print.book/book
from the clj-paper-print.book
namespace.
A helper function to call the multimethod `clj-paper-print.book/book` from the `clj-paper-print.book` namespace.
(defbook -symbol)
A macro to create a Book object.
A macro to create a Book object.
(defpageformat -symbol)
(defpageformat -symbol config)
A macro to create a java.awt.PageFormat and generate its multimethods for manipulation. The macro use arity with no argument which will just create the PageFormat object, or with one argument which will be a map containing the paper object to automatically set the paper.
A macro to create a java.awt.PageFormat and generate its multimethods for manipulation. The macro use arity with no argument which will just create the PageFormat object, or with one argument which will be a map containing the paper object to automatically set the paper.
(defpaper -symbol)
(defpaper -symbol unit config)
A macro to define a var for a java.awt.print.Paper. The macro use arity with one argument, the paper name or the paper and the map with the dimensions. i.e a. (defpaper mypaper) b. (defpaper mypaper {:size {:width xxx :height xxx} :im-size {:x xx :y xx :im-w xxx :im-h xxx}}).
A macro to define a var for a java.awt.print.Paper. The macro use arity with one argument, the paper name or the paper and the map with the dimensions. i.e a. (defpaper mypaper) b. (defpaper mypaper {:size {:width xxx :height xxx} :im-size {:x xx :y xx :im-w xxx :im-h xxx}}).
(defprintjob -symbol)
(defprintjob -symbol config)
A macro to create a PrintrJob object.
A macro to create a PrintrJob object.
(graphics-methods! cfg)
A helper function to call the multimethod clj-paper-print.graphics/graphics-methods
from the clj-paper-print.graphics
namespace.
A helper function to call the multimethod `clj-paper-print.graphics/graphics-methods` from the `clj-paper-print.graphics` namespace.
(media-size! cfg)
A helper function to call the multimethod clj-paper-print.media-size/media-size
from the clj-paper-print.media-size
namespace.
A helper function to call the multimethod `clj-paper-print.media-size/media-size` from the `clj-paper-print.media-size` namespace.
(ms-lookup-size! cfg)
A helper function to call the multimethod clj-paper-print.media-size/ms-lookup-size
from the clj-paper-print.media-size
namespace.
A helper function to call the multimethod `clj-paper-print.media-size/ms-lookup-size` from the `clj-paper-print.media-size` namespace.
(pageformat! cfg)
A helper function to call the multimethod clj-paper-print.pageformat/pageformat
from the clj-paper-print.pageforamt
namespace.
A helper function to call the multimethod `clj-paper-print.pageformat/pageformat` from the `clj-paper-print.pageforamt` namespace.
(paper! cfg)
A helper function to call the multimethod clj-paper-print.paper/paper
from the clj-paper-print.paper
namespace.
A helper function to call the multimethod `clj-paper-print.paper/paper` from the `clj-paper-print.paper` namespace.
(print->multi! book)
(print->multi! book job)
A function with multi-arity that will accept the Pageable object or the Book object with a PrinterJob and will execute the actual print to the printer
A function with multi-arity that will accept the Pageable object or the Book object with a PrinterJob and will execute the actual print to the printer
(print->one! data pageformat)
(print->one! data pageformat job)
A function with multi-arity that will accept the printable data and the pageformat only or with a PrinterJob and will execute the actual print to the printer.
A function with multi-arity that will accept the printable data and the pageformat only or with a PrinterJob and will execute the actual print to the printer.
(print-job! cfg)
A helper function to call the multimethod clj-paper-print.print-job/print-job
from the clj-paper-print.print-job
namespace.
A helper function to call the multimethod `clj-paper-print.print-job/print-job` from the `clj-paper-print.print-job` namespace.
(printable! cfg)
A helper function to call the multimethod clj-paper-print.printable/printable
from the clj-paper-print.printable
namespace.
A helper function to call the multimethod `clj-paper-print.printable/printable` from the `clj-paper-print.printable` namespace.
(printer-state? service printer-status?)
A function that will return a java array of the attributes that are supported by the printer (PrintService) or
it will just print them in REPL.
The first argument is the PrintService object and the second printer-status
a boolean value. If printer-status
is
true will just print in REPL the attributes and their corresponding values. If false will just return an array of attributes.
The function mainly is used to check the printJob queued-job-count, to see if the job was finished.
A function that will return a java array of the attributes that are supported by the printer (PrintService) or it will just print them in REPL. The first argument is the PrintService object and the second `printer-status` a boolean value. If `printer-status` is true will just print in REPL the attributes and their corresponding values. If false will just return an array of attributes. The function mainly is used to check the printJob queued-job-count, to see if the job was finished.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close