Focal Point
PDF Layout (merge PDF outputs into one)

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

October 08, 2007, 02:31 PM
ypatel
PDF Layout (merge PDF outputs into one)
Is there any way in Webfocus to merge two PDFs ?
I know when we have two separate reports - each producing PDF output - we can combine them into one PDF using PDF Layout, I would like to know if I have a PDF doc on server, is there any way I can combine that PDF with report PDF and produce as one PDF WF report output ?

Any suggestion/comment would be greatly appreciated !!


-Yogesh Patel
------------------------------------------------------------------------
PROD: WF 764 on Linux Apache tomcat v5.5
DEV: WF 768 on Linux
October 08, 2007, 03:00 PM
RichH
Hi Yogesh,
Do a search on IBI's tech support page for compound pdf and you should find plenty of examples to follow like this one:

Here is an example of a PDF styled Compound report using the SET COMPOUND command:

TABLE FILE CAR
SUM SALES BY COUNTRY BY CAR
ON TABLE SET COMPOUND 'OPEN NOBREAK'
ON TABLE PCHOLD FORMAT PDF
END
TABLE FILE CAR
PRINT MPG BY COUNTRY BY CAR BY MODEL
ON TABLE SET COMPOUND NOBREAK
END
TABLE FILE CAR
SUM SALES BY COUNTRY
ON TABLE SET COMPOUND 'CLOSE NOBREAK'
ON TABLE PCHOLD FORMAT PDF
END

Regards,
Rich


WebFOCUS 8202 Win 2012
Test - WebFOCUS 8203 on Win 2012
October 08, 2007, 05:28 PM
ypatel
I am looking for something that allows me to take already generated PDF report/file which is stored on the WF server and then combine it with a PDF report.

Basically any PDF file (may not be a report) if I want to merge with a webfocus generated PDF report - is it possible and if yes how ??


-Yogesh Patel
------------------------------------------------------------------------
PROD: WF 764 on Linux Apache tomcat v5.5
DEV: WF 768 on Linux
October 08, 2007, 06:43 PM
Darin Lee
WF would have to be able to read a PDF document as input and there is no functionality in WF to do that. There is functionaliity in WF to attach a pre-existing document so that may get you part way, but can't really "combine" output in PDF format with a pre-existing document in PDf format. Not many times do you have to say WF can't do it, but I think you're out of luck on this one. Frowner


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
October 09, 2007, 10:38 AM
Francis Mariani
I have used a command-level tool called PDCAT from Glance to achieve this functionality and it worked wonderfully on Windows and UNIX. Unfortunately, taking a quick look at their website, I don't see them offering this product any more, though you may have better luck. You could try looking for another command-line tool that does the same thing.

This is how I would call PDCAT in UNIX to concatenate several WebFOCUS generated PDF reports along with previously existing PDF files:

C:
cd c:\IBI\Apps\p700\p7pdf\
cd RLO\A000119074\P20020228\
c:\IBI\pdcat\pdcat -r  -bglogo P7P915.pdf  -I "Exchange Rates" P7R101.pdf  -I "Summary of Account" P7R102.pdf  -I "Portfolio Valuation Summary" P7R103.pdf  -I "Pending Sales" P7R114.pdf  -I "Capital Issues" P7R115.pdf  -I "Cash Receipts" P7R116.pdf  -I "Cash Disbursements" P7R117.pdf  temp.pdf
c:\IBI\pdcat\pdcat -r  -bglogo c:\IBI\Apps\p700\p7pdf\standard\p7p910e.pdf  -c "Global Custody Reporting"  -sub "Account No.: 000119074"  -I "Title Page" P7P920.pdf  -I "Disclaimer" c:\IBI\Apps\p700\p7pdf\standard\p7p900e1.pdf  -I "Table Of Contents" P7P921.pdf  temp.pdf  C:\ibi\srv52\home\etc\RLO_A000119074_P20020228.pdf
rm temp.pdf



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server