(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.
(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.
(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.
(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.
(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.
(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.
(get-printer-job)
A function that will create and return a PrinterJob.
A function that will create and return a PrinterJob.
(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.
(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.
(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.
(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.
(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.
(print! printerjob)
A function that will print a set of the pages.
A function that will print a set of the pages.
(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.
(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.
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`.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close