You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by David Hurcomb <da...@mpfs.org.uk> on 2007/11/29 14:05:04 UTC

Question regarding FOP usage and PCL duplex

I have started to evaluate FOP for document production purposes.

At first look I am very impressed and hope to use it to produce PCL for 
print runs of  (less than 10) thousand small simple documents(2-3 
pages).  I also intend to store the FO make up of the document of the 
document for production on demand in pdf (etc..) formats. 

Firstly I would be grateful if you could let me know if this is a 
sensible use for FOP.

Secondly, regarding  PCL I notice that output tray selection is 
supported via an extension I have tested this and it works but I cant 
see how to specify a page as duplex.  I am happy to get dug in to the 
source code if required to achieve this.  Does anyone have any 
experience in generating PCL for duplex documents?

(I also have a problem with AWT rendering integrated within my java 
program... would this be a good place to ask)
-- 
*David Hurcomb*
Programmer
Metropolitan Police Friendly Society Ltd. (MPFS)

Registered Address: Berwick House, 8/10 Knoll Rise, Orpington, Kent. BR6 
OEL
MPFS is authorised and regulated by the Financial Services Authority 
(Reg. No. 110026)
MPFS is incorporated under the Friendly Societies Act 1992 (Reg. No. 496F)


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


Re: Question regarding FOP usage and PCL duplex

Posted by David Hurcomb <da...@mpfs.org.uk>.
>> Secondly, regarding  PCL I notice that output tray selection is 
>> supported via an extension I have tested this and it works but I cant 
>> see how to specify a page as duplex.  I am happy to get dug in to the 
>> source code if required to achieve this.  Does anyone have any 
>> experience in generating PCL for duplex documents?
>
> There is a similar bug recorded in Bugzilla that prevents Duplex 
> Printing in PCL.
>
> http://issues.apache.org/bugzilla/show_bug.cgi?id=43650
>
> However, this is not about getting the duplex commands into the PCL 
> stream though. I don't know how that could be done. 
I thought that I could start by adding a method to 
org.apache.fop.render.pcl.PCLGenerator.java and a call to it from 
PCLRenderer in the same way that "paper-source" is set.  But I bet it is 
not that simple!
> But even if you solved that problem, the above bug would prevent the 
> document being printed correctly.
That's a bit of a showstopper, but it looks like a patch has been 
submitted perhaps once I can work out how to compile the code I will be 
able to test it. (I'm a bit new to open source development lark)

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


Re: Question regarding FOP usage and PCL duplex

Posted by Chris Bowditch <bo...@hotmail.com>.
David Hurcomb wrote:

> I have started to evaluate FOP for document production purposes.
> 
> At first look I am very impressed and hope to use it to produce PCL for 
> print runs of  (less than 10) thousand small simple documents(2-3 
> pages).  I also intend to store the FO make up of the document of the 
> document for production on demand in pdf (etc..) formats.
> Firstly I would be grateful if you could let me know if this is a 
> sensible use for FOP.

Yes. FOP is quite capable of generating high volumes of documents in 
either PCL or PDF.

> 
> Secondly, regarding  PCL I notice that output tray selection is 
> supported via an extension I have tested this and it works but I cant 
> see how to specify a page as duplex.  I am happy to get dug in to the 
> source code if required to achieve this.  Does anyone have any 
> experience in generating PCL for duplex documents?

There is a similar bug recorded in Bugzilla that prevents Duplex 
Printing in PCL.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43650

However, this is not about getting the duplex commands into the PCL 
stream though. I don't know how that could be done. But even if you 
solved that problem, the above bug would prevent the document being 
printed correctly.

> 
> (I also have a problem with AWT rendering integrated within my java 
> program... would this be a good place to ask)

Yes.

Chris




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