Mario Streiber wrote:
Dierk Fröhling's Message from Wed December 1 2004 15:30:
Mario Streiber wrote:
Hi all,
I have a document (PS) in landscape orientation and want to print it on my HP LJ6L, but no matter what I do I can't rotate the printout so that it comes out in portrait orientation on the paper.
I use kprinter as print program, but changing the orientation in the properties dialog doesn't change anything.
Just for completeliness:
I print from inkscape, print command line in the program is configured as "| kprinter".
I can print to a file, load it into gv, change the orientation there, but still it is printed in landscape and doesn't fit on the paper.
Is it big? Could you post it here? Or send it as email to me and I will have a look on it.
I just reduced the inkscape drawing to a minimum. This is the resulting .ps file:
%!PS-Adobe-2.0 %%BoundingBox: 0 0 842 595 %%HiResBoundingBox: 0.0000000 0.0000000 842.00000 595.00000 0.0 595.00000 translate 0.8 -0.8 scale gsave [1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000] concat gsave [1.0000000 0.0000000 0.0000000 1.0000000 -10.751160 743.75510] concat 0.0000000 0.0000000 0.0000000 setrgbcolor newpath 152.66046 -566.75702 moveto 152.66046 -141.91464 lineto 910.57446 -141.91464 lineto 910.57446 -566.75702 lineto 152.66046 -566.75702 lineto closepath [] 0 setdash 0.35404503 setlinewidth 0 setlinejoin 0 setlinecap stroke grestore gsave [1.0000000 0.0000000 0.0000000 1.0000000 -10.751160 743.75510] concat 0.0000000 0.0000000 0.0000000 setrgbcolor newpath 170.37527 -552.58569 moveto 170.37527 -159.62936 lineto 892.85965 -159.62936 lineto 892.85965 -552.58569 lineto 170.37527 -552.58569 lineto closepath [] 0 setdash 0.35044584 setlinewidth 0 setlinejoin 0 setlinecap stroke grestore grestore showpage
It draws just two big rectangles. I already found this document:
http://portal.suse.de/sdb/de/2002/12/jsmeix_print-cups-landscape-81.html
but the hints there don't help either, Maybe a cups update will help, I didn't try this.
I have SuSE 8.1 with
$ rpm -qa | grep cups cups-client-1.1.15-132 cups-devel-1.1.15-132 cups-libs-1.1.15-132 cups-drivers-1.1.15-86 cups-drivers-stp-1.1.15-86 cups-1.1.15-132
Regards Mario
Try the following as beginnig of the PS file: %!PS-Adobe-2.0 %%BoundingBox: 0 0 842 595 %%HiResBoundingBox: 0.0000000 0.0000000 842.00000 595.00000 90 rotate 0.0 -595.00000 translate 0.8 0.8 scale gsave [1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000] concat . . . Maybe everything is mirrored now or top down... Unfortunately the rectangles have no mark where top/bottom and left/right should be. CU Dierk -- 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