Re: Printer component: copies option not working as expected

2018-01-29 Thread Claus Ibsen
Hi You are welcome to log a JIRA ticket about this. Also I wonder if printing multiple copies really must be done in a while loop? I would have thought you could instruct the number of copies with the job, so the printer will just print N copies. You are welcome to dive into this and see if you c

Printer component: copies option not working as expected

2018-01-26 Thread Robin Vanderhallen
Hi, I’m using the Camel printer component to send PDF files to a print queue. When I configure the endpoint like this, the lpr command is executed twice with the -#2 parameter: lpr://localhost/printer?copies=2&mediaSize=ISO_A4&flavor=DocFlavor.INPUT_STREAM component.printer.PrinterProducer DEBU