Have you tried the -print option just to see if that would be an option
for you? The experiment only takes you two minutes but might save you a
lot of trouble.

Options for printing PDF are:
- remote-control Adobe Acrobat using COM on Windows.
- GhostScript can print PDFs. I'm not sure what the automation grade
would be.
- There are various PDF tools on the internet that might help you here.
GIYF.
- Some (more expensive) printers support printing PDF directly.

On 25.01.2008 11:48:34 Muralidhar_YARAGALLA wrote:
> Ya I think we cannot print the pdf documents with fop. It is only possible 
> if you are generating pdf using fop. It takes the input file (which cannot 
> be pdf) and renders that into various paginated output file but the input 
> file will be processed and will be sent to the printer not the generated 
> output.
> 
> If I am wrong please correct me. If there is any way that i can print 
> already existing pdf kindly tell me.
> 
> Thanks And Regards,
> Muralidhar Yaragalla.
> 
> 
> 
> Extranet
> [EMAIL PROTECTED]
> 01/25/2008 02:06 PM
> Please respond to
> [email protected]
> 
> 
> To
> fop-users
> cc
> 
> Subject
> Re: Printing issue
> 
> 
> 
> 
> 
> 
> FOP has PDF generation capabilities but FOP cannot print PDF files (you
> need a different tool for that). However, if it's only about printing
> the generated document (I say document here, not PDF, because PDF is
> just one possible output format of FOP), you can also use the
> "PrintRenderer" which doesn't generate a PDF but uses Java2D/AWT to
> print the document using Java's printing capabilities.
> 
> On the FOP command-line, this is the "-print" parameter. For embedded
> use, have a look at:
> http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleFO2OldStylePrint.java?view=markup
> 
> 
> Note to self and fop-devs: Since we're now on Java 1.4 we can/should
> eventually switch over to using JPS.
> 
> On 25.01.2008 08:54:40 Muralidhar_YARAGALLA wrote:
> > Hi I know with fop we can generate PDF documents but can we print them 
> > programatically without user intervention.  I need to fetch the pdf 
> files 
> > from a folder and i have to send them for printing. no pop up and no 
> user 
> > intervention should be there. It should happen silently in the 
> background. 
> > Can I do this fop.
> > 
> > Thanks And Regards,
> > Muralidhar Yaragalla.
> 
> 
> 
> Jeremias Maerki
> 


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to