Author Topic: How to print color on Dot matrix Printer  (Read 10464 times)

ttduc

  • Newbie
  • *
  • Posts: 7
How to print color on Dot matrix Printer
« on: January 19, 2013, 01:25:20 am »
Hi everybody,

I'm using dot matrix CITIZEN iDP 3551 printers. It has 2 colors RED and BLACK.

But I don't know how to set color for the ticket.

Does any body know how to setup color on Ticket template?

Any help would be highly appreciated.

Thank you.

SambaPOS is wonderful ! I love it so much. Thank you for your all hard working !
« Last Edit: January 19, 2013, 11:29:34 pm by ttduc »

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: How to print color on Dot matrix Printer
« Reply #1 on: January 19, 2013, 07:30:57 pm »
Hello;

I don't know if it will work or not because I didn't tried it before but I've googled for printer codes and found something to try.

To enable red color use:
<XCT 27,114,1>
To enable black color use:
<XCT 27,114,0>

Add this code to the header of the ticket on a single line to see if it works or not. You can try different numbers instead of 1 or 0 if it does not work. I hope it helps.

ttduc

  • Newbie
  • *
  • Posts: 7
Re: How to print color on Dot matrix Printer
« Reply #2 on: January 19, 2013, 11:29:12 pm »
Thank you very much for your prompt feedback.

I will test it and let you know the result.

ttduc

  • Newbie
  • *
  • Posts: 7
Re: How to print color on Dot matrix Printer
« Reply #3 on: January 22, 2013, 10:08:12 pm »
Hi Emre,

I have done the test today. Although I tried different kind of code, it still printed in black.

Do you have a different code for me to try ?

Thank you