I tried what you suggested but I can only print out the items on the top left corner and loose everything below them which are my 3 last items. How come it works for you and not for me?
Maybe it's a problem of my printer, I'm not sure.
Another point is the max height here is 1353 which is larger than my screen (8 i ~ 764 pixels) I suppose, so I think the pageheight option doesn't do its job to scale everything in my screen. That maybe explains why it doesn't work.
I think of using a loop to split my canvas into multiple parts and dump them out accordingly like this :
for (my $i='1'; $i<$maxheight; $i+=850){ ++$currentPage;print "$currentPage\n"; $canvas->postscript('-x'=>'0', '-y'=>$i, -width=>$maxwidth, -height=>850, -colormode=>'color', -file=>"$i.ps", -pageanchor=>'n', -pageheight=>'10.5 i'); system("lpr -S ilfpsc6vs01 -P nw1h305c $i.ps") == 0 or die $!; }
What do you think?
I know it seems goofy. The problem is I have to pipe every single ps file to the printer. I hope there might have a way to do this better.

In reply to Re^2: $canvas->postscript method - unexpected result by cta
in thread $canvas->postscript method - unexpected result by cta

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.