Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow Speed Creating Mulit-Page Tiffs using ReportListene
Message
De
03/05/2007 16:49:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01221837
Message ID:
01222341
Vues:
25
Thks for a tip Jaime
That worked like a charm.
BTW I was pleasently surprised with Document Imaging
report preview capabilities. My accountant loved
the fact that you can easily highligh numbers with green pen let say.
For them this will be excellent when they exchange reports
among themselves.

BTW do you by any chance have sample of running doc imaging from VFP
and passing existing tif file for preview ?

And what is the problem with colors, do they just slow down
printing to file or file gets distorted etc ?

TIA

>I have been using the following method for years, in functions that send thousands of TIF docs / day. You will only need to install the Fax printer that comes with Windows XP in case it's not installed.
>
>set printer to name "Fax"
>report form myReport to file "myfile.tif" noconsole
>
>That's it :-)
>
>Jaime
>
>
>>Jaime,
>>
>>I don't need color however there are some grey scale images but I don't see that as a problem. Please let me know the method you are using.
>>
>>
>>>Jennifer
>>>If you need color TIF documents, then i cannot help you, otherwise i have a method that works on all vfp versions and is extremely fast, no matter how many pages you may have...
>>>Jaime
>>>
>>>>Hello,
>>>>
>>>>If anybody has a way to speed up a process to create a multi-page tiff file or another method that would be super. The FOR loop below slows as the pages increase I think because the end of the Tiff file has to be found for appending.
>>>>
>>>>
>>>>* Create the report listener object (create tiff version of report for fax)
>>>>
>>>>PUBLIC ReportListenerObj
>>>>ReportListenerObj = CREATEOBJECT('ReportListener')
>>>>ReportListenerObj.ListenerType = 3
>>>>
>>>>REPORT FORM &report_path OBJECT ReportListenerObj
>>>>	
>>>>FOR PageCounter = 1 TO SavePageCount
>>>>    ReportListenerObj.OutputPage(PageCounter, temp_fax_folder + file_copy + '.tif', IIF(PageCounter = 1, 101, 201))	
>>>>ENDFOR
>>>>
>>>>Any help would be appreciated.
>>>>
>>>>Thank you
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform