Re: Problems with JPSForPrinting.java (PCL)

2011-09-06 Thread Everson Rogério


Hi Group,

After some testing with PCL generated by FOP 0.20.5, I saw that this file does 
not have command of the PCL reset (Esc E) at the beginning of the file.

Why is the FOP 0.20.5 does not generate the PCL with this command?

Any ideas?


Note: With FOP 1.0 the command PCL (EscE) is include in the file.


Thanks
Everson




De: Everson Rogério everso...@yahoo.com.br
Para: fop-users@xmlgraphics.apache.org fop-users@xmlgraphics.apache.org
Enviadas: Sexta-feira, 2 de Setembro de 2011 16:01
Assunto: Problems with JPSForPrinting.java (PCL)


Hi group,


I'm using the class PCL file JPSForPrinting.java  to create PCL with  XML and 
XSL, but is not working.
With Driver.RENDER_PDF works, but with Driver.RENDER_PCL does not work ... : (
driver.setRenderer (Driver.RENDER_PCL);

The files are attached for reference.

Do you have any tips?

In which list of emails I could send this question?


I'm using Java 6 and Fop 0.20.5.


Thanks!
Everson



Problems with JPSForPrinting.java (PCL)

2011-09-02 Thread Everson Rogério
Hi group,

I'm using the class PCL file JPSForPrinting.java  to create PCL with  XML and 
XSL, but is not working.
With Driver.RENDER_PDF works, but with Driver.RENDER_PCL does not work ... : (
driver.setRenderer (Driver.RENDER_PCL);

The files are attached for reference.

Do you have any tips?

In which list of emails I could send this question?

I'm using Java 6 and Fop 0.20.5.

Thanks!
Everson

table.pcl
Description: application/vnd.hp-pcl


table.pdf
Description: application/octet
?xml version=1.0 encoding=UTF-8?
dados
	cod5927/cod
	authorMACHADO DE ASSIS/author
	priceU$ 10.60/price
/dados



table.xsl
Description: XML document

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

Re: Help: XSL-FO to PCL

2011-08-29 Thread Everson Rogério
Hi, thanks for the tips...
Excuse me if I'm wrong, but I have not found another place to post my message.
I need your help again.

I generated a PCL from ExampleXML2PDF.java

But the problem now is with the image. JPEG file that exists in the XSL. The 
FOP converts JPEG only in black and Prance (monochrome).
I used the ImageMagick library to convert only the JPEG image to PCL. So I 
managed to leave the image size and resolution required.

I need to engage imagem.PCL (converted with ImageMagick) relatorio.PCL 
generated by the FOP.
Any ideas?

Note:
The resolution is best to convert to PDF (including JPEG), but I need high 
performance for printing documents with image, so I'm converting to PCL.
Is there a different idea to implement this solution, with better performance?

Attached the files I'm working.

Note:
FOP 1.0
java version 1.6.0_20

arquivoPCL.pcl
Description: application/vnd.hp-pcl


relImagem_PCL.xsl
Description: XML document
?xml version=1.0 encoding=ISO-8859-1?
dados
	via1
		codOrgao116200/codOrgao
		codAutoL2/codAuto
		placaXSD-/placa
		ufPlacaUF/ufPlaca
		marcaModeloCAMINHAO DE CARGA/marcaModelo
		especieCarga/especie
		imgveiculofile:///home/eversonrb/workspace/estudo/src/main/webapp/reports/fop/00055335.ES4/imgveiculo
	/via1
/dados


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

XSL-FO to PCL

2011-08-26 Thread Everson Rogério

Hi,

I'm having problems converting PCL file created from XML and XSL files using 
FOP in JAVA.

Does anyone have examples in java? 

I am using a Java class to generate PDF from an XSL and XML. Now, I need to 
generate PCL with these XSL and XML files.

I read something about this in Graphic Library fop org.apache.fop.render.pcl, 
but I'm not succeeding.

Note:
1) there is an image in the PDF generated, so I'm using the tag 
fo:external-graphic. and works good!
2) I am using FOP 1.0

Thanks
Everson

Help: XSL to PCL

2011-08-25 Thread Everson Rogério
Hello
I am using a Java class to generate PDF from an XSL and XML. Now, I need to 
generate PCL with these XSL and XML files.

I read something about this in Graphic Library fop org.apache.fop.render.pcl, 
but I'm not succeeding.
Can anyone help me? Send examples?

Note that there is an image in the PDF generated, so I'm using the tag 
fo:external-graphic. and works good!

Thanks