Home » Developer & Programmer » Reports & Discoverer » Trays via MediaType, not MediaPosition
Trays via MediaType, not MediaPosition [message #389183] Fri, 27 February 2009 09:25
Messages: 1
Registered: February 2009
Location: Poland
Junior Member
I have problem with cooperation report (with matched Trays) via MediaType with the Printer.
srw.set_printer_tray('name_of_tray') works correctly, but it creates in Postscript during printing into file only flag MediaPosition (e.g. '/MediaPosition 1') connected with proper tray. Then is easy to send it to other printer and trays should work. I have to print report on other printer, which ones doesn't 'understand' MediaPosition, but it needs MediaType [e.g.'/MediaType (bin2)' near '/MediaPosition'].
On AS there is default driver the same like for Printer_1, and Printer_1 prints great on trays I wanted to. But I have to besed on driver from AS create Postscript which ones works correctly on Printer_2 too [it needs MediaType], so to print on Printer_2.

How could I solve that problem?

Thank you in advance.

Previous Topic: pre printed report
Next Topic: rework select in report
Goto Forum:

Current Time: Sat Oct 22 04:09:37 CDT 2016

Total time taken to generate the page: 0.08460 seconds