I cannot view a pdf generated usin FOP in IE 5.5. SP2 + Acrobat Reader 5.0

2003-01-08 Thread Gorka Echevarría



Hi all,
 
I have a very strange problem in viewing a pdf report 
generated using FOP.
The description of the problem is the following:
I have two j2ee environments: one deployed in a wnt 
(environment1) and another deployed in an AIX machine 
(environment2).
I generate the reports on the fly in both of them using FOP 
and then a servlet sends the pdf stream to the browser.
In the environment1 I can see perfectly the report generated 
in my browser (IE 5.5 SP2 + Acrobat Reader 5.0) but in the environment2 the 
report is not open in the browser with the same configuration (i only see a 
blank page), although I can see the report from a client with IE 5.0 + Acrobat 
Reader 5.0
The configuration of the web clients in my application should 
be IE 5.5 + SP2.
 
Can anybody help me please?
 
Thank you very much.
 
Gorka 
Echevarría ([EMAIL PROTECTED] 
)Bilbomática S.A.Licenciado Poza 55 4 planta Tel. 
94.427.63.08Fax 94.427.15.4748013 BILBAO
 
 
 
 


How can I generate editable reports using FOP

2002-12-10 Thread Gorka Echevarría



Hi all,
 
Does anybody know if can I generate a report to the browser 
using FOP and allow the user to edit this report?
 
Thank you
 
Gorka 
 
 
 
 


Disable save button in acrobat reader

2002-12-10 Thread Gorka Echevarría



Hi all,
 
I'm using Fop version 0.20.1 to generate pdf reports on the 
fly.
I use IE 5.5 SP 2 and Acrobat Reder 5.0 plugin to see the 
reports denerated on the server.
Anybody knows how can I disable the save button on Acrobat 
Reader?
 
Thank you
 
Gorka
 
 
 


RE: HELP WITH FONTS PLEASE!

2001-12-25 Thread Gorka Echevarría



Thank you very much Claus,
 
IT WORKS!!

  - Original Message - 
  From: 
  [EMAIL PROTECTED] 
  To: [EMAIL PROTECTED] 
  Sent: Friday, December 21, 2001 12:45 
  PM
  Subject: Re: HELP WITH FONTS 
PLEASE!
  
  Hey Gorka.
   
  Try this before you declare the Driver. It should work
  userConfigFile = new File(userConfig);options = new 
  Options(userConfigFile);
   
  Claus Nielsen
   
  Gorka Echevarría <[EMAIL PROTECTED]>02-11-2001 12:24Please respond to 
  fop-devTo: "Lista-FOP" <[EMAIL PROTECTED]>cc: bcc: Subject: HELP WITH FONTS 
  PLEASE!
  Hi all,I have a problem to generate a pdf document from a servlet 
  appling fonts that are not included by default in the Fop 
  especification.If I execute Fop from the command line, I have no problem 
  at all, and it works perfectly.I know how to especify the file 
  "userconfig.xml" in the command line -> "Fop -c conf/userconfig.xml", but I 
  don´t know how to do it in the servlet to allow the use of diferent kinds 
  of font in the xsl-fo file.My source code in the servlet looks like 
  this:            
  ByteArrayOutputStream out = new 
  ByteArrayOutputStream();    
  response.setContentType("application/pdf");    
  Driver driver = new 
  Driver();    
  driver.setRenderer(Driver.RENDER_PDF);    
  driver.setOutputStream(out);    
  driver.render(input.getParser(), 
  input.getInputSource());    
  byte[] content = 
  out.toByteArray();    
  response.setContentLength(content.length);    
  response.getOutputStream().write(content);    
  response.getOutputStream().flush();I've read the document fonts.pdf 
  already (thank you very much Sergei) and I have read  the page http://xml.apache.org/fop/fonts.html but i have found no solution.Can anyboy help me 
  please?----Gorka 
  Echevarría VélezBILBOMÁTICA, S.A.[EMAIL PROTECTED]- 
  To unsubscribe, e-mail: [EMAIL PROTECTED] For additional 
  commands, email: [EMAIL PROTECTED]


HELP WITH FONTS PLEASE!

2001-12-21 Thread Gorka Echevarría



Hi all,
I have a problem to generate a pdf document 
from a servlet appling fonts that are not included by default in the Fop 
especification.
If I execute Fop from the command line, I have no 
problem at all, and it works perfectly.
I know how to especify the file "userconfig.xml" in 
the command line -> "Fop -c conf/userconfig.xml", but I don´t know how to do 
it 
in the servlet to allow the use of diferent kinds 
of font in the xsl-fo file.
My source code in the servlet looks like 
this:
        
    ByteArrayOutputStream out = new 
ByteArrayOutputStream();    
response.setContentType("application/pdf");    
Driver driver = new 
Driver();    
driver.setRenderer(Driver.RENDER_PDF);    
driver.setOutputStream(out);    
driver.render(input.getParser(), 
input.getInputSource());    
byte[] content = 
out.toByteArray();    
response.setContentLength(content.length);    
response.getOutputStream().write(content);    
response.getOutputStream().flush();
 
I've read the document fonts.pdf already 
(thank you very much Sergei) and I have read  the page http://xml.apache.org/fop/fonts.html but 
i have found no solution.
 
Can anyboy help me please?
 
--------Gorka Echevarría 
VélezBILBOMÁTICA, S.A.[EMAIL PROTECTED]
 
 
 
 


Creating a pdf file from a servlet using verdana font

2001-12-20 Thread Gorka Echevarría



Hi,
Can anybody say me how can i apply different kinds 
of fonts to a pdf report using FOP from a servlet please?
Thank you very much
 
Gorka Echevarría 
VélezBILBOMÁTICA, S.A.[EMAIL PROTECTED]
 
 
 
 


Send a document directly to a printer

2001-12-13 Thread Gorka Echevarría




Hi,
 
Can anybody say me how can I send a document 
directly to a printer?
I have tried the following code to render the 
document to a printer using "Driver.RENDER_PCL", but it doesn´t work (i get the 
exception "file.io.FileNotFoundException")
    String printer 
="ntsrv_200//prn1";    FileOutputStream out = new 
FileOutputStream(printer);    Driver driver = new 
Driver(input.getInputSource(),out);
    
driver.setRenderer(Driver.RENDER_PCL);    
driver.run();    out.close();
 
Thanks in advance
--------Gorka Echevarría 
VélezBILBOMÁTICA, S.A.[EMAIL PROTECTED]