Focal Point
Dupley Printing (recto-verso)

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6497041926

March 01, 2013, 10:29 AM
Peter Josef
Dupley Printing (recto-verso)
We have a challence to control the information printed on the front side and back side of an Invoice (Duplex).

We have a Compound Document containing 2 different Documents (1 fexfile). The length of the 1st Document (Invoice) is always variable - i.e. let's say 3 pages. The 2nd Document (Terms & Conditions) has always 1 page.

The request is to print Terms & Conditions on the back side of every Invoice page.

Ex.
Front Side 1st page Docu 1 (1st page)
Back Side 1st page Docu 2 (single page)

Front Side 2nd page Docu 1 (2nd page)
Back Side 2nd page Docu 2 (single page)

Front Side 3st page Docu 1 (3rd page)
Back Side 3st page Docu 2 (single page)


Does anybody have an idea how to solve this request ? All I know it needs to be a kind of loop...but the problem is that WebFocus doesn't know at run time the number of pages ...

By researching I found:
http://community.sagemas.com/t...Condition/td-p/22387

This message has been edited. Last edited by: Peter Josef,


WF7703M, Windows 2008 server, Oracle WebLogic 11g, MSSQL 2008 R2
March 02, 2013, 07:39 AM
George Patton
Well, you could do it in two stages with a HOLD as the first stage. That way you will be able to store a count of the pages for each document you want printed.

I'd be surprised if there aren't other ways to do it in a single pass as well.


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
March 03, 2013, 08:01 AM
FrankDutch
Is there soms kind of relation between the two reports?
If you know where to put the page breaks for the first report by the number of lines it should be possible to combine the two reports.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

March 04, 2013, 04:32 AM
Peter Josef
Tried it but got a problem due to the Styling. Thanks George


quote:
Originally posted by George Patton:
Well, you could do it in two stages with a HOLD as the first stage. That way you will be able to store a count of the pages for each document you want printed.

I'd be surprised if there aren't other ways to do it in a single pass as well.



WF7703M, Windows 2008 server, Oracle WebLogic 11g, MSSQL 2008 R2
March 11, 2013, 12:42 PM
Peter Josef
Unfortunately the received proposals didn't work out due to the complex Styling approach we are using. We do have 3 different Type of pages in the Invoice Document with different nbr of lines per page. The length of any line is variable thus we can't predefine anything.

We are now testing a possibility to use A3 format - showing left side the Invoice Document and right side the T&C.

The only thing to solve now is to force a Printer printing an A3 document as A4 format. If anybody has any idea would be great


WF7703M, Windows 2008 server, Oracle WebLogic 11g, MSSQL 2008 R2
March 11, 2013, 01:11 PM
Doug
quote:
The length of the 1st Document (Invoice) is always variable - i.e. let's say 3 pages.
You could make the Invoice reports "Always Fixed (length)" by programatically tracking lines per page and "breaking" the report into pieces based on your line count. Then the compound report would be something like

SET COMPONENT='report1'
-INCLUDE invoice_part1.fex

SET COMPONENT='report2'
-INCLUDE invoice_TandC.fex

SET COMPONENT='report3'
-INCLUDE invoice_part2.fex

SET COMPONENT='report4'
-INCLUDE invoice_TandC.fex

SET COMPONENT='report5'
-INCLUDE invoice_part3.fex

SET COMPONENT='report2'
-INCLUDE invoice_TandC.fex

-* and so on...

Of course you'll need to check for LPP in each "invoice_part#.fex". But, Yes, we can do that in WebFOCUS"...




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206