How to adjust the font size of a pos printer

Discussions about hardware for POS and Inventory systems. Bar-code readers, Pole Displays, Cash Drawers, Touch Screens.

Moderators: sami, graham

How to adjust the font size of a pos printer

Postby everzcool4 » Mon Feb 01, 2010 11:57 am

Hi experts, im new to this forum.

i am using vb6, and my pos printer is bixolon srp 275. my problem is when i print an invoice i want to change the font size of the heading (the company name).

please someone help me. i am not an expert so please help me its an urgent.

Thanks in advance
everzcool4
Standard
 
Posts: 2
Joined: Mon Feb 01, 2010 11:39 am

Looking for solution

Postby capretail » Thu Feb 04, 2010 11:40 am

Even I'm facing the same problem ..can anyone help me to solve that problem...It will be appreciated ....
capretail
Standard
 
Posts: 16
Joined: Mon Nov 09, 2009 1:25 pm
Location: TX

Postby everzcool4 » Fri Mar 12, 2010 7:06 am

I found the solution for that.

Code: Select all
Open "COM1" For Output As #1
   
   
      Print #1, Chr$(&H1B); "@"; 'Initializes the printer (ESC @)
   
      Print #1, Chr$(&H1B); "a"; Chr$(1); 'Specifies a centered printing position (ESC a)
      Print #1, Chr$(&H1B); "!"; Chr$(0); 'Specifies font A (ESC !)
   
      Print #1, "January 14, 2002 15:00";
   
      Print #1, Chr$(&H1B); "d"; Chr$(3); 'Prints and 3 line feeding (ESC d)
   
      Print #1, Chr$(&H1B); "a"; Chr$(0); 'Selects the left print position (ESC a)
 
      Print #1, Chr$(&H1B); "!"; Chr$(1); 'Selects font B
 
      Print #1, "TM-U210B $20.00"; Chr$(&HA);
 
      Print #1, "TM-U210D $21.00"; Chr$(&HA);
 
      Print #1, "PS-170 $17.00"; Chr$(&HA);
 
      Print #1, Chr$(&HA); 'Line feeding (LF)
 
      Print #1, Chr$(&H1B); "!"; Chr$(17); 'Selects double-height mode
 
      Print #1, "TOTAL $58.00"; Chr$(&HA);
 
      Print #1, Chr$(&H1B); "!"; Chr$(0); 'Cancels double-height mode
 
      Print #1, "------------------------------"; Chr$(&HA);
 
      Print #1, "PAID $60.00"; Chr$(&HA);
 
      Print #1, "CHANGE $ 2.00"; Chr$(&HA);
 
      Print #1, Chr$(&H1D); "V"; Chr$(66); Chr$(0); 'Feeds paper & cut
 
      Close #1


but i have a small problem.

the ribbon has two colors (black and red). the primary color is black and red is the secondary color.

my question is how to print in red.

please some one help me
everzcool4
Standard
 
Posts: 2
Joined: Mon Feb 01, 2010 11:39 am


Return to POS Hardware

Who is online

Users browsing this forum: No registered users and 1 guest

cron