<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Twain on Remko's Blog</title><link>https://remkoweijnen.nl/blog/tags/twain/</link><description>Recent content in Twain on Remko's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 06 Dec 2012 16:10:50 +0000</lastBuildDate><atom:link href="https://remkoweijnen.nl/blog/tags/twain/index.xml" rel="self" type="application/rss+xml"/><item><title>Application Hangs when Scanning in Citrix XenApp</title><link>https://remkoweijnen.nl/blog/2012/12/06/application-hangs-when-scanning-in-citrix-xenapp/</link><pubDate>Thu, 06 Dec 2012 16:10:50 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/12/06/application-hangs-when-scanning-in-citrix-xenapp/</guid><description>&lt;p&gt;Another interesting issue today with an application that runs on Citrix XenApp.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Environment&lt;/span&gt;&lt;/strong&gt;&lt;br&gt;
Customer has a Citrix XenApp 5 environment running on Windows Server 2003. Clients are all Windows XP and run the Citrix Online Plugin 12.3 full screen.&lt;/p&gt;
&lt;p&gt;RES Workspace Extender is used to integrate locally installed application into the XenApp Session. Users have no access to the local desktop.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Symptoms&lt;/span&gt;&lt;/strong&gt;&lt;br&gt;
This particular application scans invoices using a USB scanner attached to the client and runs them trough a workflow.&lt;br&gt;
Whenever the Start scan button was pressed the application froze.&lt;/p&gt;
&lt;p&gt;&lt;a class="glightbox thickbox" href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/12/SNAGHTML48ec098.webp" data-type="image" data-gallery="post-2814"&gt;&lt;img loading="lazy" decoding="async" style="display: inline;" title="SNAGHTML48ec098" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/12/SNAGHTML48ec098_thumb.webp" alt="SNAGHTML48ec098" width="408" height="308" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>File not found error when scanning using Twain Redirection in Citrix XenApp</title><link>https://remkoweijnen.nl/blog/2012/12/04/file-not-found-error-when-scanning-using-twain-redirection-in-citrix-xenapp/</link><pubDate>Tue, 04 Dec 2012 15:07:10 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/12/04/file-not-found-error-when-scanning-using-twain-redirection-in-citrix-xenapp/</guid><description>&lt;p&gt;&lt;a class="glightbox thickbox" href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/12/image.webp" data-type="image" data-gallery="post-2795"&gt;&lt;img loading="lazy" decoding="async" style="margin: 0px 0px 2px; display: inline; float: right;" title="Twain" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/12/image_thumb.webp" alt="Twain Logo" width="75" height="70" align="right" /&gt;&lt;/a&gt;Scanners attached to client machines can be used from within a Citrix XenApp session via a mechanism called Twain Redirection.&lt;/p&gt;
&lt;p&gt;For this mechanism to work correctly the file twain_32.dll must be present in the Windows directory.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #35383d;"&gt;On Windows 2008 this dll should be copied from winsxs (side by side) to the windows directory as described in &lt;a href="http://support.citrix.com/article/CTX123981"&gt;CTX123981&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;On Windows 2003 the dll is already in the correct directory, however applications that are not &lt;a href="http://msdn.microsoft.com/en-us/library/01cfys9z%28v=vs.80%29.aspx"&gt;Terminal Server Aware&lt;/a&gt; cannot find this dll because the Windows directory is redirected to the user profile. Citrix recommends copying twain_32.dll to each user&amp;rsquo;s profile directory but this will take up unnecessary space.&lt;/p&gt;
&lt;p&gt;So what alternatives do we have?&lt;/p&gt;</description></item></channel></rss>