Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
APRINTERS() causes a crash under VFP5 and Citrix
Message
De
14/08/2002 23:29:48
 
 
À
14/08/2002 18:31:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00686374
Message ID:
00689846
Vues:
26
We've encountered this problem as well. In our case, the problem was caused if there was no printer installed in the current Citrix session. This problem also occured if there is a Fax printer (automatically added in some Windows installation) and there is no printer installed. You can check this by logging on the Citrix and check the Printers on the Citrix session's control panel.

Our solution was not done in VFP. We coordinated with the client's IT personnel and made them change the Citrix client settings to automatically map to the user's local/network printers during Citrix logon.


>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
ramil
~~ learning to stand still
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform