Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Skipping and dups when printing fillable pdfs
Message
From
22/03/2010 13:36:32
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01456159
Message ID:
01456204
Views:
74
No. Here's the code.

* Update the xfdf file.
lccurdir = CURDIR()
CD trim(goapp.cpathshared) + "w2\" + ALLTRIM(lcyear)
DELETE file '8655out.xfdf'
CD &lccurdir

STRTOFILE(lcstring, trim(goapp.cpathshared) + "w2\" + ALLTRIM(lcyear) + '\8655out.xfdf', 0)

lcxfdf = trim(goapp.cpathshared) + "w2\" + ALLTRIM(lcyear) + '\8655out.xfdf'

* Print the populated form.
SET CONSOLE OFF
SET HEADINGS OFF

thisform.printpdf(lcxfdf)

* Wait 10 seconds.
WAIT 'Printing the 8655 form...' window timeout 10
WAIT CLEAR

SET HEADINGS ON
SET CONSOLE ON


>When you write back to the .xfdf file, do you check if operation completed successfully or failed?
>
>>I have a client list of 1000 clients. Everyone gets a printed PDF tax form filled in with their information.
>>
>>I fill the forms using the following procedure:
>>I create an .xfdf file from the pdf using Nuance PDF Professional 5.
>>For each client,
>> I get the original .xfdf file.
>> I convert the .xfdf file to a string.
>> I stuff the string with all the client's information.
>> I convert the string back to an .xfdf file.
>> I print the .xfdf file.
>>
>>
>>The problem is while the reports are printing, every now and then, a client record will get skipped and I'll get a dup of a client record that's aleady been printed. Maybe 3 dups in a row of the same client record.
>>
>>What's happening that's causing the skipping?
>>
>>Would it be a good idea to run it on a much faster machine to see if I still have the problem?
>>
>>Any other suggestions?
>>
>>Regards,
>>Deb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform