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 Matthew Lancashire <m....@ies.uk.com> on 2003/05/12 10:22:16 UTC
Duplex Printing
Is there a way of psecifying whether pages are duplex when producing a pdf?
Matthew Lancashire
IT Project Manager
Initial Electronic Security Ltd
Tel: +44 1282 473554
Fax: +44 1254 267552
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
RE: Duplex Printing
Posted by Matthew Lancashire <m....@ies.uk.com>.
Thanks for your help
-----Original Message-----
From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Sent: 12 May 2003 09:59
To: fop-user@xml.apache.org
Subject: Re: Duplex Printing
As far as I know you can't do that with basic PDF. The thing you're
trying to do would be part of a job ticket, but FOP doesn't support any
job ticket functionality. The only way to print a PDF in duplex is to do
it manually. Even if you can embedd a job ticket that supports
specifying duplex information you still have to make sure that the party
finally printing the PDF can interpret the job ticket format.
With PostScript this would be simpler at the moment because you would be
able to add in duplex commands relatively easily by patching the
PostScript file after it is generated by FOP.
On 12.05.2003 10:48:57 Matthew Lancashire wrote:
> When someone prints a pdf I have produced using FOP I want certain pages
to
> print on the reverse of the previous page. eg Front of page would show a
> Contract and the reverse of that page would show Terms and Conditions
Page.
> I only want this to happen on certain pages and when it is printed. As far
> as the pdf is concerned I am do not want to alter that presentation.
>
> Do I have to embed printer commands or something?
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: Duplex Printing
Posted by Jeremias Maerki <de...@greenmail.ch>.
As far as I know you can't do that with basic PDF. The thing you're
trying to do would be part of a job ticket, but FOP doesn't support any
job ticket functionality. The only way to print a PDF in duplex is to do
it manually. Even if you can embedd a job ticket that supports
specifying duplex information you still have to make sure that the party
finally printing the PDF can interpret the job ticket format.
With PostScript this would be simpler at the moment because you would be
able to add in duplex commands relatively easily by patching the
PostScript file after it is generated by FOP.
On 12.05.2003 10:48:57 Matthew Lancashire wrote:
> When someone prints a pdf I have produced using FOP I want certain pages to
> print on the reverse of the previous page. eg Front of page would show a
> Contract and the reverse of that page would show Terms and Conditions Page.
> I only want this to happen on certain pages and when it is printed. As far
> as the pdf is concerned I am do not want to alter that presentation.
>
> Do I have to embed printer commands or something?
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
RE: Duplex Printing
Posted by Matthew Lancashire <m....@ies.uk.com>.
When someone prints a pdf I have produced using FOP I want certain pages to
print on the reverse of the previous page. eg Front of page would show a
Contract and the reverse of that page would show Terms and Conditions Page.
I only want this to happen on certain pages and when it is printed. As far
as the pdf is concerned I am do not want to alter that presentation.
Do I have to embed printer commands or something?
-----Original Message-----
From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Sent: 12 May 2003 09:41
To: fop-user@xml.apache.org
Subject: Re: Duplex Printing
And I obviously don't understand what you're trying to do. Duplex
printing can also mean embedding a command to a printer telling him to
print on both sides of a sheet, although that doesn't apply to PDF. So,
"duplex printing" can mean several things.
So please try again to explain what you need.
On 12.05.2003 10:38:33 Matthew Lancashire wrote:
> I don't quite understand what you have said. :)
> Also I only want certain pairs of pages printed as duplex
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: Duplex Printing
Posted by Jeremias Maerki <de...@greenmail.ch>.
And I obviously don't understand what you're trying to do. Duplex
printing can also mean embedding a command to a printer telling him to
print on both sides of a sheet, although that doesn't apply to PDF. So,
"duplex printing" can mean several things.
So please try again to explain what you need.
On 12.05.2003 10:38:33 Matthew Lancashire wrote:
> I don't quite understand what you have said. :)
> Also I only want certain pairs of pages printed as duplex
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
RE: Duplex Printing
Posted by Matthew Lancashire <m....@ies.uk.com>.
I don't quite understand what you have said. :)
Also I only want certain pairs of pages printed as duplex
-----Original Message-----
From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Sent: 12 May 2003 09:28
To: fop-user@xml.apache.org
Subject: Re: Duplex Printing
You need different borders for odd and even page numbers?
<fo:layout-master-set>
<fo:simple-page-master master-name="right"
[..]
margin-left="3.5cm"
margin-right="1.5cm">
[..]
</fo:simple-page-master>
<fo:simple-page-master master-name="left"
[..]
margin-left="1.5cm"
margin-right="3.5cm">
[..]
</fo:simple-page-master>
<fo:page-sequence-master master-name="alternating">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference master-reference="right"
odd-or-even="odd"/>
<fo:conditional-page-master-reference master-reference="left"
odd-or-even="even"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>
On 12.05.2003 10:22:16 Matthew Lancashire wrote:
> Is there a way of psecifying whether pages are duplex when producing a
pdf?
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: Duplex Printing
Posted by Jeremias Maerki <de...@greenmail.ch>.
You need different borders for odd and even page numbers?
<fo:layout-master-set>
<fo:simple-page-master master-name="right"
[..]
margin-left="3.5cm"
margin-right="1.5cm">
[..]
</fo:simple-page-master>
<fo:simple-page-master master-name="left"
[..]
margin-left="1.5cm"
margin-right="3.5cm">
[..]
</fo:simple-page-master>
<fo:page-sequence-master master-name="alternating">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference master-reference="right" odd-or-even="odd"/>
<fo:conditional-page-master-reference master-reference="left" odd-or-even="even"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>
On 12.05.2003 10:22:16 Matthew Lancashire wrote:
> Is there a way of psecifying whether pages are duplex when producing a pdf?
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org