camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Mahnke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7443) Remote Print URI changed to UNC Name
Date Fri, 23 May 2014 12:32:02 GMT

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

Christian Mahnke commented on CAMEL-7443:
-----------------------------------------

Well, I's a bit complicated:
It should be lh.abc.de:631/bbk-test but as far as I know the Java printing SPI from Sun /
Oracle doesn't support remote IPP printing, there are several Libraries which can do this
[1]. It might be possible that the best solution for this bug is just throwing an exception
[2] under Unix. Maybe after falling back to a local printer with the same fails. From my point
of view at least the rewrite from URI to UNC shouldn't be done on Plattforms not using UNCs,
since it is misleading.


[1] http://stackoverflow.com/questions/1655297/print-to-specific-printer-ipp-uri-in-java
[2] http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html

> Remote Print URI changed to UNC Name
> ------------------------------------
>
>                 Key: CAMEL-7443
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7443
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-printer
>    Affects Versions: 2.13.0
>         Environment: Mac OS X with remote CUPS IPP Printer
>            Reporter: Christian Mahnke
>             Fix For: 2.13.2, 2.14.0
>
>
> I'm using a printing URI in the form of lpr://lh.abc.de:631/bbk-test (Hostname changed)
and getting an PrintException:
> Reason: javax.print.PrintException: No printer found with name: \\lhgoe.gbv.de\bbk-test.
Please verify that the host and printer are registered and reachable from this machine.
> Which is true, since Camel Printer has changed my URI to a Windows UNC (see backslashes).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message