ilysander / jzebra

Automatically exported from code.google.com/p/jzebra
0 stars 0 forks source link

Align like data table in RAW command #194

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
//Reset Printer
qz.append("\x1B\x40");
//(Emphasized mode selected)
qz.append("\x1B\x21\x08");
//Center text
qz.append('\x1B\x61\x31');
qz.append("LISTADO DE SOLICITUDES DE MATERIALES \r\n");
//(Character font B selected)
qz.append("\x1B\x21\x01");
qz.append("Region: 30001 - CLN  Fecha:06/12/2013 \r\n");
qz.append(" ---------------------------------------------------- \r\n");
//Like Table Columns
qz.append("FOLIO SM  EDIFICIO  FECHA SOLIC  FOLIO ST  MMTO  ESTATUS \r\n");
//LIKE Table Rows
qz.append("1  00002 ANGEL FLORES  04/12/2013  3  CORRECT  SALDADA \r\n");
qz.append("3  00003 OBREGON  04/12/2013  9  PREVENT  PENDIENT \r\n");
qz.append("7  00005 HORIZONTES  14/12/2013  5  CORRECT  CANCELADA \r\n");
qz.append("10  00002 ANGEL FLORES  04/12/2013  13  PREVENT  PRE-SALD \r\n");
qz.append(" ---------------------------------------------------- \r\n");
qz.append(" \r\n");
//Full cut paper
qz.append("\x1D\x56\x41");
//restart printer for next use
qz.append("\x1B\x40");

Hi, this is my code everything is OK Just I need to "Align" like HTML rows in 
Columns
Any Idea? Need help 
Need something like my attached image prototype

Original issue reported on code.google.com by RobertM0...@gmail.com on 7 Dec 2013 at 12:56

Attachments:

GoogleCodeExporter commented 8 years ago
I would suggest posting the question to the mailing list.  The bug tracker is 
not a good place for general help questions.

Original comment by tres.fin...@gmail.com on 7 Dec 2013 at 4:22