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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Epson TM U220 Kitchen Print problem

Status
Not open for further replies.

lblizzard

IS-IT--Management
Jun 26, 2007
6
We use an IP Epson U220 receipt printer in our kitchen. The software we have uses printer layouts like below. The below layout prints a header and then the items ordered, it prints the modifiers in red below the items if that item has a modifier. My poblem is it double spaces the modifiers and I can't figure out how to make it stop.
Any help would be much appreciated. Also does anyone has a cheat sheet for this code?
Thanks

<|alltrim(printers->color_1)+CENTER('KITCHEN RECEIPT ADDED',40)|>
<|CENTER('Table Number: '+ALLTRIM(utility->first_name)+' '+alltrim(utility->descrip1),40)|>
<|CENTER(dtoc(date())+' '+time(),40)|>
<|CENTER('Server: '+ALLTRIM(utility->operator),40)|>
<|NEWLINE()|>

<|'Qty - Item'|>

<|('----------------------------------------')|>

<|Details(IIF(MODIFIER(), alltrim(printers->color_2)+' ATTN: '+alltrans->Descrip+NEWLINE(),IIF(deltaqty=0,'',alltrim(printers->color_1)+STR(deltaqty,3,0)+' - ' +ALLTRIM(alltrans->descrip)+' '+alltrim(printers->color_2)+ALLTRIM(alltrans->message)+NEWLINE())),TRUE,40)|>

<|NEWLINE()|>
<|NEWLINE()|>
<|NEWLINE()|>
<|NEWLINE()|>
<|printers->cut_code|>
 
I found another layout that prints the modifiers correctly but now they don't print in red. The layout I found didn't have the color_2 option, which I thought I could add but have not been successfull at yet.
So the printer is printing but not like I want it to.
If I could learn the code that would solve a lot of problems, but that's one of my weak points.
 
Siriusware it's a windows based system that runs on XP, backend is SQL. It's popular in the ski industry, they started with lift tickets and then expanded into retail, f&B, etc.

The printer layouts are configured in the backend, Ccard Layout, Remote 1, Remote 2, etc and the printers are assigned to these groups. You may have 3 printers pointed to Remote 1 and 30 pointed to the credit card layout.

Hope that makes sense.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top