Page 1 of 2
Duplex printing
Posted: Sun Nov 23, 2014 1:38 pm
by hugo
Hello,
Can I explicitly print a report in a duplex mode (of course in a printer that supports that) ?
Re: Duplex printing
Posted: Mon Nov 24, 2014 6:23 am
by HighAley
Hello.
Unfortunately, our Flex components have no access to the printer settings. You should setup Duplex mode in printer settings manually.
Thank you.
Re: Duplex printing
Posted: Mon Nov 24, 2014 9:10 am
by hugo
Hello,
For web solutions I understand because of the Flash sandbox but for AIR, we have more control from the system. Do you don't support only because of the web solution or is in fact a Flex limitation ?
Thank you,
Hugo.
Re: Duplex printing
Posted: Mon Nov 24, 2014 12:12 pm
by HighAley
Hello, Hugo.
Unfortunately, we don't know how to add support of Duplex printing in AIR.
If you have any information about this, please, send us and we will try to add the feature.
Thank you.
Re: Duplex printing
Posted: Mon Nov 24, 2014 12:17 pm
by hugo
Hello,
Thank you.
I'm currently discussing this with other people. If I find a possible solution I'll let you know with the full source code solution.
Regards,
Hugo.
Re: Duplex printing
Posted: Mon Nov 24, 2014 1:37 pm
by HighAley
Hello.
Let us know if you have any news.
Thank you.
Re: Duplex printing
Posted: Thu Nov 27, 2014 7:21 pm
by hugo
I flex developer friend, told me that this is possible using a label in the report (text) with a hex printer code that the printer will interpret and execute.
Example (from my friend, to open the box):
var modelo:Recibo3 = new Recibo3;
modelo.visible=false;
addElement(modelo);
//Esc code to open a box (here we could use a duplex code)
modelo.DOC_ABRGAVETA.text = "\x1B"+"\x70"+"\x00"+"\xFF"+"\xFF";
var myPrintJob:PrintJob = new PrintJob();
var uiOpt:PrintUIOptions = new PrintUIOptions();
uiOpt.minPage = 1;
uiOpt.maxPage = 3;
if(myPrintJob.start2(null,false)) {
myPrintJob.addPage(modelo);
myPrintJob.send();
}
Some printer codes:
https://support.transfrm.com/entries/20 ... -Sequences
I tried with Stimulsoft with no success !
Re: Duplex printing
Posted: Fri Nov 28, 2014 2:45 pm
by Vladimir
Hello,
We need a little more time to test your code with our product.
Thank you.
Re: Duplex printing
Posted: Fri Nov 28, 2014 8:44 pm
by hugo
Hello,
Yes, I understand. It's important to first understand the codes (print commands), do a isolated test and then integrate in your engine but I pretty sure that this will give a huge benefit.
Another good point is that if this really works, you can easly apply in all your engine solutions.
Re: Duplex printing
Posted: Wed Dec 03, 2014 7:20 am
by HighAley
Hello.
We are still working on your issue.
We will keep in touch with any news.
Thank you.