Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combining multiple PDFs into one
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01656035
Message ID:
01656036
Vues:
65
>Hi,
>
>I am working on a routine that will create a number of PDF files. Each PDF is FRX report converted via a XFRX. Each FRX is a Form/Order. Therefore, it is not possible for me to combine various FRX into one.
>If I wanted to have all these PDF to be in one PDF, would it be possible to do from VFP application?
>
>TIA

Hi Dmitry,

You can combine more reports into one output file:
USE demoreps\invoices ORDER customer
LOCAL m.loSession, m.lnRetval
m.loSession= xfrx("XFRX#INIT")
m.lnRetVal = m.loSession.SetParams("output.pdf",,,,,,"PDF")
IF m.lnRetVal = 0
   m.loSession.ProcessReport("report1")
   m.loSession.ProcessReport("report1")
   m.loSession.ProcessReport("report2")
   m.loSession.finalize()
ELSE
   ? m.lnRetVal
ENDIF
USE demoreps\invoices ORDER customer
LOCAL m.loSession, m.lnRetval
m.loSession = XFRX("XFRX#LISTENER")
m.lnRetval = loSession.SetParams("output.pdf",,,,,,"PDF")
IF m.lnRetval = 0
   REPORT FORM report1 OBJECT m.loSession NOPAGEEJECT
   REPORT FORM report1 OBJECT m.loSession NOPAGEEJECT
   REPORT FORM report2 OBJECT m.loSession
ELSE
   ? m.lnRetval
ENDIF
MartinaJ
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform