You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2012/09/20 05:58:07 UTC

[jira] [Created] (CAMEL-5630) Add a printer prefix option on the camel-printer endpoint

Willem Jiang created CAMEL-5630:
-----------------------------------

             Summary: Add a printer prefix option on the camel-printer endpoint
                 Key: CAMEL-5630
                 URL: https://issues.apache.org/jira/browse/CAMEL-5630
             Project: Camel
          Issue Type: Improvement
          Components: camel-printer
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 2.11.0


As the windows printer has some prefix like "[Win32 Printer : Microsoft XPS Document Writer, Win32 Printer :\\nrbnrw0264\nrbco006]", it makes camel-printer impossible to look up the right printer without using prefix string.

We could resolve this issue by adding a PrinterPrefix option to the camel-printer endpoint.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (CAMEL-5630) Add a printer prefix option on the camel-printer endpoint

Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460382#comment-13460382 ] 

Babak Vahdat edited comment on CAMEL-5630 at 9/21/12 8:20 PM:
--------------------------------------------------------------

There seems to be an old _not documented_ option called {{sendToPrinter}} as well which I just added it to the Wiki:

http://camel.465427.n5.nabble.com/CONF-Apache-Camel-gt-Printer-td5719714.html

                
      was (Author: bvahdat):
    There seems to be a _not documented_ option called {{sendToPrinter}} as well which I just added it to the Wiki:

http://camel.465427.n5.nabble.com/CONF-Apache-Camel-gt-Printer-td5719714.html

                  
> Add a printer prefix option on the camel-printer endpoint
> ---------------------------------------------------------
>
>                 Key: CAMEL-5630
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5630
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-printer
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.11.0
>
>
> As the windows printer has some prefix like "[Win32 Printer : Microsoft XPS Document Writer, Win32 Printer :\\nrbnrw0264\nrbco006]", it makes camel-printer impossible to look up the right printer without using prefix string.
> We could resolve this issue by adding a PrinterPrefix option to the camel-printer endpoint.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-5630) Add a printer prefix option on the camel-printer endpoint

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

Claus Ibsen resolved CAMEL-5630.
--------------------------------

    Resolution: Fixed
    
> Add a printer prefix option on the camel-printer endpoint
> ---------------------------------------------------------
>
>                 Key: CAMEL-5630
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5630
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-printer
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.11.0
>
>
> As the windows printer has some prefix like "[Win32 Printer : Microsoft XPS Document Writer, Win32 Printer :\\nrbnrw0264\nrbco006]", it makes camel-printer impossible to look up the right printer without using prefix string.
> We could resolve this issue by adding a PrinterPrefix option to the camel-printer endpoint.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-5630) Add a printer prefix option on the camel-printer endpoint

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460347#comment-13460347 ] 

Willem Jiang commented on CAMEL-5630:
-------------------------------------

Yeah, it could work, I will commit a quick patch for it.
                
> Add a printer prefix option on the camel-printer endpoint
> ---------------------------------------------------------
>
>                 Key: CAMEL-5630
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5630
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-printer
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.11.0
>
>
> As the windows printer has some prefix like "[Win32 Printer : Microsoft XPS Document Writer, Win32 Printer :\\nrbnrw0264\nrbco006]", it makes camel-printer impossible to look up the right printer without using prefix string.
> We could resolve this issue by adding a PrinterPrefix option to the camel-printer endpoint.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-5630) Add a printer prefix option on the camel-printer endpoint

Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460382#comment-13460382 ] 

Babak Vahdat commented on CAMEL-5630:
-------------------------------------

There seems to be a _not documented_ option called {{sendToPrinter}} as well which I just added it to the Wiki:

http://camel.465427.n5.nabble.com/CONF-Apache-Camel-gt-Printer-td5719714.html

                
> Add a printer prefix option on the camel-printer endpoint
> ---------------------------------------------------------
>
>                 Key: CAMEL-5630
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5630
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-printer
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.11.0
>
>
> As the windows printer has some prefix like "[Win32 Printer : Microsoft XPS Document Writer, Win32 Printer :\\nrbnrw0264\nrbco006]", it makes camel-printer impossible to look up the right printer without using prefix string.
> We could resolve this issue by adding a PrinterPrefix option to the camel-printer endpoint.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-5630) Add a printer prefix option on the camel-printer endpoint

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

Claus Ibsen commented on CAMEL-5630:
------------------------------------

What if the lookup is based on String endsWith matching? Then you can match on just do "nrbnrw0264\nrbco006", eg:
{code}
.to("lpr:nrbnrw0264\nrbco006")
{code}
I would assume that is sufficient to be unique?
                
> Add a printer prefix option on the camel-printer endpoint
> ---------------------------------------------------------
>
>                 Key: CAMEL-5630
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5630
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-printer
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.11.0
>
>
> As the windows printer has some prefix like "[Win32 Printer : Microsoft XPS Document Writer, Win32 Printer :\\nrbnrw0264\nrbco006]", it makes camel-printer impossible to look up the right printer without using prefix string.
> We could resolve this issue by adding a PrinterPrefix option to the camel-printer endpoint.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira