xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: problems with printing: fop-0.91
Date Mon, 20 Feb 2006 09:31:45 GMT
I've entered a new Bugzilla entry so this doesn't get lost:
http://issues.apache.org/bugzilla/show_bug.cgi?id=38714

On 20.02.2006 10:17:05 Jeremias Maerki wrote:
> I finally had a chance to look at this. Turns out that it works fine if
> you print directly, for example, using "-print" from the command-line.
> If you print from the preview dialog, however, the page size is not
> correct and therefore content gets swallowed. We'll have to find out why
> the Preview window does something different than the rest of the code.
> 
> On 17.02.2006 17:35:12 Tim Dyck wrote:
> > I went back to version 0.20.5 and was able to get it work fine so that
> > is good.  Thanks for the help.
> > 
> > Tim.
> > 
> > -----Original Message-----
> > From: Andreas L Delmelle [mailto:a_l.delmelle@pandora.be] 
> > Sent: Thursday, February 16, 2006 12:35 PM
> > To: fop-users@xmlgraphics.apache.org
> > Subject: Re: problems with printing: fop-0.91
> > 
> > On Feb 16, 2006, at 18:49, Tim Dyck wrote:
> > 
> > Hi,
> > 
> > > Not sure exactly what output renderer I am using at this point, but I
> > > believe I am using the following renderer (that is what I saw in the
> > > debugger):
> > >
> > >   application/X-fop-awt-preview
> > >
> > > and once the awt preview is opened then I click on the print button
> > > which calls back into the AWTRenderer (which implements pageable) and
> > > that is what is failing to print correctly.
> > 
> > Have you also tried different Java versions? Different printer  
> > drivers? If either one works, then it would be an unfortunate case of  
> > incompatibility between the Java AWT version and the driver...  
> > There's little we can do about this from within FOP. We just render  
> > to Java2D and pray that the used JRE has no trouble sending it  
> > through to the printer correctly :-/ (We had a recent post concerning  
> > such an incompatibility: replacing the printer driver made the whole  
> > thing work all of a sudden.)
> > 
> > Might be worth a try...
> > 
> > > Also, are you saying there is another way to print via FOP with a PDF
> > > file or are you just saying open up a PDF file in Acrobat Reader and
> > > print it?
> > 
> > What Manuel is referring to, IIC, is: render to PDF and pipe the  
> > resulting PDF through to AcroRead.exe via the command-line. (The same  
> > could be done with PostScript as intermediate format. If your  
> > printers understand PS, then you could bypass AcroRead.exe entirely  
> > and send the output to the printer directly.)


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message