Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FRx + PDF in single print job
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01534180
Message ID:
01534629
Vues:
159
>>Hi All,
>>
>>I am trying to come up with a method whereby I can print a VFP report and 1 to many PDFs within a single print job. I wish to do this so as to be able to have the printer staple all of the pages together.
>>
>>I imagine that I can probably find a pdf creation tool (a pdf printer I can print to) that can achieve this but is there a cleverer way using NOPAGEJECT and then outputting the pdfs to the print job, also without ending the print job (until the last pdf).
>>
>>I want to avoid having to output the VFP report to PDF as it has trutype barcodes on it and they don't scan when converted to pdf.
>>
>>Cheers,
>>Jamie
>
>Hi Jamie,
>
>Check FoxyPreviewer
>The usage for your purpose is realy very simple:
>
>
>* Create a PDF file merging reports, without preview
>LOCAL loReport AS "PreviewHelper" OF "FoxyPreviewer.App" 
>loReport = CREATEOBJECT("PreviewHelper") 
>loReport.AddReport(_Samples + "\Solution\Reports\colors.frx", "FOR Client = 'VFPx' ") &&' FRX File, Clauses 
>loReport.AddReport(_Samples + "\Solution\Reports\Precent.frx") &&' FRX File, Clauses 
>loReport.cDestFile = "c:\my1stSample.PDF"
>loReport.RunReport() 
>
>
>All you need to do is to distribute one single file, FOXYPREVIEWER.APP
>
>If you need to export just one FRX, it's even simpler:
>
>
>DO FOXYPREVIEWER.APP
>REPORT FORM YourReport OBJECT TYPE 10 TO FILE "c:\my2ndSample.PDF"
>
>
>That simple!
>Please check the documentation for more options, etc
>
>HTH

Hey Cesar,

Thanks for the reply. I may not have explained myself clearly enough!

I want to be able to output an FRX to printer (not PDF), followed by some pdfs to printer (not reports, just pdfs that are already created) AND have that all of happen in one print job.

Cheers,
Jamie
Cheers,
Jamie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform