Liking cljdoc? Tell your friends :D

clj-paper-print.core


atom-checkercljmacro

(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.
sourceraw docstring

book!clj

(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.
sourceraw docstring

defbookcljmacro

(defbook -symbol)

A macro to create a Book object.

A macro to create a Book object.
sourceraw docstring

defpageformatcljmacro

(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.
sourceraw docstring

defpapercljmacro

(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}}).
sourceraw docstring

defprintjobcljmacro

(defprintjob -symbol)
(defprintjob -symbol config)

A macro to create a PrintrJob object.

A macro to create a PrintrJob object.
sourceraw docstring

graphics-methods!clj

(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.
sourceraw docstring

landscapeclj

source

media-size!clj

(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.
sourceraw docstring

ms-lookup-size!clj

(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.
sourceraw docstring

pageformat!clj

(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.
sourceraw docstring

paper!clj

(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.
sourceraw docstring

portraitclj

source

(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
sourceraw docstring

(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.
sourceraw docstring

(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.
sourceraw docstring

printable!clj

(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.
sourceraw docstring

printer-state?clj

(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.
sourceraw docstring

rev-landscapeclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close