Dierk Fröhling wrote:
Try instead:
%!PS-Adobe-2.0 %%BoundingBox: 0 0 842 595 %%HiResBoundingBox: 0.0000000 0.0000000 842.00000 595.00000 -90 rotate -842.0 0.00000 translate 0.8 0.8 scale . . .
Maybe that's better...
If it works, you could use sed as in the example at: http://portal.suse.de/sdb/de/2002/12/jsmeix_print-cups-landscape-81.html to modify the PostScript code (add the rotate line, change the translate line and change the scale line).
sed -e 's/^0.0 595.00000 translate/-90 rotate\n-842.0 0.0 translate/' pstest.ps | sed -e 's/^0.8 -0.8/0.8 0.8/' ^-- without linebreak -- Mit freundlichen Grüßen Best regards // Dierk Froehling // aycan Digitalsysteme GmbH // Innere Aumuehlstrasse 5 // 97076 Wuerzburg // Germany // phone: +49.931.270 40 90 // fax: +49.931.270 40 91 // mailto:dfroehling@aycan.de // http://www.aycan.de