You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Ashwin Karpe (JIRA)" <ji...@apache.org> on 2009/06/05 18:46:51 UTC

[jira] Created: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52426#action_52426 ] 

Claus Ibsen commented on CAMEL-1675:
------------------------------------

Ashwin we have put this ticket on the roadmap for Camel 2.1.

We are currently finishing up Camel 2.0 that is a major release with more than 9+ months of development.

A Camel 2.1 release is planned in Q3 2009.

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


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54405#action_54405 ] 

Ashwin Karpe commented on CAMEL-1675:
-------------------------------------

Claus,

I have added the link to the Component list for the printer component. Everything here should be all set.

> 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
>            Assignee: Jonathan Anstey
>             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.


[jira] Updated: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated CAMEL-1675:
--------------------------------

    Attachment:     (was: camel-printer.patch)

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


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52648#action_52648 ] 

Ashwin Karpe commented on CAMEL-1675:
-------------------------------------

Hi Jon,

Coolness... I was just about to put up the new patch file. Looks like there is a bug in TortoiseSVN in version 1.4.5. I ended u using the command line finally. In any case looks like everything is all set.

Thanks for your feedback.

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
>            Assignee: Jonathan Anstey
>             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.


[jira] Updated: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-1675:
-------------------------------

    Fix Version/s: 2.1.0

Fantastic Ashwin.

As 2.0 is feature complete and to keep scope to getting 2.0 out of the door we will scheduled this new component for Camel 2.1

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


[jira] Issue Comment Edited: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54323#action_54323 ] 

Ashwin Karpe commented on CAMEL-1675:
-------------------------------------

Hi Claus & Jon, 

I have added the Camel Printer page to the documentation under Components in the Documentation Wiki.

I do not however know how to add the Component to the list of components on the Components wiki page. I do not see where this is coming from....? 

Can you please guide me here.

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
>            Assignee: Jonathan Anstey
>             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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52420#action_52420 ] 

Ashwin Karpe commented on CAMEL-1675:
-------------------------------------

Hi Hadrian,

Not sure how to avoid this. I basically ensured that the tests would send the message to the Default Printer on localhost. The way to verify that a payload is being printed is to check the Printer Queue and check if a Job has been sent to it.

The default printer should print out the payloads, Text, GIF, JPEG etc which will prove that everything is in order. 

Unfortunately, there is no other way I can think of to do this... It is just the nature of the printer endpoint. Moreover if there is no printer set up on localhost then there will be user friendly exceptions thrown on the route...

If you have any ideas/thoughts on this front or altenative options, I would be happy to implement them...

Please let me know.

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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54326#action_54326 ] 

Claus Ibsen commented on CAMEL-1675:
------------------------------------

Cool

Ashwin the components are on a special page: Component List
http://cwiki.apache.org/confluence/display/CAMEL/Component+List

> 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
>            Assignee: Jonathan Anstey
>             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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52590#action_52590 ] 

Ashwin Karpe commented on CAMEL-1675:
-------------------------------------

Hi Jon,

Thanks for the positive feedback I really appreciate it. It is great to have the submission validated on different printers under different settings. 

I have started re-factoring the component URL to add a boolean "printFlag"  variable. It should wrk as follows

        context.addRoutes(new RouteBuilder() {
            public void configure() {
                from("direct:start").
                    to("lpr://localhost/default?copies=2&flavor=DocFlavor.BYTE_ARRAY&mimeType=AUTOSENSE&mediaSize=na-letter&sides=one-sided&printFlag=false");
            }
        });
        context.start();

If the printFlag is set to false, then the job will be logged to a Logger as an INFO level payload. I will also write a file based on the job definition to the target directory. 

Hope this is ok... Please let me know if you think solution looks good to you. I will submit a patch later today or tomorrow.

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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52231#action_52231 ] 

Claus Ibsen commented on CAMEL-1675:
------------------------------------

Hi

I personally do not have time to look into a new component for Camel until after the *2.0 is final*.

One thing that people might forget when contributing is to checkstyle their code.
In the camel source code you can run: {{mvn compile -Psourcecheck}}. That would help if you could do that and ensure its compliant.



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


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54219#action_54219 ] 

Claus Ibsen commented on CAMEL-1675:
------------------------------------

Its Jonathans *task* to get it committed :)

> 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
>            Assignee: Jonathan Anstey
>             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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52425#action_52425 ] 

Claus Ibsen commented on CAMEL-1675:
------------------------------------

Maybe there is some Mock Printer API for simulating and unit testing printers

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


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52588#action_52588 ] 

Ashwin Karpe commented on CAMEL-1675:
-------------------------------------

Hadrian, Claus,

I did some research on a Mock Printer API that would simulate/unit test printers, but did not find any readily available.

However, I did find the following things.

a> Microsoft has a Generic Text only printer driver that can write to a file. It can be installed as a regular windows printer and the port can be directed to a file. 

b> I could not find an equivalent capability on Linux/Mac OS-X for the same.

I can validate that the printer will print text based out to the generic printer if set up as default or as a named printer. At the moment unfortunately, this is the best option.

Another option is to modify the PrinterOperations.print() operation to redirect the output to a log file if an option such as test is set in the printer component URL. This will provide an option log the job details and be one line away from issuing the job to the printer.

Please advise if this is something you would prefer...

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.


[jira] Assigned: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey reassigned CAMEL-1675:
--------------------------------------

    Assignee: Jonathan Anstey

Will add this component after the 2.0 release (we're trying to keep changes from 2.0-M2 to a minimum).

> 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
>            Assignee: Jonathan Anstey
>             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.


[jira] Updated: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated CAMEL-1675:
--------------------------------

    Attachment: camel-printer.zip
                camel-printer.patch

I have re-factored the code to pass the checks and rules in checkstyle based on your input. I have also verified that the unit tests run successfully.

BTW, I had to add to new classes to suitably cleanup the code. Can you please review, comment and if evrything looks good, commit it when you get  a chance...

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.patch, camel-printer.zip, 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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52589#action_52589 ] 

Jonathan Anstey commented on CAMEL-1675:
----------------------------------------

Testing printing components is a pain. In the past I've just mocked out where calls are made to a printer (in this case, calls to the Java printing API) to verify the stuff we're passing in is good. So I'm +1 for modding PrinterOperations to support writing job data to a file and then verifying it. Would be also nice to verify that config properties from the lpr URI make it the the Java Printing API config classes properly.

Also, nice work Ashwin! :) I just tried it out on a PDF printer and network HP - both worked fine.

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


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52642#action_52642 ] 

Jonathan Anstey commented on CAMEL-1675:
----------------------------------------

Ashwin,

Mind creating the patch again? Looks like everything got duplicated in the patch file. Not sure what happened there :)

Thanks,
Jon

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


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52650#action_52650 ] 

Jonathan Anstey commented on CAMEL-1675:
----------------------------------------

Ha! Funny enough, you jogged my memory of that TortoiseSVN bug... I was using Windows for some Camel development over a year ago and hit the same issue. Command line is definitely the way to go in the future.

Cheers,
Jon

> 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
>            Assignee: Jonathan Anstey
>             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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52159#action_52159 ] 

Ashwin Karpe commented on CAMEL-1675:
-------------------------------------

Hi Hadrian,

Yes, I believe so. I tested it wih my wireless printer at home...

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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54239#action_54239 ] 

Jonathan Anstey commented on CAMEL-1675:
----------------------------------------

Ashwin,

The latest trunk now contains your printing component. Thanks for the contribution! I'm just adding it to the the kit & karaf features now. Feel free to start the wiki docs when you get a chance.

Cheers,
Jon 

> 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
>            Assignee: Jonathan Anstey
>             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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52156#action_52156 ] 

Hadrian Zbarcea commented on CAMEL-1675:
----------------------------------------

Ashwin, is this working with network printers?

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


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52229#action_52229 ] 

Ashwin Karpe commented on CAMEL-1675:
-------------------------------------

Hi Hadrian, Claus,

Does everything look ok? Do you have any feedback for me.

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.


[jira] Updated: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated CAMEL-1675:
--------------------------------

    Attachment: camel-printer.zip
                camel-printer.patch

Patch and code attached

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


[jira] Issue Comment Edited: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ 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:47 AM:
-------------------------------------------------------------

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

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

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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52258#action_52258 ] 

Ashwin Karpe commented on CAMEL-1675:
-------------------------------------

Hi Claus,

I will put forth another patch with the code suitably modified to pass the checkstyle reuirement. Sorry about the slip-up.

I have started work on this... Please let me know if you see anything else that I am missing. I am happy to do any legwork that you need me to do. 

I am sure you are very busy at the moment and I will try and be sensitive to that.

Cheers,

Ashwin...

P.S: I will put another comment following my uploading of the new checkstyle friendly patch...  

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


[jira] Resolved: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey resolved CAMEL-1675.
------------------------------------

    Resolution: Fixed

Great stuff Ashwin! I'm closing this issue now.

> 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
>            Assignee: Jonathan Anstey
>             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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54253#action_54253 ] 

Ashwin Karpe commented on CAMEL-1675:
-------------------------------------

So it has been written, so it shall be done.. :-)

I will start the wiki documentation effort right away.

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
>            Assignee: Jonathan Anstey
>             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.


[jira] Updated: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated CAMEL-1675:
--------------------------------

    Attachment:     (was: camel-printer.zip)

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


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54220#action_54220 ] 

Claus Ibsen commented on CAMEL-1675:
------------------------------------

And Ashwins *task* to write wiki documentation :)

> 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
>            Assignee: Jonathan Anstey
>             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.


[jira] Updated: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated CAMEL-1675:
--------------------------------

    Attachment:     (was: camel-printer.patch)

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


[jira] Updated: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated CAMEL-1675:
--------------------------------

    Attachment: camel-printer.zip
                camel-printer.patch

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

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.


[jira] Updated: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated CAMEL-1675:
--------------------------------

    Attachment:     (was: camel-printer.zip)

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


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52595#action_52595 ] 

Jonathan Anstey commented on CAMEL-1675:
----------------------------------------

Yeah, I think that will allow us to have some assurance that the component is behaving. Not sure about the printFlag property... maybe sendToPrinter=false or testMode=true? We'll need to make it clear that this property is for testing only. 

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


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54210#action_54210 ] 

Ashwin Karpe commented on CAMEL-1675:
-------------------------------------

Hi Hadrian, Claus and Jon,

Has this component been added to Camel 2.1 now that 2.0 has been released ?

Can you please let me know...?

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
>            Assignee: Jonathan Anstey
>             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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52413#action_52413 ] 

Ashwin Karpe commented on CAMEL-1675:
-------------------------------------

Hi Hadrian, Claus,

I have not heard back on this submission. Also, I am not clear on when I can expect to hear back on this submission. 

Can you please give me an idea on when you might consider moving on this. I am also not clear on the timeline against which v2.1.0 is being tracked...

Thanks and Regards,

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.


[jira] Commented: (CAMEL-1675) Created a new camel printer component that supports document/image printing with copies, stationary and sides choices.

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52643#action_52643 ] 

Jonathan Anstey commented on CAMEL-1675:
----------------------------------------

Never mind. I just used the zip attachment.

Just tried out the new property and it works fine. After Camel 2.0 is released, I can commit this to the trunk for you.

Thanks for another great contribution 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.