Skip to main content
Participant
April 25, 2013
Question

.PS file generation fails

  • April 25, 2013
  • 2 replies
  • 741 views

Hi, I have an application(VB EXE) which uses Acrobat distiller 5 on windows 2000 to convert Word(2000) to PDF. Conversion happens in two steps 1) word to .PS file using print as file 2) PS to PDF using FiletoPDF Method. Application was working fine till date but when we upgraded OS Windows 2000 to Windows 2003 and Acrobat Distiller V 5 to Acrobat Standard V9 which has Acrobat Distiller v9(Standard).The conversion of Word to PDF is not happening as expected. Issue Overview: Application(EXE) process requests one by one and converts word to PDF. For Eg: when we have 100 request for conversion It works fine for around 20 document conversion, then it starts generating PS with 0 KB in the actual path which it supposed to generate the PDF and it generates the same PDF document with wrong file name in MYDocuments folder with the content of actual PDF. When we re-run the program again for the same 100 request. It works fine for 40 or 60 documents again it generates the PS with 0 kb for 20 odd documents and corrects itself automatically. Following are the contents in Message.log ========================================== Start Time: 25 April 2013 at 15:37:07 Source: PMtoDistiller_ID_195:Microsoft Word - 2078224 - CMI UnitStatementsGerman - 5071671H - Börner 201… Destination: C:\Documents and Settings\EContracts\My Documents\G042J - 5065101A - GUSREGD - Brandenburger - A2_IntrodCopy….pdf Adobe PDF Settings: C:\Documents and Settings\All Users\Application Data\Adobe\Adobe PDF\Settings\Standard.joboptions C:\Documents and Settings\EContracts\My Documents\G042J - 5065101A - GUSREGD - Brandenburger - A2_IntrodCopy….log %%[ ProductName: Distiller ]%% %%[Page: 1]%% %%[Page: 2]%% %%[Page: 3]%% %%[Page: 4]%% %%[LastPage]%% Distill Time: 00 Hour(s) : 00 Minute(s) : 00.578 Second(s) **** End of Job **** Start Time: 25 April 2013 at 15:37:12 Source: PMtoDistiller_ID_196:Microsoft Word - 2078224 - CMI UnitStatementsGerman - 5071671H - Börner 201… Destination: C:\Documents and Settings\EContracts\My Documents\G042J - 5065101A - GUSREGD - Brandenburger - A2_IntrodCopy….pdf Adobe PDF Settings: C:\Documents and Settings\All Users\Application Data\Adobe\Adobe PDF\Settings\Standard.joboptions C:\Documents and Settings\EContracts\My Documents\G042J - 5065101A - GUSREGD - Brandenburger - A2_IntrodCopy….log %%[ ProductName: Distiller ]%% %%[Page: 1]%% %%[Page: 2]%% %%[Page: 3]%% %%[Page: 4]%% %%[LastPage]%% Distill Time: 00 Hour(s) : 00 Minute(s) : 00.625 Second(s) **** End of Job **** ========================================== Observation: if PS is generated successfully, then "Source:" in log has corect file name i.e. with .PS Extension else log has source as "PMtoDistiller_ID_XXX" with .doc extension. It would be great to know what is actually causing this unstability in PDF conversion.Any help would be great on this.

    This topic has been closed for replies.

    2 replies

    Participant
    April 26, 2013

    Thanks for your Reply Mandeep..! In my application we were converting word to pdf with normal font's only. In my further observation on this issue, .ps file generation is getting failed only when the print queue spool was not getting cleared. And also 'OnJobDone' event getting triggered even before clearing the print queue spool. Note:In my VB.exe application, i've set the bspoolJobs to false. Kindly share your further comments and suggestions!

    Mandeep5062
    Participating Frequently
    April 25, 2013