c# 小票打印 佳博3120 源码
openport("Gprinter GP-3120TN"); //Open specified printer driver
// setup("35", "25", "4", "8", "0", "1", "0"); //Setup the media size and sensor type info
sendcommand("SIZE 30mm,37mm");
clearbuffer();
sendcommand("SET PEEL ON ");
sendcommand(" SET TEAR ON ");
sendcommand(" SET STRIPPER ON ");
1