473,394 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Sending Control characters to a POS printer

Hi,

I?m currently developing a POS application in VB.NET.
I want the user to be able to connect any kind of POS printer (available on the market).

I have tried printing the ordinary .NET way e.Graphics.DrawString(...) but it seems it cannot parse the special control characters that I want to use.

I have used Epsons OPOS Ocx (which works fine) but it?s not generic like I want it (too much hustle for the user to set up the device) I want it to be plug and print.

Has anyone accomplished this? If so could you please point me in the direction where I can find information about it?

Regards

--------------------------------
From: Frederik Wehlin

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>e1Zl6hs+Uk2ci0Bvz4LnVA==</Id>
Nov 20 '05 #1
3 6327
* Frederik Wehlin via .NET 247 <an*******@dotnet247.com> scripsit:
I?m currently developing a POS application in VB.NET.
I want the user to be able to connect any kind of POS printer (available on the market).


I don't know what a POS printer is, but maybe this sample works for you:

HOW TO: Send Raw Data to a Printer by Using Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;322090>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
Herfrield

POS Printer = Point of Sale Printer, well here in the UK anyway. Something like a Cash register receipt printer

The link you have provided should point Frederik in the right direction, without actually trying it, it looks like it will do what he wants. Thanks for the link, I have saved it for my own information as the company I work for may do something with POS printers in the future

Chris
----- Herfried K. Wagner [MVP] wrote: ----

* Frederik Wehlin via .NET 247 <an*******@dotnet247.com> scripsit
I?m currently developing a POS application in VB.NET
I want the user to be able to connect any kind of POS printer (available on the market)


I don't know what a POS printer is, but maybe this sample works for you

HOW TO: Send Raw Data to a Printer by Using Visual Basic .NE
<URL:http://support.microsoft.com/?scid=kb;EN-US;322090

--
Herfried K. Wagner [MVP
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3
* "=?Utf-8?B?Q2hyaXMgUG9kbW9yZQ==?=" <an*******@discussions.microsoft.com> scripsit:
POS Printer = Point of Sale Printer, well here in the UK anyway. Something like a Cash register receipt printer.


Thank you for the explanation.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: news.microsoft.com | last post by:
Hi Everyone, I am using the API of a particular printer driver, to pre-specify settings specific to that printer driver. After which the API has methods to create a printer driver context, which...
3
by: Vlki | last post by:
Hello, I can't find a way to send printer specific language codes to printer. Part of my code : String sString = "B50,0,0,3,1,2,50,B," + "12345678901234567890"; Font fFont = new Font("Arial",...
3
by: notregister | last post by:
Hi would i like to send string of PCL codes to a Printer which i have the IP address, how do i send it? i'm currently using TCPclient class, but it could not work, as the printer would just...
4
by: Schwarty | last post by:
I hope I posted this to the correct group. If not, please let me know and I will get it posted in the correct section. I have a web application developed in ASP.NET using C# for the code behind....
6
by: Barry Edmund Wright | last post by:
Hi, We are having a large cheque run printed by an outside printer. The printer asked us to give him the layout of the fields to print on a form and send it to him. As an example the form looks...
2
by: hari | last post by:
Hi all, I need to automate printer command testing, prinetr supports parallel/ serial/USB.How can i send the commands from python to printer. I have got pyparallel, as am new to python, no...
1
by: deric | last post by:
Hi! I'm new to VB.net programming on printing a page to a thermal printer (Epson T88IV). I really had a hard time figuring out how to code the printing of a bitmap image and some text, while sending...
0
by: Charles Crawford | last post by:
Hi, This apparently is a common problem and I've yet to read a solution that actually works for my specific situation. I have a Zebra RW220 printer that I connect to via Bluetooth connection...
0
by: =?Utf-8?B?Q2hhcmxpZQ==?= | last post by:
Hi, This apparently is a common problem and I've yet to read a solution that actually works for my specific situation. I have a Zebra RW220 printer that I connect to via Bluetooth connection...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.