[xep-support] Multi tray printing
Nikolai Grigoriev
grig at renderx.com
Mon Jul 22 13:01:00 PDT 2002
Frederic,
> I know there is the page-device extension, but it seems
> to apply to the complete document.
Exactly. There is no method to control tray selection for
individual pages from the XSL FO source. Rx:page-device
is already an extension; pushing it further does not fit
into our plans.
> Since the evaluation version of Xep doesn't generate ps file,
> could you answer me if Xep is able to generate a ps file
> which will be printed using multi trays.
You have to postprocess XEP output. We generate ADSC-compliant
PostScript code, so it is easy to find page boundaries: just
look for "%%Page:" DSC comment. The first operator of a page
is always /setpagedevice (repeated on every page to ensure
page independence). Tray-switching entries can be added
to the respective dictionary. I believe that a similar trick is
possible with other PostScript generators (e.g. GhostScript):
it should be safe to add /setpagedevice immediately after DSC
comments that open a page.
Best regards,
Nikolai Grigoriev
RenderX
-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
More information about the Xep-support
mailing list