[
https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52414#action_52414
]
Hadrian Zbarcea commented on CAMEL-1675:
----------------------------------------
@Ashwin, after 2.0-m2 we are trying to close down and release 2.0 with minimal
changes.
I looked over the code and I don't see how it can be unit tested. The current
unit tests seem to be sending stuff to a printer and the assertions are done by
the user looking at the output. It would be great if it could be automated.
> 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
> Fix For: 2.1.0
>
> Attachments: camel-printer.patch, camel-printer.zip
>
>
> 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.