Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report Writer and Acrobat

Status
Not open for further replies.

Scott24x7

Programmer
Jul 12, 2001
2,816
JP
Hi All,
Thanks heaps for al the help in getting me going in the report writer.
I have everything working in it that I wanted, but there is one more small thing I'm hoping to fix. Our default printer is Acrobat (which we have installed on the machines, so no issues about it, we just set the printer type). But when we print to Acrobat, that launches the Save dialog, which is also ok, but it always defaults the file name to the name of the reportform. Is there a way to have it use some other value (like expense title) as the default for the file name?


Best Regards,
Scott
MSc ISM, MIET, MASHRAE, CDCP, CDCS, CDCE, CTDC, CTIA, ATS

"Everything should be made as simple as possible, and no simpler."[hammer]
 
A day has 24*60*60 = 86400 seconds, with 8000 PDFs that's 10.8 seconds per PDF and you can raise the available time per PDF and reduce the overall processing time, if you use multiple processes or even servers.

PDFCreatore configured for autosaving and not showing progress created 10 PDFs of Tools\Filespec\90frx.frx in about 10 seconds. So if the invoices are not complex and mostly single page, I assume you could even process larger batches, by this estimation a computer like mine (not the newest) would do the job in ca. 3 hours.

Bye, Olaf.

Olaf Doschke Software Engineering
 
Olaf,
A day has 24 hours sure, but, at least here in Holland, we usualy have only 8 working hours. We also need to sleep, eat, care for our children a.s.o.
Regards,
Koen
 
Yes, but this isn't done by employees, but by scheduled or always running tasks, you can use the whole day. With 1second per invoice you get to about 3 hours, so this could run during night and send PDFs next morning after review of the process, whatever. But you shouldn't make working hours a limitation for software.

Bye, Olaf.

Olaf Doschke Software Engineering
 
Yes, generally the invoice is one page. I currently am averaging somewhere around 2 seconds per PDF creation using XFRX. With invoices which are small, I have to setup an automatic restart of the app at around 2000 invoices created in order not to crash the app. I think there may be a memory leak somewhere. In creating our pay statements, I create around 30,000 PDF reports which are multiple reports appending into one PDF file. I have only been able to run around 300 of these before crashing and they average somewhere around 5-8 seconds depending on the size of the report. Using the old eReports software, I don't have this issue of crashing but I can't get it to run on any of the newer OS's because of having images in the PDF (it causes an error). I can't really get support on eReports anymore even though I was able to contact Jim Eddins back earlier this year but it is no longer supported. I have 3 VM's running Windows XP in order to generate these PDF statements over the course of several days. I just need a new solution that is fast and works reliably on newer OS's. I know that's a lot to ask from older software but hey, for our main order entry application we are still running a Fox 2.6 app that creates all these orders running in the USA and the UK. [bigsmile]

I will say, we are on the move to a new ERP system being customized to handle all of our order entry and customer management as well. Should be finished in the next year but work still has to continue on this system until replaced.

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top