rtitec / pos-device-simulator

Automatically exported from code.google.com/p/pos-device-simulator
0 stars 0 forks source link

Functions setPageModeVerticalPosition and setPageModePrintDirection don't work correctly #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I tryed this code :

printer.setMapMode(PTR_MM_ENGLISH);
printer.setPageModeStation(PTR_S_RECEIPT);
printer.pageModePrint(PTR_PM_PAGE_MODE);
// Set print area to 2 inches by 0.5 
inches              printer.setPageModePrintArea("0,0,2000,500");               printer.setPageModePr
intDirection(POSPrinterConst.PTR_PD_RIGHT_TO_LEFT);
printer.setPageModeVerticalPosition(250);               printer.printNormal(PTR_S_RECEIPT,"
123456789012345678901234567890\n");

result is the same as if I just write:
printer.printNormal(PTR_S_RECEIPT,"123456789012345678901234567890\n");

Can you help me?

Original issue reported on code.google.com by elen....@gmail.com on 15 Jul 2013 at 9:48