Created a new camel printer component that supports document/image printing
with copies, stationary and sides choices.
----------------------------------------------------------------------------------------------------------------------
Key: CAMEL-1675
URL: https://issues.apache.org/activemq/browse/CAMEL-1675
Project: Apache Camel
Issue Type: New Feature
Environment: Works on both Windows and UNIX
Reporter: Ashwin Karpe
I have developed a camel printer component (producer) that facilitates printing
of documents and images when a Printer URL is speified on a route.
The component is developed using the standard javax.print package and uses the
standard java JDK packages to print to all manner of printers.
The Printer URL looks like the following:
"
lpr://localhost/default?copies=1&flavor=DocFlavor.BYTE_ARRAY&mimeType=AUTOSENSE&mediaSize=na-letter&sides=one-sided"
The component allows you to set the following parameters:
- copies
- flavor
- mimeType
- mediaSize
- sides
All the values are setting against the javax.print.attribute.standard
properties.
Can the committers, please review, comment and commit as apropriate.
Cheers,
Ashwin Karpe
Principal Consultant - Professional Services
Progress Software...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.