No problem Paul. Looking forward to the beer next year ;-)

> On 27 Jul 2016, at 4:43 PM, Paul Dupuis <p...@researchware.com> wrote:
> 
> Monte,
> 
> Thank you so much - exactly that - so for LC6.x I added the follow which
> address the problem whether in the IDE or standalone
> 
> put the defaultFolder into tSaveDefaultFolder
> if (the environment is "development") then -- IDE
>  set the defaultFolder to specialFolderPath("engine")
> else -- standalone
>  set the defaultFolder to appPath()
> end if
> 
> -- do my PDF printing
> 
> set the defaultFolder to tSaveDefaultFolder
> 
> If I every see you at a LiveCode Conference (I have to attend Edinburgh
> via webcast this year), I owe you drinks or a meal or both!
> 
> 
> On 7/26/2016 11:31 PM, Monte Goulding wrote:
>> Hi Paul
>> 
>> I bumped into this in a project just before I started working for LiveCode. 
>> There’s an issue some of the latter 6.7 releases that requires you to set 
>> the default folder to the folder the pdf printer dll is in before opening 
>> printing for the first time. I believe this is fixe in LC 8.
>> 
>> Cheers
>> 
>> Monte
>>> On 26 Jul 2016, at 4:49 PM, Paul Dupuis <p...@researchware.com> wrote:
>>> 
>>> I have very large application running under LC 6.7.11 for Windows and OSX
>>> 
>>> I have code that does an "open printing for PDF", prints a field, and
>>> closes printing. Under OSX this works fine.
>>> 
>>> Under Windows, in both the IDE and a standalone, I get an execution
>>> error on the open printing for pdf line with the message:
>>> execution error at line n/a (printing: Unknown destination)
>>> 
>>> In the standalone, I might have interpreted this error as that the
>>> "revpdfprinter.dll" did not get added to the standalone, but it is
>>> (although why this dll is placed at the application level and not in the
>>> Externals folder continues to puzzle me).
>>> 
>>> I also might have though the file path & name passed to open pritning
>>> for pdf may have been a problem, but I have checked via debugger and the
>>> file path & name is valid, in a writable location, plenty of disk space,
>>> etc. Also tried multiple files and locations, so that is not it
>>> 
>>> However the fact that it happens in the IDE completely mystifies me. Can
>>> ANY one tell me what this error really means and what the cause may be?
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to