Yes, I wanted to suggest to add this option ;-)
Thanks for your help
J-M
--
View this message in context:
http://camel.465427.n5.nabble.com/print-a-PDF-with-camel-printer-tp5719615p5719650.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I just committed the patch[1] of it into the trunk.
Please check out the camel-2.11-SNAPSHOT to verify the patch.
[1]http://svn.apache.org/viewvc?rev=1387889&view=rev
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: h
I think we can add a printer prefix option on the camel-printer endpoint to
help us find the right printer we want.
I just fill a JIRA[1] for it.
[1]https://issues.apache.org/jira/browse/CAMEL-5630
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com |
thanks Babak
But I have another problem on Windows 2008 server.
services (printers) are prefixed by "Win32 Printer :"
i.e :[Win32 Printer : Microsoft XPS Document Writer, Win32 Printer :
\\nrbnrw0264\nrbco006]
But when I look the source code, I realize that it can never be equal to the
config
Hi
Have you tried setting the mimeType option to "PDF":
http://camel.apache.org/printer.html
Which would correspond to the following MIME type:
http://docs.oracle.com/javase/6/docs/api/javax/print/DocFlavor.BYTE_ARRAY.html#PDF
Also the following unit-test should give you some idea:
https://sv