Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
I want to display some text time to time when my application is doing its order placing process. previously I did this using com port connected Customer Display Pole, but now I want to use the "USB" Customer Display Pole.

please help me....
Posted

Probably (check in the documentation) the 'Customer Display Pole' manufacturer provides a virtual serial port driver fot its USB (at least a library should be provided, again, have a look at the documentation).

:)
 
Share this answer
 
v2
First you have to configure the device. Use the below link for the configuration.

http://www.seanliming.com/Docs/Articles/POSdotNET/MSR%20Application%20for%20the%20eoA7330D%20Rev1.pdf

This is the code for the Line Display Unit
Make sure that you have added the Microsoft.PointOfService library to your reference list.
You have to install the Library first.
After the installation, normally it can be found in C:\Program Files\Microsoft Point Of Service\SDK directory

using Microsoft.PointOfService;

private const string WelcomeMessage = "Welcome\r\n";
private PosExplorer posExplorer;
private LineDisplay posLineDisplay;
private DeviceInfo posLineDisplaydevice;

public void LineDisplayUnit()
{
this.posExplorer = new PosExplorer(this);
this.posLineDisplaydevice = this.posExplorer.GetDevice("LineDisplay", "POSIFLEX_LINEDISPLAY");

try
{
this.posLineDisplay = (LineDisplay)this.posExplorer.CreateInstance(this.posLineDisplaydevice);
this.posLineDisplay.Open();
this.posLineDisplay.Claim(1000);
this.posLineDisplay.DeviceEnabled = true;
this.posLineDisplay.DisplayText(WelcomeMessage);
this.posLineDisplay.DisplayTextAt(2, 1, this.LeftAlign("Amount", 7) + this.RightAlign(this.GrandTotalAmount.ToString("0.00"), 12));
this.posLineDisplay.Close();

}
catch (Exception)
{

}
}

Now you can display text using your Display.

Done.
 
Share this answer
 
v2
Comments
CHill60 12-Jun-13 7:16am    
It's great that you want to help, but this question is three years old and already has a highly rated solution
Krishnananthan Vijayaretnam 17-Jun-13 7:40am    
Yes. I know that. I also searched for the same only two weeks ago. And I found that one person search for that three years ago. I found that after a long search. If someone search for same in near future, this solution will be helpful to them without spending so much time on this. So, I just shared the solution. That's all.
farzadkazemi2085 26-Nov-16 11:35am    
Hi,
Where is Microsoft.PointOfService library download Link
Tanks
farzadkazemi2085 26-Nov-16 11:36am    
Hi,
Where is Microsoft.PointOfService library download Link
my email is farzadkazemi2085@gmail.com
Tanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900