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, PS - Opensource Center of Competence 
Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
--- 
+1-972-304-9084 (Office) 
+1-972-971-1700 (Mobile) 
---- 
Blog: http://opensourceknowledge.blogspot.com/


-- 
View this message in context: 
http://www.nabble.com/Develped-a-camel-printer-component.-Committers%2C-please-review-and-comment...-tp23891864p23891864.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to