Liking cljdoc? Tell your friends :D

clj-paper-print.print-job


cancelclj

(cancel printerjob)

A function that will cancel the supplied print job that is in progress.

A function that will cancel the supplied print job that is in progress.
sourceraw docstring

default-pageclj

(default-page printerjob)

A function that will return a new PageFormat instance from the supplied print job, with default size and orientation.

A function that will return a new PageFormat instance from the supplied print job, with default size and orientation.
sourceraw docstring

default-page-pgfclj

(default-page-pgf [printerjob pageformat])

A function that will clone the supplied pageFormat and set it as the default size and orientation.

A function that will clone the supplied pageFormat and set it as the default size and orientation.
sourceraw docstring

get-copiesclj

(get-copies printerjob)

A function that will reutrn the number of copies of the print job.

A function that will reutrn the number of copies of the print job.
sourceraw docstring

get-job-nameclj

(get-job-name printerjob)

A function that will reutrn the name of the document that is to be printed.

A function that will reutrn the name of the document that is to be printed.
sourceraw docstring

get-print-serviceclj

(get-print-service printerjob)

A funcntion that will return the printers for the supplied printer job.

A funcntion that will return the printers for the supplied printer job.
sourceraw docstring

get-printer-jobclj

(get-printer-job)

A function that will create and return a PrinterJob.

A function that will create and return a PrinterJob.
sourceraw docstring

get-user-nameclj

(get-user-name printerjob)

A function that will return the name of the printing user.

A function that will return the name of the printing user.
sourceraw docstring

is-cancelledclj

(is-cancelled printerjob)

A function that will return true if a printing job is in progress and is going to be cancelled, else false.

A function that will return true if a printing job is in progress and is going to be cancelled, else false.
sourceraw docstring

lookup-p-serv!clj

(lookup-p-serv!)

A function that will return a map with the PrintService objects that exist at the system. It will use the same objects to retrieve the name of each printer to create keywords and the same objects as values, and in turn to return a map with them.

A function that will return a map with the `PrintService` objects that exist at the system.
It will use the same objects to retrieve the name of each printer to create keywords and the same objects as values, and in turn to return a map with them.
sourceraw docstring

page-dialogclj

(page-dialog [printerjob pgf])

A function that will show a dialog for the modification of the PageFormat.

A function that will show a dialog for the modification of the PageFormat.
sourceraw docstring

page-dialog-attrsetclj

(page-dialog-attrset [printerjob pras])

A function that will show a cross-platform set-up dialog for the modification of the page.

A function that will show a cross-platform set-up dialog for the modification of the page.
sourceraw docstring

print!clj

(print! printerjob)

A function that will print a set of the pages.

A function that will print a set of the pages.
sourceraw docstring

(print-dialog! printerjob)

A function that will show a dialog to change the properties of the print job.

A function that will show a dialog to change the properties of the print job.
sourceraw docstring

(print-dialog-attrset! [printerjob pras])

A function that will show a cross-platform print dialog that is capable on printing 2D graphics, using the Pageable.

A function that will show a cross-platform print dialog that is capable on printing 2D graphics, using the Pageable.
sourceraw docstring

A multimethod for PrinterJob objects that will executer the methods of java.awt.PrinterJob class using the corresponding helper functions: clj-paper-print.print-job/cancel, clj-paper-print.print-job/default-page, clj-paper-print.print-job/default-page-pgf, clj-paper-print.print-job/get-copies, clj-paper-print.print-job/get-job-name, clj-paper-print.print-job/get-printer-job, clj-paper-print.print-job/get-print-service, clj-paper-print.print-job/get-user-name, clj-paper-print.print-job/is-cancelled, clj-paper-print.print-job/lookup-p-serv, clj-paper-print.print-job/lookup-p-serv-strg, clj-paper-print.print-job/page-dialog, clj-paper-print.print-job/page-dialog-attrset, clj-paper-print.print-job/print, clj-paper-print.print-job/print-dialog, clj-paper-print.print-job/print-dialog-attrset, clj-paper-print.print-job/set-copies, clj-paper-print.print-job/set-job-name, clj-paper-print.print-job/set-pageable, clj-paper-print.print-job/set-printable, clj-paper-print.print-job/set-printable-pgf, clj-paper-print.print-job/set-print-service, clj-paper-print.print-job/validate-page.

A multimethod for PrinterJob objects that will executer the methods of
`java.awt.PrinterJob` class using the corresponding helper functions:
`clj-paper-print.print-job/cancel`, `clj-paper-print.print-job/default-page`,
`clj-paper-print.print-job/default-page-pgf`, `clj-paper-print.print-job/get-copies`,
`clj-paper-print.print-job/get-job-name`, `clj-paper-print.print-job/get-printer-job`,
`clj-paper-print.print-job/get-print-service`, `clj-paper-print.print-job/get-user-name`,
`clj-paper-print.print-job/is-cancelled`, `clj-paper-print.print-job/lookup-p-serv`,
`clj-paper-print.print-job/lookup-p-serv-strg`, `clj-paper-print.print-job/page-dialog`,
`clj-paper-print.print-job/page-dialog-attrset`, `clj-paper-print.print-job/print`,
`clj-paper-print.print-job/print-dialog`, `clj-paper-print.print-job/print-dialog-attrset`,
`clj-paper-print.print-job/set-copies`, `clj-paper-print.print-job/set-job-name`,
`clj-paper-print.print-job/set-pageable`, `clj-paper-print.print-job/set-printable`,
`clj-paper-print.print-job/set-printable-pgf`, `clj-paper-print.print-job/set-print-service`,
`clj-paper-print.print-job/validate-page`.
sourceraw docstring

set-copies!clj

(set-copies! [printerjob cps])

A function that will set the number of copies for the supplied print job.

A function that will set the number of copies for the supplied print job.
sourceraw docstring

set-job-name!clj

(set-job-name! [printerjob name])

A function that will set the name for the print job.

A function that will set the name for the print job.
sourceraw docstring

set-pageable!clj

(set-pageable! [printerjob book])

A function that will set the Pageable object (probably in most cases Book) for the print job.

A function that will set the Pageable object (probably in most cases Book) for the print job.
sourceraw docstring

set-print-service!clj

(set-print-service! [printerjob print-service])

A function that will set the printService (printer) for the supplied print job.

A function that will set the printService (printer) for the supplied print job.
sourceraw docstring

set-printable!clj

(set-printable! [printerjob printable])

A function that will set the painter that will render the page for the supplied print job.

A function that will set the painter that will render the page for the supplied print job.
sourceraw docstring

set-printable-pgf!clj

(set-printable-pgf! [printerjob printable pgf])

A function that will use the supplied painter and pageFormat for this print job.

A function that will use the supplied painter and pageFormat for this print job.
sourceraw docstring

validate-pageclj

(validate-page [printerjob pgf])

A function that will reutrn a clone of the page, with its settings changed to be compatible with the current printer of the supplied print job.

A function that will reutrn a clone of the page, with its settings changed to be compatible with the current printer of the supplied print job.
sourceraw docstring

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

× close