[cairo] PostScript backend - PS Level 2 Change Paper Input on same file

Renato Magalhães renato.osx at gmail.com
Mon Feb 28 12:03:05 PST 2011


hi all,

I am developing a printing system with postscript in Cairo, with the output
file into postscript. In the file there are pages that may have N types of
paper. Example: 1,2,7,11pages = yellow paper, blue paper pages = 3,4,8,9,10.

I have a Xerox printer that has the interpreter postscript level 2.

If I use << /MediaType (cover) /MediaColor (white) >> setpagedevice
works as expected.

I tried using surface.DscComment ('%% IncludeFeature: * MediaType cover'),
but did not work.

is there any way to send commands level 2 to postscript file? before the
drawing of objects?

Gratz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110228/67b31f0c/attachment.htm>


More information about the cairo mailing list