Wrox Programmer Forums
|
Forum and Wrox.com Feedback Post your suggestions for improving the Forums or Wrox.com or questions for the staff here. "Where can I find the code for my book?"
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Forum and Wrox.com Feedback section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 19th, 2011, 11:56 AM
Registered User
 
Join Date: Jul 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default The last odd page of a document

Hello,

I'am using XSLT-FO with FOP 0.96 to generate, at one time, a list of PDF's documents. The generated documents will be automatically printed, at one time, in duplex format. So, i have to separate all the documents by making a specific treatment on the last odd page of all document as shown bellow :

For 3 pages :

1st page : no specific treatment
2nd page : no specific treatment
3rd page : specific treatment
4th page : blank because of the duplex printing format.

For 4 page :

1st page : no specific treatment
2nd page : no specific treatment
3rd page : specific treatment
4th page : not-blank and no specific treatment because of the duplex printing format.

For 2 page :
1st page : specific treatment
2nd page : not-blank and no specific treatment because of the duplex

For 1 page :
1st page : specific treatment
2nd page : blank because of the duplex printing format.

I have no problem when the last page of one document is an odd page. But when the last page is an even page I do not see how to make a specific treatment in the page before ?
I need a help, I need a help,........





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to embed Word document in HTML page! zaerymoghaddam HTML Code Clinic 2 March 23rd, 2017 06:23 AM
document.element isn't working in aspx page SOLVED logidude ASP.NET 1.0 and 1.1 Basics 2 June 29th, 2007 01:44 PM
Page numbering: count odd pages only zolex82 XSLT 0 December 5th, 2005 11:43 AM
open excel document in jsp page mermaid VB How-To 1 December 3rd, 2004 06:45 PM
How show Word Document in One of the Frames page Umashankar R VB.NET 2002/2003 Basics 1 September 12th, 2004 09:36 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.