You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/09/21 09:01:11 UTC

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

    [ 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