|
From: Edward K. C. <ek...@lg...> - 2005-08-08 17:38:56
|
This is just a follow-up to my printing saga. After trying this and that, it seems I have finally hit on a winning recipe. I thought I could get away with allocating one large 11 x 17 @ 300 dpi buffer and rendering into it in tiles no larger than 2048 x 2048 pixels through careful manipulation of view ports and pane rectangles, but no joy. Apparently, there is some kind of limit to the absolute dimensions of the buffer, regardless of how small a pane you are accessing within it. Should you exceed that limit, you will see some psychedelic wraparound effects. The solution is to allocate a small buffer just large enough to render one tile. After rendering into the tile buffer, you can then copy it over to the appropriate coordinates within a larger page buffer if you like. I tried this technique to produce a 2 x 2 page 11 x 17 poster, and it is thing of beauty, I can tell you! No noticeable artifacts along the tile edges, from what I can see. I think this buffer size limit is more sensitive to the horizontal dimension. It only seems to come up when I print in landscape orientation. This is all under Tiger, incidentally. With some trepidation, I plan to test the same code under Panther today...wish me luck! -Ted |