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 Jannik Norgaard Steen <JZ...@dk.ibm.com> on 2009/01/23 14:23:53 UTC
PS 'numcopies' and 'collate' page device parameters
Hi,
is it possible to somehow directly modify the 'numcopies' and 'collate' PS
page device parameters
when the output-target is PS? I had a quick glance at the FOUserAgent but
didn't find any useful
properties to use.
If not, is there any other way I can hook into the rendering process to
set these parameters in the PS-output?
Cheers,
Jannik Nørgaard Steen
Advisory IT Specialist
ACURE A/S,
An IBM Division,
Bytoften 1, 8240 Risskov, Denmark.
Tlf.: +45 39 11 80 00 / Direkte: + 45 45 24 80 66.
Todays exception antipattern:
catch (NoSuchMethodException e) {
e.printStackTrace();
return null;
} // Man I hate this one
Medmindre andet er angivet ovenfor: / Unless Otherwise Stated Above:
IBM Danmark A/S
Nymøllevej 91
2800 Kongens Lyngby, Danmark
CVR nr.: 65305216
Re: PS 'numcopies' and 'collate' page device parameters
Posted by Chris Bowditch <bo...@hotmail.com>.
Jannik Norgaard Steen wrote:
>
> Hi,
>
> is it possible to somehow directly modify the 'numcopies' and 'collate'
> PS page device parameters
> when the output-target is PS? I had a quick glance at the FOUserAgent
> but didn't find any useful
> properties to use.
You can use the Postscript Extensions ps:ps-setup-code and
ps:ps-page-setup-code to inject commands into the Postscript. For more
details take a look at the Wiki on Postscript Extensions:
http://wiki.apache.org/xmlgraphics-fop/ExtensionsForPostScript
>
> If not, is there any other way I can hook into the rendering process to
> set these parameters in the PS-output?
>
> Cheers,
Regards,
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: attaching any type of files to PDF
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Andrejus Chaliapinas once started a patch for this but I had some issues
with it and he hasn't followed up, yet. Maybe someone else can finish
the patch.
See here:
https://issues.apache.org/bugzilla/show_bug.cgi?id=44460
Please keep in mind that making use of file attachments inside the PDF
will be incompatible with PDF/A. Just in case.
On 23.01.2009 17:09:27 Li, Hao wrote:
> Hi,
>
> Is it possible to attach any type of files (.doc, .pdf, .xls etc) to
> PDF in FOP? This is not merging like Jeremias did in fop-pdf-image, but just
> an internal link in the PDF which links to the attachment wrapped
> inside the PDF file, instead of going out to the external file. I know PDF has
> such a capability. I was curious that if FOP has done or are planning
> something like this.
>
> Thank you very much,
>
> Hao Li
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
attaching any type of files to PDF
Posted by "Li, Hao" <li...@peacetech.com>.
Hi,
Is it possible to attach any type of files (.doc, .pdf, .xls etc) to PDF in FOP? This is not merging like Jeremias did in fop-pdf-image, but just an internal link in the PDF which links to the attachment wrapped inside the PDF file, instead of going out to the external file. I know PDF has such a capability. I was curious that if FOP has done or are planning something like this.
Thank you very much,
Hao Li