Tracy
Thanks for the links...
I have had a look at these, but it is beyond me to know where to start in relation to why APRINTERS causes a crash. We have no problem printing to the Citrix controlled printers, no problem seeing them with SYS(1037) or getprinter(), no problems outside of VFP - it just the execution of APRINTERS() that causes a problem!
Chris
------
>Did you try the links in this message:
>
>
Re: Printing problems using Citrix Thread #
677666 Message #
679253>
>I think that it sounds like the below needs to be followed:
>
>
http://knowledgebase.citrix.com/SERVICESOFT/DATA/CITRIXKB/document/whitepapers/printing/icaprinting.pdf>
>It definitely sounds like a client configuration issue in the ICA client or the configuration of the local machine access via the ICA client... just guessing though...
>
>Tracy
>
>>The code that causes the crash is the last line of the quoted code segment:
>>
>> *-- Compare printer name with available printers
>> RELEASE la_prntids
>> ll_arryok = (APRINTERS(la_prntids) > 0)
>>
>>
>>Chris
>>---------------
>>>We have a few users that access our app via Citrix. Our app uses aprinters() also and we have not experienced any problems (yet). It may have something to do with how your citrix is configured for printing to local printers...(?)
>>>
>>>I'm curious as to your specific problem (can you post the code that uses aprinters() and I'll compare it to ours?) with this and what the resolution turns out to be.
>>>
>>>Tracy
>>>
>>>>We have struck a problem with a Citrix installation and functions in our Accpac Pro 5 (using VFP 5) installation. Whenever we issue APRINTERS() it causes the Citrix session to crash out. We can reproduce this consistently.
>>>>
>>>>Has anyone struck this and found a solution?
>>>>
>>>>Thanks
>>>>Ric