Hi, I tried to extend PrintTranscoder and implement Pageable but no success.
Can anyone give me some example where the pagination is implemented. Regards, Sachin On Thu, Jun 4, 2009 at 2:54 PM, <[email protected]> wrote: > > Hi Sachin, > > Sachin Gupta <[email protected]> wrote on 06/02/2009 06:37:04 AM: > > > I tried to implement the print functionality using print method of > > PrintTranscoder class,however the image gets shrinked to single page > > even if the image size is very large. > > Right, if you want the print transcoder to print a subsection of > the document then you need to pass an area of interest (AOI). If > you want to split the document across multiple pages you will need > to either extend the transcoder or submit the document multiple > times with different area of interests. > > > I haven't tried print preview yet. Because i didn't find any thread > > related to print preview. > > Even i have gone through squiggle browser and print preview > > functionality is not there. > > Right again. Batik does not provide a full print preview > dialog, however the JSVGCanvas represents the major part of > such a dialog.. > > > > On Tue, Jun 2, 2009 at 3:40 PM, <[email protected]> wrote: > > > > Hi Sachin, > > > > Sachin Gupta <[email protected]> wrote on 06/01/2009 08:50:18 AM: > > > > > > > I have two buttons on my application one for print and another for > > > print preview for print i can use PrintTranscoder. > > > > > > Is there any possible way to implement print preview functionality > > > on button click. > > > > Yes[1]. > > > > [1] Without more info I can't suggest good routes to explore. >
