camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashwin Karpe (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.
Date Thu, 02 Jul 2009 14:50:07 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52641#action_52641
] 

Ashwin Karpe edited comment on CAMEL-1675 at 7/2/09 7:48 AM:
-------------------------------------------------------------

Hi Hadrian, Claus and Jon,

I have made the changes suggested by Jon and added a send a sendToPrinter flag. This will
allow directing the output of the Job to a file in the target directory (under filename TestPrintJob{Copy
No}_{UUID}.{gif | jpg | pdf | txt}) when sendToPrinter is set to false. 

I have also done the requisite checkstyle checks and verified that everything works in both
modes (sendToPrinter=true/false). The flag defaults to true when not specified, i.e. the job
will be printed.

Please see a new patch file and a new source drop in the attached zip file.

Cheers,

Ashwin...

      was (Author: akarpe):
    Hi Hadrian, Claus and Jon,

I have made the changes suggested by Jon and added a send a sendToPrinter flag that will allow
directing the output of the Job to a file in the target directory under filename TestPrintJob{Copy
No}_{UUID}.{gif | jpg | pdf | txt} when sendToPrinter is set to false. 

I have also done the requisite checkstyle checks and verified that everything works in both
modes (sendToPrinter=true/false). The flag defaults to true when not specified, i.e. the job
will be printed.

Please see a new patch file and a new source drop in the attached zip file.

Cheers,

Ashwin...
  
> 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.


Mime
View raw message