Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adobe acrobat: Can not print; file already is in use or
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00486494
Message ID:
00490311
Vues:
7
Hi Richard,

I can try to put sleep function to force a delay. Basically, I didn't have a problem on my computer (or at least, it's very random), but my manager has this problem each first time, he works with this job. We re-installed Adobe Acrobat on his drive, but it didn't help. We tried put disable Virus scan, but it also didn't help.

>The other thing you could do is send the data to a second file and use if for the second pass....assuming the first pass doesn't alter the data.
>
>Rick
>----------------------
>>>Nadya,
>>>My first thought would be to trap the error and have it re-try (in a loop) until it works or until too much time has passed. My experience seems to indicate that 2-3 seconds should be enough time since most reports are small files. You may also want to verify the file is small. If you're working from a large file using filters to get only the records that apply then maybe if you SELECT'ed them into a small temp table, the scanner would finish sooner...
>>>
>>>if that's the cause.
>>
>>I don't have filters, but the files could be huge. The error came from Adobe Acrobat Writer, so I'm not sure, how to trap it. Though, the second error "Error loading printer driver" is probably trappable, but this error comes not from my application, so I'm not sure, how can I trap it.
>>>
>>>HTH,
>>>Rick
>>>---------------------------------------------------------
>>>>>Nadya,
>>>>>I don't know if this applies but I sometimes get a similar message as a result of how our virus scanner is configured....because after an action like this our scanner is checking things out....a moment later it's done and the problem goes away.
>>>>
>>>>It might apply in our case as well. Do you know, how can we fix the problem?
>>>>
>>>>
>>>>>Rick
>>>>>------------------------------
>>>>>>Hi everybody,
>>>>>>
>>>>>>I have a Report, which I run twice (for some pre-processing). First time I issue report form myReport to file noconosole and the second one I run to the printer using Adobe Acrobat Writer as a Printer. (and the program CreatePDF to set printer to Adobe Acrobat and to my filename). Occasionally I have an Error message from Adobe: "Can not print;file is used or locked", then VFP error: "Error loading Printer driver".
>>>>>>
>>>>>>Does somebody have this problem before? How can I resolve it?
>>>>>>
>>>>>>Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform