POS for .NET ForumPOS for .NET provides a class library for .NET developers to interract with peripherals typically found in the retail environment attached to Point of Sale, Self-Checkout, Kiosk, and ATM devices such as barcode scanners, magnetic stripe readers, cash drawers, etc. POS for .NET is based on the industry standard published by Unified POS (UPOS).© 2009 Microsoft Corporation. All rights reserved.Tue, 24 Nov 2009 20:27:14 Z9cf59bad-2a10-4e08-ad8a-6b432b577ec6http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/ef3f79ca-4cef-44a3-9c5c-d41dcab91368http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/ef3f79ca-4cef-44a3-9c5c-d41dcab91368Palash Aichhttp://social.msdn.microsoft.com/Profile/en-US/?user=Palash%20AichInvalid Parameter: Name handle ExceptionI am using VB.Net code to print barcode label in Zebra TLP 2844 printer. And the printer is connected to system by USB port. When i execute the code i get an error &quot;Invalid Parameter : Name handle&quot; in the line <span style="font-size:12pt;color:black;line-height:115%;font-family:'Times New Roman','serif'">outFile = </span><span style="font-size:12pt;color:#0600ff;line-height:115%;font-family:'Times New Roman','serif'">New</span><span style="font-size:12pt;color:black;line-height:115%;font-family:'Times New Roman','serif'"> FileStream(_SafeFileHandle, FileAccess.Write) . Can you please help me to rectify this.<br/><span style="font-size:x-small;font-family:Verdana">As this is a USB port So i shared the printer and used the UNC path. But still i get the error. Below is the complete code<br/><br/> <p class=MsoNormalCxSpFirst><strong><span style="font-size:small"><span style="font-family:Times New Roman">Name Spaces<br/></span></span></strong><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">Imports System.IO <br/></span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">Imports System.Runtime.InteropServices </span></p> <p class=MsoNormalCxSpMiddle><span style="font-size:small;font-family:Times New Roman"> </span><strong><span style="font-size:small"><span style="font-family:Times New Roman">Here is the button click code</span></span></strong></p> <p class=MsoNormalCxSpMiddle style="line-height:normal"><span style="font-size:small;font-family:Times New Roman"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Dim</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> _print </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">as</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">new</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> ZebraPrint <br/></span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">_print.StartWrite(</span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">&quot;//ComputerName/PrinterSharedName&quot;</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">) <br/></span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">dim</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> _Text </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">as</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">String</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> = </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">&quot;Print test&quot;</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> <br/></span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">_print.Write(</span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">&quot;A30,120,0,4,2,1,N,&quot;&quot;&quot;</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> &amp; _Text &amp; </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">&quot;&quot;&quot;&quot;</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">) <br/></span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">_print.EndWrite()</span></p> <p class=MsoNormalCxSpMiddle style="line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span></p> <div style="border-right:medium none;padding-right:0in;border-top:windowtext 1pt solid;padding-left:0in;padding-bottom:1pt;border-left:medium none;padding-top:1pt;border-bottom:windowtext 1pt solid;mso-element:para-border-div"> <p class=MsoNormalCxSpMiddle style="border-right:medium none;padding-right:0in;border-top:medium none;padding-left:0in;padding-bottom:0in;border-left:medium none;line-height:normal;padding-top:0in;border-bottom:medium none"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">Class</span></p> </div> <p class=MsoNormalCxSpMiddle style="line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Public</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Class</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> ZebraPrint <br/></span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">#Region </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">&quot; Private constants &quot;</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> <br/></span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Private</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> Const GENERIC_WRITE </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Integer</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> = &amp;H40000000 <br/></span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Private</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> Const OPEN_EXISTING </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Integer</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> = </span><span style="font-size:12pt;color:red;font-family:'Times New Roman','serif'">3</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> <br/></span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">#End Region </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">  </span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">#Region </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">&quot; Private members &quot;<br/></span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Private</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> _SafeFileHandle </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> Microsoft.Win32.SafeHandles.SafeFileHandle<br/></span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Private</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> _fileWriter </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> StreamWriter <br/></span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Private</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> _outFile </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> FileStream </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">#End Region </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">  </span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">#Region </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">&quot; private structures &quot;</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> <br/></span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">&lt;StructLayout(LayoutKind.Sequential)&gt; _ <br/></span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Public</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> Structure SECURITY_ATTRIBUTES <br/></span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Private</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> nLength </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Integer</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> <br/></span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Private</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> lpSecurityDescriptor </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Integer</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> <br/></span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Private</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> bInheritHandle </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Integer<br/></span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">End</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> Structure </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">#End Region </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">  </span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">#Region </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">&quot; com calls &quot;</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> <br/></span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Private</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> Declare </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Function</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> CreateFile Lib </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">&quot;kernel32&quot;</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> Alias </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">&quot;CreateFileA&quot;</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> (</span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">ByVal</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> lpFileName </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">String</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">, </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">ByVal</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> dwDesiredAccess </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Integer</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">, </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">ByVal</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> dwShareMode </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Integer</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">, &lt;MarshalAs(UnmanagedType.Struct)&gt; </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">ByRef</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> lpSecurityAttributes </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> SECURITY_ATTRIBUTES, </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">ByVal</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> dwCreationDisposition </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Integer</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">, </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">ByVal</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> dwFlagsAndAttributes </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Integer</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">, </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">ByVal</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> hTemplateFile </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Integer</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">) </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> Microsoft.Win32.SafeHandles.SafeFileHandle </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">#End Region <br/></span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">#Region </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">&quot; Public methods &quot;<br/></span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Public</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Sub</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> StartWrite(</span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">ByVal</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> printerPath </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">String</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">) <br/></span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Dim</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> SA </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> SECURITY_ATTRIBUTES </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">  </span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">_SafeFileHandle = CreateFile(printerPath, GENERIC_WRITE, </span><span style="font-size:12pt;color:red;font-family:'Times New Roman','serif'">0</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">, SA, OPEN_EXISTING, </span><span style="font-size:12pt;color:red;font-family:'Times New Roman','serif'">0</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">, </span><span style="font-size:12pt;color:red;font-family:'Times New Roman','serif'">0</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">) </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">  </span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">Try </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">                _outFile = </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">New</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> FileStream(_SafeFileHandle, FileAccess.Write) </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">                _fileWriter = </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">New</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> StreamWriter(_outFile) </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">            Catch ex </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> Exception </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">                System.Windows.Forms.MessageBox.Show(</span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">&quot;Can not find printer.&quot;</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">, </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">&quot;Warning&quot;</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">, Windows.Forms.MessageBoxButtons.OK, Windows.Forms.MessageBoxIcon.</span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Error</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">, Windows.Forms.MessageBoxDefaultButton.Button1) </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">            </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">End</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> Try </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">  </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">        </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">End</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Sub</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">  </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">        </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Public</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Sub</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> Write(</span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">ByVal</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> rawLine </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">As</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">String</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">) </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">            If _fileWriter IsNot </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Nothing</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Then</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">                _fileWriter.WriteLine(rawLine) </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">            </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">End</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> If </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">        </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">End</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Sub</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">  </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">        </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Public</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Sub</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> EndWrite() </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">            </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">            If _fileWriter IsNot </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Nothing</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Then</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">                _fileWriter.Flush() </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">                _fileWriter.Close() </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">                _outFile.Close() </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">            </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">End</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> If </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">            _SafeFileHandle.Close() </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">            _SafeFileHandle.Dispose() </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">  </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">        </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">End</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;font-family:'Times New Roman','serif'">Sub</span><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'"> </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">#End Region </span></p> <p class=MsoNormalCxSpMiddle style="margin:auto auto auto 0.25in;line-height:normal"><span style="font-size:12pt;color:black;font-family:'Times New Roman','serif'">  </span></p> <span style="font-size:12pt;color:black;line-height:115%;font-family:'Times New Roman','serif'">    </span><span style="font-size:12pt;color:#0600ff;line-height:115%;font-family:'Times New Roman','serif'">End</span><span style="font-size:12pt;color:black;line-height:115%;font-family:'Times New Roman','serif'"> </span><span style="font-size:12pt;color:#0600ff;line-height:115%;font-family:'Times New Roman','serif'">Class</span><span style="font-size:12pt;color:black;line-height:115%;font-family:'Times New Roman','serif'"> </span></span></span>Mon, 23 Nov 2009 12:21:37 Z2009-11-24T20:27:14Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/3532d2d5-3580-42a5-83dc-a3d5e6e07e97http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/3532d2d5-3580-42a5-83dc-a3d5e6e07e97pinkg509001http://social.msdn.microsoft.com/Profile/en-US/?user=pinkg509001Point Of Sales: I want create an Application in Point Of Sale in VB.net/C#.netHi one and all...<br/><br/>                 I want to create an <strong>POS Application in Retail and restaurant management in C#.Net/VB.net</strong>. So anyone can post me links <strong>regarding POS learning guide (either in pdf/doc document) using C#.net/Vb.net which should be very easy to learn step-by-step.<br/><br/>                 </strong>if u found <strong>any application regarding POS</strong> <strong>learning guide document </strong>please attatch the link for <strong>download</strong>.Tue, 24 Nov 2009 09:17:41 Z2009-11-24T16:05:13Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/11cf201a-7be4-4554-bb0d-b174f609d142http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/11cf201a-7be4-4554-bb0d-b174f609d142Andrew66http://social.msdn.microsoft.com/Profile/en-US/?user=Andrew66Using The POSPrinter SimulatorHello All. <div>  I have been writing a small application which uses a POS printer and everything is working OK. But now I have lost the use of the physical printer and want to use the device simulator in the POS .NET SDK to test my app with. But how do I use it ? How do I set up a virtual POS printer and where do I view the output after sending something to it ? Any help is appreciated.</div> <div><br/></div> <div>Thanks</div> <div><br/></div> <div>Andrew.</div>Tue, 17 Nov 2009 00:38:43 Z2009-11-21T20:55:13Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/a0ba870e-a46d-4ac8-87b2-fb9571fef2dfhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/a0ba870e-a46d-4ac8-87b2-fb9571fef2dfWoodchuxhttp://social.msdn.microsoft.com/Profile/en-US/?user=WoodchuxHoneywell POS .NET scanner issuesI have started this thread for known issues with the Honeywell imagers using POS for .NET.  If you encounter any others, please post them here.<br/><br/>I have found several bugs or problems in the Honeywell service object for imagers such as 4600g, 4600r, 4800, 4820.  Maybe eventually HOneywell will fix them, but if they bother you consider buying another manufacturer's devices or contact Honeywell support and complain.<br/><br/>1.  Service object not compatible with windows x64.<br/>2.  Service object does not utilize imager (camera) in the scanner<br/>3.  There is a bug reading 1 or 2 character barcodes.<br/>4.  There is a possible bug reading PDF417 barcodes.<br/><br/> Fri, 20 Nov 2009 22:54:33 Z2009-11-20T22:54:39Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/34acf2de-137d-44a6-a012-4fbf10fe27fchttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/34acf2de-137d-44a6-a012-4fbf10fe27fcvldvldvldhttp://social.msdn.microsoft.com/Profile/en-US/?user=vldvldvldC# - POS for .NET - VS2008 - Windows 7 x64<span class="long_text"><span title="Hola a tod@s,">Hi all,<br/> <br/> </span> <span style="background-color:#ebeff9" title="les voy a plantear un problemilla con el que llevo varios días para ver si alguien del foro me puede dar alguna solución/explicación del mismo.">I will pose a little problem with that took several days to see if anyone on the forum can give me some solution / explanation of it. <br/> <br/> </span> <span style="background-color:#ffffff" title="Primero ponerles en antecedentes, estoy trabajando en un proyecto el cual se desarrolla con la tecnología que podeis ver en el título de este tema, desarrollo con Visual Studio 2008 en C# (Framework 3.5), uso de POS for .NET para interactuar con periféricos OPOS">First put them in history, I'm working on a project which is developing technology that can see in the title of this topic, development with Visual Studio 2008 in C # (Framework 3.5), use of POS for. NET to interact with peripherals OPOS </span> <span title="y todo ello sobre Windows 7 x64.">and all this on Windows 7 x64.<br/> <br/> </span> <span style="background-color:#ffffff" title="El programa se compila para x86 y sincroniza perfectamente con los periféricos, en concreto con una impresora (&quot;PosPrinter&quot;) Epson y un lector de código de barras (&quot;Scanner&quot;) Metrologic, ambos conectados a través de puertos COM.">The program is compiled for x86 and syncs seamlessly to your peripherals, in particular with a printer ( &quot;POSPrinter&quot;) Epson and a barcode reader ( &quot;Scanner&quot;) Metrologic, both connected via COM ports. <br/> <br/> </span> <span style="background-color:#ffffff" title="Hasta aquí todo es correcto, conecta bien, puedo acceder a las propiedades de los dispositivos, puedo ejecutar los métodos de sus clases, ...">So far everything is correct, well connected, I can access the properties of the devices, can implement the methods of your classes, ... </span> <span style="background-color:#ffffff" title="PERO (y es que como siempre tiene que existir algún pero), no es posible que me detecte los eventos de ninguno de los dispositivos (ni DataEvent, ni ErrorEvent, ni ningún otro evento de los periféricos)."><strong>BUT</strong> (and as always there must be a but), <span style="text-decoration:underline">I can not detect the event none of the devices</span> (or DataEvent or ErrorEvent, or any other event of the peripherals). <br/> <br/> </span> <span style="background-color:#ffffff" title="Sin embargo, he compilado el programa para x86 y Framework 2.0, lo he ejecutado sobre Windows XP y funciona todo perfectamente (eventos incluidos).">However, I have compiled the program for x86 and Framework 2.0, I run on Windows XP and everything works perfectly (including events). <br/> <br/> </span> <span title="También he probado sin utilizar POS for .NET, utilizando directamente las dll's que contienen los drivers de los dispositivos y nada, propiedades bien, funciones bien, pero los eventos no hay manera de que funcionen.">I've also tried without using POS for. NET directly using the dll's that contain device drivers and nothing good properties, functions well, but events there is no way that they work. </span> <span style="background-color:#ffffff" title="Eso sí, esto me pasa unica y exclusivamente cuando ejecuto el programa a través de algún Framework .NET, si utilizo otras tecnologías pero que hacen uso de las mismas librerías (mismos Service Object, mismos ControlObject), los eventos funcionan perfectamente, igual que en">That yes, this happens to me exclusively when I run the program through a. NET Framework, but if I use other technologies that use the same libraries (same Service Object, same ControlObject), the events work perfectly, as in </span> <span title="Windows XP.">Windows XP. <br/> <br/> </span> <span style="background-color:#ffffff" title="Si alguien tiene alguna idea de porque puede estar pasando esto, le estaré muy agradecido.">If anyone has any idea why this may be happening, I will be very grateful. <br/> <br/> </span> </span> <span class="long_text"><span style="background-color:#ffffff" title="Muchas gracias y saludos a tod@s.">Greetings and </span> </span> <span class="long_text"><span style="background-color:#ffffff" title="Muchas gracias y saludos a tod@s.">thank you<br/> <br/> Translate by Google, you sorry me for the translate errors.</span> </span>Fri, 20 Nov 2009 16:41:44 Z2009-11-20T22:45:02Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/67204910-4f37-42a2-9897-eb738af7355fhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/67204910-4f37-42a2-9897-eb738af7355fSuper Hijackhttp://social.msdn.microsoft.com/Profile/en-US/?user=Super%20Hijackis this a bug for POS for .NET?<p><span style="font-family:Arial;font-size:x-small"><span style="font-family:Arial;font-size:10pt">Is this a bug of POS for .NET library?</span></span></p> <p><span style="font-family:Arial;font-size:x-small"><span style="font-family:Arial;font-size:10pt">When starting our program which refer Microsoft.PointOfService, claim device, then this event logs keep increasing in windows event viewer.</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">Event 1. Recreating statistics Xml file.</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt"> </span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">Event 2. An Xml exception occurred while attempting to load the statistics xml file.</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt"> </span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 16, position 50.</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlTextReaderImpl.Throw(Exception e)</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args)</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar)</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32 startPos, Boolean expand, BufferBuilder internalSubsetBuilder, Int32&amp; charCount, EntityType&amp; entityType)</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlTextReaderImpl.ParseNumericCharRef(Boolean expand, BufferBuilder internalSubsetBuilder, EntityType&amp; entityType)</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32&amp; charRefEndPos)</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlTextReaderImpl.ParseAttributes()</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlTextReaderImpl.ParseElement()</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlTextReaderImpl.ParseElementContent()</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlTextReaderImpl.Read()</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XsdValidatingReader.Read()</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at System.Xml.XmlDocument.Load(XmlReader reader)</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt">   at Microsoft.PointOfService.BaseServiceObjects.DeviceStatistics.LoadAndValidateStatisticsXml(FileStream xmlStream)</span></span></p> <p class=MsoNormal><span style="font-family:'MS Shell Dlg';font-size:xx-small"><span style="font-family:'MS Shell Dlg';font-size:8.5pt"> </span></span></p>Thu, 19 Nov 2009 04:10:31 Z2009-11-20T02:22:30Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/2ca31cc7-d289-4918-b5c5-3b7d05bfbf84http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/2ca31cc7-d289-4918-b5c5-3b7d05bfbf84John Hamiltonhttp://social.msdn.microsoft.com/Profile/en-US/?user=John%20Hamilton.NET for POS Signature Capture DevicesI am working on adding .NET for POS/OPOS/UPOS support to our application.  I decided to start with SigCap and thus ordered a very popular SigCap device (Honeywell TT8500) which claimed to have UPOS driver support (which Honeywell claims not to support).  I have now worked on this for weeks and have made progress but am now at the realization.  The setup of this device's UPOS environment is like duck taping a wheel on a car.  Now I've hit a wall in that the POS for .NET framework does not let me access any part of the sigcap device (use of any properties on the Device object throws an exception).  I've tried the OPOS assemblies for .NET provided by Curtiss Monroe at http://monroecs.com/posfordotnet/opos_dotnet.htm. and they work but as soon as the &quot;Done&quot; button is pressed on the SigPad, the program simply disappears (no exception, no error, it just ends).  The TT8500 is OBVIOUSLY not the defacto SigCap pad for POS for .NET and with Honeywell basically washing their hands of using anything but C++ or VB 6 to access it, I think of it as a dead end device.<br/> <br/> My question is there a good list of signature pads which DO work well with POS for .NET and/or OPOS which are easy to setup, whose drivers don't misbehave and whose manufacturer doesn't treat me like a leper for using a modern programming environment?<br/> <br/> <br/>  <hr class="sig">Thanks, John Hamilton POSitive Software Company http://www.gopositive.comTue, 17 Nov 2009 19:34:11 Z2009-11-18T19:15:23Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/844a40fc-112b-4dee-9866-3bf8fe78f327http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/844a40fc-112b-4dee-9866-3bf8fe78f327RFIDDevhttp://social.msdn.microsoft.com/Profile/en-US/?user=RFIDDevRFID DeviceCan you tell us if a service object(SO) that is supplied from one vendor for a RFID scanner with PINPAD will work on any other RFID scanner with PINPAD.<br/>In the bigger picture we are actually looking for a RFID PINPAD device with a generic Service object.<br/> <br/>Also let us know how we could utilise the service objects provided with the SDK in our scenario of RFID PINPAD device.<br/> <br/>If it works only with a specific RFID PINPAD device and not ANY RFID PINPAD device it will not help our project.<br/>Thanks,Mon, 16 Nov 2009 09:26:33 Z2009-11-16T19:39:23Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/45c32248-d535-4758-baf1-f9a57de804b7http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/45c32248-d535-4758-baf1-f9a57de804b7velthunehttp://social.msdn.microsoft.com/Profile/en-US/?user=velthuneHow to use a generic printerHi everybody!<br/> I'm using POS for .NET for printing on my epson TM-T88IV printer (on the serial port). I make a program in C# that realize what I want to print.<br/> <br/> So.. if I want to print on a generic printer?<br/> <br/> I explain: I would like that the program will able to &quot;see&quot; which printers is connected to the pc (serial port/usb), epson or not is not important! And then the user can choose which printer will use to print!<br/> <br/> What I've to do for realize this?! <br/> <br/> Thanks!!Wed, 11 Nov 2009 16:09:48 Z2009-11-16T19:32:13Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/1c791c8b-7ae7-4b1a-a491-60abcbba89c3http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/1c791c8b-7ae7-4b1a-a491-60abcbba89c3RFIDDevhttp://social.msdn.microsoft.com/Profile/en-US/?user=RFIDDevMultiple device categoryI have a multiple device that means RFID,MSR and IC card reader in one unit. How many SO's do i need and how will they work?Also why is the hardware id not getting recognised when i invoke getdevices. What is required for the harware id to be recognised if i plug a multipe category device in the usb port.Mon, 16 Nov 2009 09:29:13 Z2009-11-16T19:28:56Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/873d0840-61b4-48df-874b-af1f7480097chttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/873d0840-61b4-48df-874b-af1f7480097cRao Ahttp://social.msdn.microsoft.com/Profile/en-US/?user=Rao%20APrinting receipts using Epson LX-300 +Hi .NET superstars,<br/> <br/> I'm absolutely new to .NET and world of printing. I basically need to printer some information in a receipt-like paper (almost half of the A4 size). Printer that I've is Epson LX-300 +. I've searched these forums &amp; realized I need to download two things a)- Microsoft POS.NET b)-ESPON OPS ADK for .NET and I did download these two. So far so good. <br/> So I've three questions<br/> <br/> 1- Has anyone programmed using Espon LX-300 +? How is the process like? I'm a junior programmer but what I can see from source code samples is that you basically send a plain text to printers? Furthermore, paper sized aren't specified in the source code, right? I mean how do we control paper-size in LX 300 + --from Printer Prefences?<br/> <br/> 2- I downloaded ESPON OPOS <a href="http://adk.net/">ADK.NET</a> . After the download I can see application programming guides for all kinds of printers but I don't see a programming guide for LX 300 +. Can you please help me in locating the application programming guide for LX 300 +.<br/> <br/> 3- I attached the printer with PC and then opened up &quot;SetupPOS&quot; utility. In that utility, when I click on &quot;Add Device&quot; button it pops up a screen that contains various device names. However, among those device names I don't see &quot;LX 300 +&quot;. Any ideas what should I do in this scenario?<br/> <br/> I'm sorry if these sound like easy questions but I honestly have no clue. So I will really appreciate any help in this regard.<br/> <br/> Thanks,<br/> RaoSat, 14 Nov 2009 14:57:04 Z2009-11-15T06:35:38Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/4f99250f-37a5-4e57-b68e-8a9a93ea3e0ehttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/4f99250f-37a5-4e57-b68e-8a9a93ea3e0eHarshdeep_Khatrihttp://social.msdn.microsoft.com/Profile/en-US/?user=Harshdeep_KhatriUSB HID Msr ( POS for .NET )Hi, I have one USB HID Msr device.<br/><br/>When i plug this device to my machine by default HID drive get control of this device.<br/>I want to implement the POS for .NET plug and play utility for this device.<br/><br/>I have put this XML at following path with name configuration.xml<br/>Path :<br/>C:\Program Files\Common Files\Microsoft Shared\Point Of Service\Control Configurations<br/><br/>XML:<br/> <pre lang=x-xml>&lt;?xml version=&quot;1.0&quot;?&gt; &lt;PointOfServiceConfig Version=&quot;1.0&quot;&gt; &lt;ServiceObject Type=&quot;Msr&quot; Name=&quot;eZeeMsr&quot; Override=&quot;yes&quot;&gt; &lt;HardwareId From=&quot;USB\VID_0801&amp;amp;PID_001&quot; To=&quot;USB\VID_0801&amp;amp;PID_001&quot;/&gt; &lt;HardwareId From=&quot;USB\VID_0801&amp;amp;PID_001&amp;amp;REV_0100&quot; To=&quot;USB\VID_0801&amp;amp;PID_001&amp;amp;REV_0100&quot;/&gt; &lt;/ServiceObject&gt; &lt;/PointOfServiceConfig&gt; </pre> <br/>VB.NET Code :<br/><br/> <pre lang=x-vbnet> WithEvents myExplorer As New PosExplorer WithEvents myMsr As Msr Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim div As DeviceCollection = myExplorer.GetDevices(&quot;Msr&quot;) For Each d As DeviceInfo In div MsgBox(d.ToString) Next End Sub Private Sub myExplorer_DeviceAddedEvent(ByVal sender As Object, ByVal e As Microsoft.PointOfService.DeviceChangedEventArgs) Handles myExplorer.DeviceAddedEvent If (e.Device.Type = DeviceType.Msr) Then myMsr = myExplorer.CreateInstance(e.Device) myMsr.Open() myMsr.Claim(1000) myMsr.DeviceEnabled = True myMsr.DataEventEnabled = True myMsr.DecodeData = True End If End Sub</pre> <br/><br/>Problem :<br/>I have tried many times, not even my device coming into that form load list, or even when i plug again my device <br/>Pos explorer Device add event not get called.<br/><br/>Things Rechecked :<br/>XML is on valid path : true<br/>XML is valid format : true<br/>Hardware ID is correct : true ( verified from Windows Device Manager )<br/><br/>Can anybody suggest me any solution ? , or i have done any mistake in logic.<br/><br/>Any help will be greatly appreciated.<br/><br/>Thanks in advance.Fri, 13 Nov 2009 07:11:12 Z2009-11-13T22:34:55Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/1ff4c3ca-651a-49e1-9e2c-f759ab6d7f16http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/1ff4c3ca-651a-49e1-9e2c-f759ab6d7f16Moorthy.Rhttp://social.msdn.microsoft.com/Profile/en-US/?user=Moorthy.RAttempted to read or write protected memory. This is often an indication that other memory is corrupt.I used pos.net for usb barcode scanner integration in windows apllication . I got the following error when i activate the device  &quot;  Attempted to read or write protected memory. This is often an indication that other memory is corrupt &quot;.<br/><br/>thanks  for your solutions ..........Thu, 09 Jul 2009 04:07:49 Z2009-11-13T07:51:44Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/341f7fa7-a3fc-4080-b3ef-c0ac88a2c769http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/341f7fa7-a3fc-4080-b3ef-c0ac88a2c769Woodchuxhttp://social.msdn.microsoft.com/Profile/en-US/?user=WoodchuxScanner with imager supportAre there yet any barcode scanners that support imager functions with POS for .NET?<br/><br/>Honeywell acquires HHP + Metrologic and lays an egg.  I will give credit to HHP for trying to build a POS for .NET driver, but come on--can't you take it a bit further and integrate the imager functions.  The possibilities for integration with a POS imager camera are amazing.  Their UPOS java based driver is horrible.  <br/><br/>Motorola buys Symbol and still sucks in my opinion.  <br/><br/>Intermec --- nope<br/>Fri, 13 Nov 2009 06:10:48 Z2009-11-13T06:10:48Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/530a88b4-561e-4af1-8085-5ad73f26627ehttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/530a88b4-561e-4af1-8085-5ad73f26627emimmahttp://social.msdn.microsoft.com/Profile/en-US/?user=mimmaNeed help with EPOS pleaseHi, I'm new to EPOS so i'm just wondering if it is the best solution to my problem. I'm developing a point of sale system in VS.NET using C#. The printers are not directly connected to the terminals, they are accessed via the network. Most of the printable info are generated by Crystal Reports,some are done in code. In the database I store the printer info for each terminal,ie the printer I should send this info to for printing. So when a printable info is generated I send it to the printer &quot;assigned&quot; to that terminal. I need to redirect the info to another printer in the event that this malfunctions(out of paper, off..etc). Can EPOS help me in this regard? If so how does it do it? I trust i explained my self certainly. I'd really appreciate any help on this. I was reading an answer from Yort that was helpful in understandin a few things about POS.Tue, 10 Nov 2009 15:56:41 Z2009-11-11T23:17:44Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/2a840978-8103-41ba-8a6d-30525d70ba6chttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/2a840978-8103-41ba-8a6d-30525d70ba6cBaditalahttp://social.msdn.microsoft.com/Profile/en-US/?user=Baditalahow to print a Bill info with header Logo and Store info.Hi All,<br/><br/>I want to print Bill receipt with Header logo and info along with Bill information. <br/>POSPrinter.PrintMethod is printing line information, how would I print complete items and Logo in the Print.<br/><br/>Please post sample code.<br/><br/>Thanks in advance.Tue, 10 Nov 2009 06:07:53 Z2009-11-23T15:26:07Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/ca51f535-ad26-4557-9184-6c1f6ff6223dhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/ca51f535-ad26-4557-9184-6c1f6ff6223dBaditalahttp://social.msdn.microsoft.com/Profile/en-US/?user=BaditalaPOS Printer example in C# 2005Hi All, <br /><br /><br />I am new to POS Devlopment.&nbsp; Plase help me in POS Printer. <br /><br />I need an example, which will checks the Printer is connected. enabled and it should print sample. I am using EPSON (POS printer) TM -T881V.<br /><br />Please send me C# sample applciation. Thanks in advance. <br /><br /><br />Wed, 14 Oct 2009 09:00:25 Z2009-11-10T05:52:59Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/6e2066a1-ee6c-4e28-b57d-02427bde2963http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/6e2066a1-ee6c-4e28-b57d-02427bde2963Eliza_Martihttp://social.msdn.microsoft.com/Profile/en-US/?user=Eliza_MartiEvento del scroll en un treeviewHola!!.. alguien sabe cual es el evento que se ejecuta cuando el sroll de un tree view se mueve para arriba o para abajo?.. en vb.netSat, 07 Nov 2009 18:23:59 Z2009-11-09T07:40:11Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/d850d2af-7cae-4b60-9e79-4a2865948523http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/d850d2af-7cae-4b60-9e79-4a2865948523sree143http://social.msdn.microsoft.com/Profile/en-US/?user=sree143Printing on Ithaca Receipt printerHi ,<br/> <br/> I am using Ithaca Series 90 Plus Printer to print receipts and validate checks. I couldn't find any helpful info to start with. I am using SQl Server reports for both the receipts and check validations. It will helpful if any one here helps me out.<br/> <br/> Thanks.<br/> <br/> SreeWed, 04 Nov 2009 17:15:06 Z2009-11-07T20:21:31Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/f9bc0d3e-4c80-4590-9853-13451707803ehttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/f9bc0d3e-4c80-4590-9853-13451707803eSritanuhttp://social.msdn.microsoft.com/Profile/en-US/?user=SritanuImplement Pole Display in DOS Mode in VB.NETHi, I want to implement Pole Display in DOS Base through VB.NET. How can I align the text which is Display in the Pole Display and also clear the text when I want to clear it. I have required three type of Port(COM, LPT, USB) for Pole display. <div>NOTE: Don't use of OPOS driver.</div>Fri, 09 Oct 2009 10:50:45 Z2009-11-07T12:04:00Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/08e36070-b126-49e1-b0e3-a90225ad03d2http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/08e36070-b126-49e1-b0e3-a90225ad03d2Woodchuxhttp://social.msdn.microsoft.com/Profile/en-US/?user=WoodchuxFailed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\POSfor.NET\ControlAssemblies (with Windows7)<p>We are receiving the following error when running POS for .NET 1.12 on Windows 7 x86 version.  My guess is that it is a permissions related error caused by UAC in Windows7.  The code worked fine under Windows XP.  Does anyone have any idea about how to resolve this?<br/><br/><br/><br/>An exception of type 'System.TypeInitializationException' occurred and was caught.</p> <p>----------------------------------------------------------------------------------</p> <p>11/02/2009 13:32:33</p> <p>Type : System.TypeInitializationException</p> <p>Message : The type initializer for 'Microsoft.PointOfService.Management.Explorer' threw an exception.</p> <p>Source : Microsoft.PointOfService</p> <p>Help link :</p> <p>TypeName : Microsoft.PointOfService.Management.Explorer</p> <p>Data : System.Collections.ListDictionaryInternal</p> <p>TargetSite : Microsoft.PointOfService.Management.Explorer CreateExplorer()</p> <p>Stack Trace :    at Microsoft.PointOfService.Management.Explorer.CreateExplorer()</p> <p>   at Microsoft.PointOfService.PosExplorer.LoadExplorer()</p> <p>   at Microsoft.PointOfService.PosExplorer.Initialize()</p> <p>   at Microsoft.PointOfService.PosExplorer..ctor(ISynchronizeInvoke synchronizingObject)</p> <p>   at Maddog.WePOSDevices.CardReader..ctor(ISynchronizeInvoke sinvoke)</p> <p>   at Maddog.Client.Contact.CustomerQuickAdd.CustomerQuickAdd_Load(Object sender, EventArgs e)</p> <p> </p> <p>Additional Info:</p> <p> </p> <p>MachineName : PC4116<br/>TimeStamp : 11/2/2009 7:32:33 PM<br/>FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null<br/>AppDomainName : Maddog.Client.exe<br/>ThreadIdentity : <br/>WindowsIdentity :  <br/>Inner Exception</p> <p> ---------------</p> <p> Type : Microsoft.PointOfService.PosLibraryException</p> <p> Message : Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\POSfor.NET\ControlAssemblies.</p> <p> Source : Microsoft.PointOfService</p> <p> Help link :</p> <p> Data : System.Collections.ListDictionaryInternal</p> <p> TargetSite : Microsoft.PointOfService.Management.ServiceObjectCollection Scan()</p> <p> Stack Trace :    at Microsoft.PointOfService.Management.AssemblyLoader.Scan()</p> <p>    at Microsoft.PointOfService.Management.AssemblyLoader.Scan()</p> <p>    at Microsoft.PointOfService.Management.Explorer.ScanForSOAssemblies()</p> <p>    at Microsoft.PointOfService.Management.Explorer.Refresh()</p> <p>    at Microsoft.PointOfService.Management.Explorer..ctor()</p> <p>    at Microsoft.PointOfService.Management.Explorer..cctor()</p> <p><br/>---------------------------<br/>OK   <br/>---------------------------</p>Mon, 02 Nov 2009 21:37:22 Z2009-11-09T23:54:09Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/dad3ed59-806f-4294-abf8-78720e72f313http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/dad3ed59-806f-4294-abf8-78720e72f313Sylvester-MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Sylvester-MSFTInterfacing with Biometric Devices from POS applicationsA new blog has been posted to help people who want to interface with biometric devices (such as fingerprint readers).  It is on the team blog site here:<br/><br/><a href="http://blogs.msdn.com/pointofservice/archive/2009/09/23/interfacing-with-biometric-devices-from-pos-applications.aspx">http://blogs.msdn.com/pointofservice/archive/2009/09/23/interfacing-with-biometric-devices-from-pos-applications.aspx</a><br/>Wed, 23 Sep 2009 16:34:20 Z2009-11-03T20:42:51Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/0bd1bdf4-a93c-4502-b78f-da9484c9fa89http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/0bd1bdf4-a93c-4502-b78f-da9484c9fa89Mythicahttp://social.msdn.microsoft.com/Profile/en-US/?user=MythicaPrinting an DevExpress Report using an OPOS PrinterGood Morning Everyone,<br/><br/>I have been struggling for a few days now, trying to print an DevExppress report to an OPOS printer using the Microsoft Point of Service component.<br/><br/>Does anyone know if it is possible to do so, and if so has a code sample that I can have a look at or a few hints on how this could be done?<br/><br/>Thanks in advance.<br/><br/><br/>Mon, 02 Nov 2009 08:36:07 Z2009-11-03T06:29:52Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/1f540d37-b2b8-42c4-9f86-4a1a913d3611http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/1f540d37-b2b8-42c4-9f86-4a1a913d3611LisaLihttp://social.msdn.microsoft.com/Profile/en-US/?user=LisaLiPOS through CitrixHi all,<br/><br/>I have been in a team developing a cash register system using Microsoft POS for .Net. So far so good, the devices work properly.<br/><br/>However, now we're considering launching the application through Citrix. The problem here is how do we let the application know about local environment and pick up the local OPOS devices?<br/><br/>Any suggestions?<br/>Thanks in advance!Fri, 30 Oct 2009 14:07:37 Z2009-11-23T15:21:44Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/f21c966b-5a68-4cd0-9568-5af3d51e52cchttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/f21c966b-5a68-4cd0-9568-5af3d51e52ccavatarmothhttp://social.msdn.microsoft.com/Profile/en-US/?user=avatarmothESC/POS printer SO<p>We need to develop a SO for ESC/POS printer under POS for .NET. <br/>We are new at this area and want to estimate how many effort will be cost to develop such a service object. (about how many weeks per person) Are there any reference code is this case??</p>Wed, 05 Aug 2009 06:49:08 Z2009-11-02T10:25:29Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/b3e09856-09d0-44cd-a915-386608f5efeehttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/b3e09856-09d0-44cd-a915-386608f5efeejohn.lamhttp://social.msdn.microsoft.com/Profile/en-US/?user=john.lam Microsoft.PointOfServiceHi all,<br/> <br/> I'm writing a POS Web application under Windows XP with .NET 2.0. I have an Epson TM-T88IV thermal printer where I downloaded and installed both Microsoft POS for .NET 1.11 and Epson OPOS for .NET 1.11.6. I wrote the following testing ActiveX control:<br/> <br/> <pre lang="x-c#">using System;<br/> using System.Collections;<br/> using System.ComponentModel;<br/> using System.Drawing;<br/> using System.Data;<br/> using System.Reflection;<br/> using System.Runtime.CompilerServices;<br/> using System.Security;<br/> using System.Security.Permissions;<br/> using System.Windows.Forms;<br/> using Microsoft.PointOfService;<br/> <br/> [assembly: AssemblyVersion(&quot;1.0.0.6&quot;)]<br/> [assembly: AllowPartiallyTrustedCallers]<br/> namespace printer<br/> {<br/> /// &amp;ltsummary&gt;<br/> /// Summary description for rtfcontrol.<br/> /// &lt;/summary&gt;<br/> public class ThermalPrinter : System.Windows.Forms.UserControl<br/> {<br/> private System.Windows.Forms.Button btnPrint;<br/> /// &amp;ltsummary&gt;<br/> /// Required designer variable.<br/> /// &lt;/summary&gt;<br/> private System.ComponentModel.Container components = null;<br/> <br/> public ThermalPrinter()<br/> {<br/> // This call is required by the Windows.Forms Form Designer.<br/> InitializeComponent();<br/> }<br/> <br/> /// &amp;ltsummary&gt;<br/> /// Clean up any resources being used.<br/> /// &lt;/summary&gt;<br/> protected override void Dispose(bool disposing)<br/> {<br/> if (disposing)<br/> {<br/> if (components != null)<br/> components.Dispose();<br/> }<br/> base.Dispose(disposing);<br/> }<br/> <br/> #region Component Designer generated code<br/> /// &amp;ltsummary&gt;<br/> /// Required method for Designer support - do not modify <br/> /// the contents of this method with the code editor.<br/> /// &lt;/summary&gt;<br/> private void InitializeComponent()<br/> {<br/> this.btnPrint = new System.Windows.Forms.Button();<br/> this.SuspendLayout();<br/> // <br/> // btnPrint<br/> // <br/> this.btnPrint.Location = new System.Drawing.Point(80, 48);<br/> this.btnPrint.Name = &quot;btnPrint&quot;;<br/> this.btnPrint.Size = new System.Drawing.Size(108, 36);<br/> this.btnPrint.TabIndex = 0;<br/> this.btnPrint.Text = &quot;Print&quot;;<br/> this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);<br/> <br/> this.Controls.AddRange(new Control[] { btnPrint });<br/> <br/> this.Load += new System.EventHandler(this.frmStep1_Load);<br/> this.ResumeLayout(false);<br/> <br/> }<br/> #endregion<br/> <br/> /// &lt;summary&gt;<br/> /// PosPrinter object<br/> /// &lt;/summary&gt;<br/> PosPrinter m_Printer = null;<br/> <br/> /// &lt;summary&gt;<br/> /// A method &quot;Print&quot; calls some another method.<br/> /// They are method for printing.<br/> /// &lt;/summary&gt;<br/> /// &lt;param name=&quot;sender&quot;&gt;&lt;/param&gt;<br/> /// &lt;param name=&quot;e&quot;&gt;&lt;/param&gt;<br/> private void btnPrint_Click(object sender, System.EventArgs e)<br/> {<br/> //&lt;&lt;&lt;step1&gt;&gt;&gt; Start<br/> try<br/> {<br/> //As using the PrintNormal method, send strings to a printer, and print it<br/> //[\n] is the standard code for starting a new line.<br/> m_Printer.PrintNormal(PrinterStation.Receipt, &quot;Hello OPOS for .Net\n&quot;);<br/> }<br/> catch (PosControlException)<br/> {<br/> }<br/> //&lt;&lt;&lt;step1&gt;&gt;&gt; End<br/> }<br/> <br/> /// &lt;summary&gt;<br/> /// When the method &quot;changeButtonStatus&quot; was called,<br/> /// all buttons other than a button &quot;closing&quot; become invalid.<br/> /// &lt;/summary&gt;<br/> private void ChangeButtonStatus()<br/> {<br/> btnPrint.Enabled = false;<br/> }<br/> <br/> /// &lt;summary&gt;<br/> /// The processing code required in order to enable to use of service is written here.<br/> /// &lt;/summary&gt;<br/> /// &lt;param name=&quot;sender&quot;&gt;&lt;/param&gt;<br/> /// &lt;param name=&quot;e&quot;&gt;&lt;/param&gt;<br/> [System.Security.Permissions.PermissionSet(System.Security.Permissions.SecurityAction.Demand, Name = &quot;FullTrust&quot;)]<br/> private void frmStep1_Load(object sender, System.EventArgs e)<br/> {<br/> //&lt;&lt;&lt;step1&gt;&gt;&gt;--Start<br/> //Use a Logical Device Name which has been set on the SetupPOS.<br/> string strLogicalName = &quot;ThermalPrinter&quot;;<br/> <br/> try<br/> {<br/> //Create PosExplorer<br/> PosExplorer posExplorer = new PosExplorer();<br/> <br/> DeviceInfo deviceInfo = null;<br/> <br/> try<br/> {<br/> deviceInfo = posExplorer.GetDevice(DeviceType.PosPrinter, strLogicalName);<br/> m_Printer = (PosPrinter)posExplorer.CreateInstance(deviceInfo);<br/> }<br/> catch (Exception err)<br/> {<br/> MessageBox.Show(&quot;Exception&quot;, err.Message);<br/> ChangeButtonStatus();<br/> return;<br/> }<br/> <br/> //Open the device<br/> m_Printer.Open();<br/> <br/> //Get the exclusive control right for the opened device.<br/> //Then the device is disable from other application.<br/> m_Printer.Claim(1000);<br/> <br/> //Enable the device.<br/> m_Printer.DeviceEnabled = true;<br/> }<br/> catch (PosControlException)<br/> {<br/> ChangeButtonStatus();<br/> }<br/> //&lt;&lt;&lt;step1&gt;&gt;&gt;--End<br/> }<br/> }<br/> }</pre> <pre lang=x-aspx>&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeFile=&quot;test.aspx.cs&quot; Inherits=&quot;Test.Default&quot; %&gt;<br/> <br/> &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br/> &lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br/> &lt;head runat=&quot;server&quot;&gt;<br/> &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;<br/> &lt;title&gt;Test&lt;/title&gt;<br/> &lt;/head&gt;<br/> &lt;body&gt;<br/> &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;<br/> &lt;div&gt;<br/> &lt;object id=&quot;rtfcontrol&quot; height=&quot;472&quot; width=&quot;488&quot;<br/> classid=&quot;../../ThermalPrinter.dll#printer.ThermalPrinter&quot;&gt;<br/> &lt;/object&gt;<br/> &lt;/div&gt;<br/> &lt;/form&gt;<br/> &lt;/body&gt;<br/> &lt;/html&gt;<br/> </pre> At first, when I run the program in a remote PC, I got the following error message:<br/> <pre>See the end of this message for details on invoking <br/> just-in-time (JIT) debugging instead of this dialog box.<br/> <br/> ************** Exception Text **************<br/> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.<br/> at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark&amp; stackMark, Boolean isPermSet)<br/> at System.Security.CodeAccessPermission.Demand()<br/> at System.Environment.GetFolderPath(SpecialFolder folder)<br/> at Microsoft.PointOfService.InternalLogger.Initialize()<br/> at Microsoft.PointOfService.InternalLogger..ctor()<br/> at Microsoft.PointOfService.Logger.get_s_logger()<br/> at Microsoft.PointOfService.Logger.Info(String caller, String message)<br/> at Microsoft.PointOfService.PosExplorer..ctor()<br/> at devhood.ThermalPrinter.frmStep1_Load(Object sender, EventArgs e)<br/> at System.Windows.Forms.UserControl.OnLoad(EventArgs e)<br/> at System.Windows.Forms.UserControl.OnCreateControl()<br/> at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)<br/> at System.Windows.Forms.Control.CreateControl()<br/> at System.Windows.Forms.Control.WmShowWindow(Message&amp; m)<br/> at System.Windows.Forms.Control.WndProc(Message&amp; m)<br/> at System.Windows.Forms.ScrollableControl.WndProc(Message&amp; m)<br/> at System.Windows.Forms.ContainerControl.WndProc(Message&amp; m)<br/> at System.Windows.Forms.UserControl.WndProc(Message&amp; m)<br/> at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)<br/> at System.Windows.Forms.Control.ActiveXImpl.System.Windows.Forms.IWindowTarget.OnMessage(Message&amp; m)<br/> at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)<br/> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)<br/> The action that failed was:<br/> Demand<br/> The type of the first permission that failed was:<br/> System.Security.Permissions.FileIOPermission<br/> The Zone of the assembly that failed was:<br/> MyComputer<br/> <br/> <br/> ************** Loaded Assemblies **************<br/> mscorlib<br/> Assembly Version: 2.0.0.0<br/> Win32 Version: 2.0.50727.42 (RTM.050727-4200)<br/> CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll<br/> ----------------------------------------<br/> System<br/> Assembly Version: 2.0.0.0<br/> Win32 Version: 2.0.50727.42 (RTM.050727-4200)<br/> CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll<br/> ----------------------------------------<br/> ThermalPrinter<br/> Assembly Version: 1.0.0.1<br/> Win32 Version: n/a<br/> CodeBase: http://192.168.1.2:424/ThermalPrinter.DLL<br/> ----------------------------------------<br/> System.Windows.Forms<br/> Assembly Version: 2.0.0.0<br/> Win32 Version: 2.0.50727.42 (RTM.050727-4200)<br/> CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll<br/> ----------------------------------------<br/> System.Drawing<br/> Assembly Version: 2.0.0.0<br/> Win32 Version: 2.0.50727.42 (RTM.050727-4200)<br/> CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll<br/> ----------------------------------------<br/> Microsoft.PointOfService<br/> Assembly Version: 1.11.0.0<br/> Win32 Version: 1.11.1139.0<br/> CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.PointOfService/1.11.0.0__31bf3856ad364e35/Microsoft.PointOfService.dll<br/> ----------------------------------------<br/> Accessibility<br/> Assembly Version: 2.0.0.0<br/> Win32 Version: 2.0.50727.42 (RTM.050727-4200)<br/> CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll<br/> ----------------------------------------<br/> Microsoft.mshtml<br/> Assembly Version: 7.0.3300.0<br/> Win32 Version: 7.0.3300.0<br/> CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll<br/> ----------------------------------------<br/> <br/> ************** JIT Debugging **************<br/> To enable just-in-time (JIT) debugging, the .config file for this<br/> application or computer (machine.config) must have the<br/> jitDebugging value set in the system.windows.forms section.<br/> The application must also be compiled with debugging<br/> enabled.<br/> <br/> For example:<br/> <br/> &lt;configuration&gt;<br/> &lt;system.windows.forms jitDebugging=&quot;true&quot; /&gt;<br/> &lt;/configuration&gt;<br/> <br/> When JIT debugging is enabled, any unhandled exception<br/> will be sent to the JIT debugger registered on the computer<br/> rather than be handled by this dialog box.</pre> After I made some changes with the coding and set the strong named dll in .NET Framework 2.0 Configuration with Full Trust, the Internet Explorer just frozen and I need to kill the Internet Explorer in Windows Task Manager. Anyone knows how can I solve this problem?<br/> <br/> Thanks,<br/> JohnThu, 01 Oct 2009 13:23:10 Z2009-11-23T15:20:08Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/65d33c91-f097-498d-89aa-7c0fca487439http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/65d33c91-f097-498d-89aa-7c0fca487439Mike Hoffmanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Mike%20HoffmanOPOS Printing hanging main application although printing done in secondary thread<p>Hi,<br/><br/>I've recently acquired an EPOS application and I'm having some problems with printing under OPOS hanging the main thread.  The print is done be a secondary thread so it's effect should be relatively mimimal on the main UI thread.<br/><br/>In theory at least (if I do a threading.thread.sleep in the print thread for e.g. 10 seconds before it starts to print, the UI thread still functions for those 10 seconds) any OPOS printing is done in the secondary thread.<br/><br/>I've got 2 printers, a thermal using the normal Epson OPOS driver (PosLigne TRP-100 using Epson ADK V2.50) and a dot-matrix (Bixolon SRP-275C using Bixolon Opos Driver V4.1.1).<br/><br/>They behave differently (as is often the way with drivers).  The Epson OPOS driver hangs the main app thread when printing, but throws an error if, e.g., the printer runs out of paper or the print door is opened mid-print).  The Bixolon doesn't hang the main thread, but will not notice errors mid-print (it errors on paper-out at the start of printing, but not during).<br/><br/>I'm mainly concerned with the main app locking up while printing.  The processor doesn't go to max so I'm open to clues why something running in an independant thread can stop the main thread, or really any other thoughts or ideas on what might be going wrong.<br/><br/>Many thanks<br/><br/>Mike</p>Sat, 15 Aug 2009 15:27:27 Z2009-10-31T19:33:22Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/640ab82e-6927-49f8-b177-fb6928e5199ehttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/640ab82e-6927-49f8-b177-fb6928e5199eBaditalahttp://social.msdn.microsoft.com/Profile/en-US/?user=BaditalaPOS LineDisplay Issue when ClaimHi All, <br/><br/><strong>My code to Show info in PoleDisplay is <br/></strong><br/><span style="color:#2b91af;font-size:x-small"><span style="color:#2b91af;font-size:x-small"><span style="color:#2b91af;font-size:x-small"><span style="color:#2b91af;font-size:x-small"> <p>DeviceInfo</p> </span></span></span><span style="color:#2b91af;font-size:x-small"> <p> </p> </span></span> <p><span style="font-size:x-small">oDevice = myExplorer.GetDevice(</span><span style="color:#2b91af;font-size:x-small"><span style="color:#2b91af;font-size:x-small">DeviceType</span></span><span style="font-size:x-small">.LineDisplay, </span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;POSLineDisplay&quot;</span></span><span style="font-size:x-small">);<br/>oDisplay = (</span><span style="color:#2b91af;font-size:x-small"><span style="color:#2b91af;font-size:x-small">LineDisplay</span></span><span style="font-size:x-small">)myExplorer.CreateInstance(oDevice);<br/></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">if</span></span><span style="font-size:x-small"> (oDisplay != </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">null</span></span><span style="font-size:x-small">)<br/>{<br/>oDisplay.Open();<br/>oDisplay.Claim(1000);<span style="color:red"> <strong>// Exception throwing here<br/></strong></span></span><span><span style="color:#0000ff;font-size:x-small">oDisplay.DeviceEnabled = true</span></span><span style="font-size:x-small">;<br/>oDisplay.ClearText();<br/>oDisplay.DisplayTextAt(line, 0, textToDisplay);<br/>oDisplay.Release();<br/>oDisplay.Close(); <br/>} <br/><br/>even the PoleDisplay is Pluggedin and ON still getting the error.<br/><br/><span style="color:red">Error Message : <br/>Method ClaimDevice threw an exception.  The device is not connected to the system or is not powered on. <br/><br/></span></span>Please help to fix this.</p>Fri, 30 Oct 2009 09:25:47 Z2009-11-02T06:25:07Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/e66a0284-02a6-4870-90f2-bee7ab9e3a0chttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/e66a0284-02a6-4870-90f2-bee7ab9e3a0cDulalhttp://social.msdn.microsoft.com/Profile/en-US/?user=DulalBarcode Scanner readingThanks Seam for your answer<br/><br/>I have a barcode scanner mode Z3010 of Zebex with USB connection. <br/>I want to provide a solution to a customer that will use this barcode to scan data which can be scanned only with my software but not with any other scanner without the software. Is it possible! <br/><br/>If yes pls help me how i can do that with provide some clue.<br/>Sun, 18 Oct 2009 08:42:41 Z2009-11-23T15:24:45Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/1c5dd814-1cc3-4ab0-866a-3a325d1bd4f9http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/1c5dd814-1cc3-4ab0-866a-3a325d1bd4f9Gabrielli Sergiohttp://social.msdn.microsoft.com/Profile/en-US/?user=Gabrielli%20SergioESC/POS Black Mark Commandi need a sample code for c# for set the position of the paper in correspondence of the top of the form using the black mark feed command.<br/> Anyone can help me?<br/> <br/> thanks<br/> <br/> SergioWed, 21 Oct 2009 08:04:45 Z2009-10-30T03:30:17Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/71d512c9-30c1-40a0-a053-89786b72fe4fhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/71d512c9-30c1-40a0-a053-89786b72fe4fDulalhttp://social.msdn.microsoft.com/Profile/en-US/?user=DulalReading Data from Scanner<p>Hi Everybody<br/><br/>Is it possible to capture raw data from scanner before it is transformed into encoded in any symbology.<br/>If yes. Is there anybody who can help me.<br/></p>Thu, 22 Oct 2009 09:08:23 Z2009-10-30T03:32:57Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/53d4d9df-eaa5-4efb-a662-3eb3fa60981bhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/53d4d9df-eaa5-4efb-a662-3eb3fa60981bBaditalahttp://social.msdn.microsoft.com/Profile/en-US/?user=BaditalaPOS Device utilization exaples and questionsHi All, <br/><br/> I have few doubts regarding POS Device usage with OPOS. <br/><br/>Currantly I am using List of POS Devices are <br/>a. Printer ----EPSON Printer (TM-T88IV) Model (not usb device)<br/>b. LineDisplay/PoleDisplay -----POSIFLEX (PD-300) (not usb, i.e COM Port)<br/><br/>my questions are <br/><br/>1. Do I need to install  the software for Printer and Line Diplay to use. <br/>2. Where wolud I get the service objects for these devices.  (from vendor of the devices, which we purchaged ?)<br/>3. How would I Create a New Service Object for Printer/Line Dispaly/any other POS Device ? please post Sample code in C#. <br/><br/>Thanks in advance.<br/><br/><br/>Wed, 28 Oct 2009 06:51:40 Z2009-10-30T09:07:59Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/94981233-eb3a-4c94-be0f-a99121ffa20ehttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/94981233-eb3a-4c94-be0f-a99121ffa20eMaf Fereydounihttp://social.msdn.microsoft.com/Profile/en-US/?user=Maf%20FereydouniCan somebody teach me how to print a receipt with EPSON TM- U200 POS Receipt Printer?Hi i am a newbie at all for printing codes and i dont know where to start printing, so i need somebody to give a very good and brief clear instruction to how and where to put my records for printing, i was coming up to think about creating a listview with white boarders at a Form with None Style but unfortunately my height is stable size and i want it auto size for my receipt. anyone could give me a better idea for printing? or better format to arrange my recrods for bill number? i have heard from my friends that i have to code my format for the receipt before printing it i dont even know what and how many tools to use before printing and coding it, i hope for your considerations. i just need some instruction. <div><br/></div> <div>Thanks</div>Mon, 26 Oct 2009 10:53:00 Z2009-11-11T15:55:48Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/33464b90-fd1e-4918-b680-e0ee6623b621http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/33464b90-fd1e-4918-b680-e0ee6623b621Savvas Sopiadishttp://social.msdn.microsoft.com/Profile/en-US/?user=Savvas%20SopiadisOPOS driver support in POS for .NETHi to everybody!<br/> First of all let me say that i'm new to this MS world. <br/> I am trying to develop a POS application which has a WPF UI (so i am not a hardware guy seeking for info for how to develop a service). Recently i discovered the POS for .NET Framework (actually i don't know why that late), and i realize i have to throw away code i 've written. <br/> <br/> Some things are not very clear to me so what i want to ask is:<br/> 1. if a device (for example a receipt printer) has an OPOS driver, can i be sure that at runtime my software will find this device when i call   explorer.GetDevices()  (i am not interested in Plug 'n  Play functionalities.) ?<br/> 2. can i install this WPF &quot;enabled&quot; application to a desktop PC running Windows XP, with all these 'POS for .NET' functionalities working correctly (or do i have to install on an OS like POSReady 2009)?<br/> 3. Is POSReady 2009 capable of running WPF applications (normaly it should since there is .NET 3.5 support)?<br/> <br/> <br/> <br/> Thanks in advanceMon, 10 Aug 2009 16:00:55 Z2009-10-29T13:16:04Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/1d65ae65-05c5-4cf7-aecc-9b7b853d46eahttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/1d65ae65-05c5-4cf7-aecc-9b7b853d46eaPavan kumar Pabothuhttp://social.msdn.microsoft.com/Profile/en-US/?user=Pavan%20kumar%20PabothuHow to open a Cash Drawer using C#.NET..?Hi all,<br/> <br/> I am developing a POS Application. Here I want to Open a Cash Drawer. Is it different procedures to Open different types of Cash drawers.<br/> <br/> Can anybody help me on this...<br/> <br/> Can I use MS .NET POS SDK for this purpose...<br/> <br/> Thanks in Advance<br/>Wed, 12 Aug 2009 11:36:48 Z2009-10-29T13:10:51Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/4428f47c-6d29-4669-84e9-4875eb070d2dhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/4428f47c-6d29-4669-84e9-4875eb070d2dDave Sainihttp://social.msdn.microsoft.com/Profile/en-US/?user=Dave%20SainiSend ASCII value through Serial port using OPOS drivers<span style="font-family:Verdana;color:black;font-size:8pt"> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Verdana;color:black;font-size:8pt">I have point of sale system (catapult ECRS) and would like to send every transaction to my DVR to monitor cashier’s activity. Catapult sells their DVR system, which I don't like. I spoke to them about making connection from Catapult to my DVR, and they said the only other way you can do this by sending ASCII value through the serial port. They also told me that I need get some kind of OPOS driver that sends out every transaction through the serial port. This system only recognizes OPOS drivers. I bought the POS data capture box from </span><span style="font-family:Arial;color:black;font-size:8pt">AverMedia, but this box depend on what is being sent by the POS and I know POS is not sending anything, there aren’t any OPOS driver select inside the system.</span><span style="font-family:Arial;color:black"><span style="font-size:small"> </span></span><span style="font-family:Verdana;color:black;font-size:8pt">Can anyone help me out with this? I will owe you nice bottle of wine if you can help me out. Thanks.</span></p> </span>Sun, 25 Oct 2009 18:33:32 Z2009-11-23T15:23:29Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/6ff4d389-59ea-4b86-b1fa-e45d7f8703b4http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/6ff4d389-59ea-4b86-b1fa-e45d7f8703b4bertvhhttp://social.msdn.microsoft.com/Profile/en-US/?user=bertvhOPOS Service Object causes application crashHi all, <div><br/></div> <div>I appears that the OPOS service object of our printer is sometimes misbehaving and causing our application to crash completely. I'm saying service object here, but it might as well be caused by another (driver) component that is out of our control. If we disable the printer we never have a crash.</div> <div><br/></div> <div>I could live with an exception being thrown when something goes wrong, but in this case the application just terminates without giving us a chance to react - no exception is thrown. I didn't even realize that an external (unmanaged) dll could crash the .NET runtime. I would expect Pos for .NET to handle this situation, but apparently it does not. Is there any known solution for this? This probably is a more general problem, so any pointers to a solution are appreciated.</div> <div><br/></div> <div>Thanks,</div> <div>Bert.</div>Mon, 19 Oct 2009 15:54:27 Z2009-10-28T10:19:42Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/e809000f-d6b5-4300-8dbe-1e4cc1223775http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/e809000f-d6b5-4300-8dbe-1e4cc1223775Dulalhttp://social.msdn.microsoft.com/Profile/en-US/?user=DulalReading Data by barcode scanner before decoding any SymbiologyHi Everybody<br/><br/>I want to devlop an application that will use barcode scanner to identify exam script that script will be identified only by the application.<br/>Scanners will not able to read data without the application. The data will not be readable with any scanner except using the application.<br/>Whether POS for .NET will be helpful or not.<br/><br/>Anybody is there to help me with any suggestions.<br/><br/>Wed, 21 Oct 2009 17:56:02 Z2009-11-23T15:22:36Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/16673bcc-7714-48a0-aaa4-fde4af6476bahttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/16673bcc-7714-48a0-aaa4-fde4af6476baPapaJhttp://social.msdn.microsoft.com/Profile/en-US/?user=PapaJWhat platforums does POS for .NET work on?The only documentation I've found indicates that POS for .NET is for embedded windows.&nbsp; My question is will it work in desktop apps, and if so how do I get the libs into VS2008?&nbsp; I've downloaded and installed the 1.12 from the links in this form but I don't see any references to add nor can I import the libs into a project.<br /> <br /> Thanks in advance.<br /> <br /> JacobThu, 15 Oct 2009 15:28:31 Z2009-10-30T03:42:16Zhttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/08b9abe0-7678-42cd-ba69-9d345d1f3bachttp://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/08b9abe0-7678-42cd-ba69-9d345d1f3baccanderhttp://social.msdn.microsoft.com/Profile/en-US/?user=canderVerify POS for .Net is installedI have written an application that provides support for printers using POS for .Net. However, it is not certain that the POS for .Net application will be installed on the system running my application. How can I verify that POS for .Net is installed on the system?Mon, 19 Oct 2009 12:10:51 Z2009-10-20T09:29:13Z