6254: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|#If under [[Client Server]] and you try to create a PDF file on the server. | |#If under [[Client Server]] and you try to create a PDF file on the server. | ||
#The PDF file is locked by a different program. | #The PDF file is locked by a different program. | ||
|#PDF files must be created on the client side, and then copied up to the server. To do that, you put an | |#PDF files must be created on the client side, and then copied up to the server. To do that, you put an "@:" on the front of the file name and specify a valid local directory for the creation. Then you follow up with an "execute copy" command to copy the file from the client to the server. | ||
open #255: "name<nowiki>=</nowiki>PDF:,PrintFile<nowiki>=</nowiki>@:Temp\Tmp.pdf,Replace,RecL<nowiki>=</nowiki>500",display,output | |||
open #255: "name=PDF:, PrintFile=@: | <nowiki>!</nowiki> Print the report here | ||
! Print the report here | Close #255: | ||
Close #255: | execute "[[copy @:]]Temp\Tmp.pdf Reports\TimeLogReport.pdf" | ||
execute "copy @: | |||
#close the other program and try again | #close the other program and try again | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
[[Category:Error Codes]] | [[Category:Error Codes]] | ||
</noinclude> | </noinclude> |
Latest revision as of 15:24, 27 September 2016
Summary: |
Creating a new PDF document failed. |
---|---|
Cause: |
|
Remedy: |
open #255: "name=PDF:,PrintFile=@:Temp\Tmp.pdf,Replace,RecL=500",display,output ! Print the report here Close #255: execute "copy @:Temp\Tmp.pdf Reports\TimeLogReport.pdf"
|