Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing receipt to Epson TM-U220

Status
Not open for further replies.

WaZda

Programmer
Jun 22, 2007
48
GB
Hello,
This is my very first time am doing an application for a sales point. Am having a hard time printing the datareport to the "Epson TM-U220" printer that they got.
Could someone please help me with some piece of codes. Do i need to set the paper size? Please how do i go about this.
Thank you for your help

WaZda
 
I'd start at Epson's web site for their SDK for their receipt printers. I've only used Star printers so I can't be of specific help. You will want to go with their SDK for ease of retrieving status of the printer especially if it is a network printer in a situation where it is vital to know if the print job went through. It's what you'll want for alignment and much more. I use crystal for full page reports only, although it should be possible on a receipt printer, if you really want to go that route. The Epson SDK going to require more code than your "data report" but it's how it's done the right way.

Tom
 
hi,
Thanks for your answers. Am not going to use Crystal Report. Am just using the Date Report of the VS 6.0. The printer came with no cd driver. And i don't know where to find it. I have a long way to go.
Please help

WaZda
 
You don't want to use data reports to print to the receipt printer. The cd that came with the printer has nothing to do with the SDK you will need to develop software to print to it. But you will need the basic printer driver to install it properly. Go to Epson's site and search for their SDK and printer drivers. If you can't find it contact them and I'm sure they will gladly help you. After all they want applications to be compatible with their hardware. After that you might also want to try the point of sale forum here.
While it is possible to print to a receipt printer through normal applications and controls such as your data report, you will not get your desired results. I've never really tried other than printing some simple text from say word pad where things like right alignment and size didn't matter, because it is not the correct way.


Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top