Studio 8.1 Printer Error

Plum Hollow Software plum_hollow at cogeco.ca
Fri Aug 17 09:07:14 EDT 2018



> On Aug 17, 2018, at 8:51 AM, Michael Matthews via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
> 
> What is the final value of lPutFIlePath afetrteh FileOps?

lPutFIlePath=Mac HD:Users:CarolB:Desktop:Agents.csv
> 
> I think the getenv() result is already HFS and then you dd posix path data.  So maybe a mixture of type so the convert function does nothing?
> 
> And that you have R/W privs to your desktop folder, which I imagine you do have.  But test just in case.
> 
> Just a guess.
> 
> Mike
> 
> 
> 
> Mike Matthews, Managing Director, Lineal Software Solutions Ltd
> 
> Apple Reseller, Microsoft Partner, SQLWorks Business Partner
> phone: 01271 375999 | web: lineal.co.uk <http://www.lineal.co.uk/> | email: omnis at lineal.co.uk <mailto:mike.matthews at lineal.co.uk>
> 
>> On 17 Aug 2018, at 13:43, Plum Hollow Software <plum_hollow at cogeco.ca> wrote:
>> 
>> Hi List,
>> 
>> I client just bought a new iMac with 10.13 - High Sierra and cannot export a file now without getting this error:
>> 
>> E101681: Print manager Omnis Error: Unexpected error, action attempted on a closed physical file.  
>> 
>> Any suggestions?  Worked on her older mac.
>> 
>> Here is my code:
>> 
>> 		Calculate lHome as getenv('HOME')
>> 		Do FileOps.$convertposixpathtohfspath(con(lHome,'/','Desktop','/','Agents.csv'),lPutFIlePath)
>> 		Set search as calculation {fagents.AG_REG_BUT=1&fagents.AG_DontShowAgentWebChkbx=0}
>> 		Set report name rftpagents
>> 		Send to file
>> 		Set print or export file name {[lPutFIlePath]}
>> 		Print report (Use search)
>> 
>> 
>> Thanks,
>> 
>> Randy Wilson
>> Plum Hollow Software Inc.
>> plum_hollow at cogeco.ca
>> 905-563-6516
>> 
>> 
>> 
>> 
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 




More information about the omnisdev-en mailing list