hmgchang wrote:Subject: HMG 3.1.2
Pablo César wrote:Jairo Maia wrote:This occurs because the printer doesn't have support for RAW mode. Isn´t possible to print using Win_PrintFileRaw() function in printers that no support the RAW mode, or if it is disabled.
Yeah, ! I think Jairo you are right ! I had forgotten about that possibility, well remembered !
Dear Sir,
1. How to start a new topic in this forum ?
2. I tried this program, it print well in Epson Lx300 but nothing in Epson L100. Pls help n thks
REQUEST HB_GT_WIN_DEFAULT
FUNCTION Main()
LOCAL cPrinterName, cTest
cPrinterName := WIN_PRINTERGETDEFAULT()
? cPrinterName
cTest := WIN_PrintFileRaw( cPrinterName, "ABC.TXT")
wait
RETURN NIL
/*
Printed with : EPSON LX-300+II ESC/P
ABC.TXT
┌────┬──────────────────┬──────┬──────┬────┬────┬────┬────┬────┬─────────┬────────────────────┐
│No. │ DESC. │ 01 │ 02 │ 03 │ 04 │ 05 │ 06 │UNIT│ AMOUNT │ MEMO │
│ │ │ │ │ │ │ │ │ │ │ │
├────┼──────────────────┼──────┼──────┼────┼────┼────┼────┼────┼─────────┼────────────────────┤
│ 1│NEVADA BLACK │ 50│ 50│ 50│ 50│ _ │ _ │ 4│ 200│ │
│ 2│NEVADA MAROON │ 50│ 50│ 50│ 50│ 50│ _ │ 5│ 250│ │
│ 3│BALENO - CREAM │ 50│ 50│ _ │ _ │ _ │ _ │ 2│ 100│ │
│ 4│SPBOND 75GR 210 BL│ 350 = 2 unit │ _ │ _ │ 2│ 700│ │
│ 5│SPBOND 75GR 210 WH│ 350 = 1 unit │ _ │ _ │ 1│ 350│ │
│ 6│CET SOFA - BLACK │ 1 = 12 unit │ _ │ _ │ 12│ 12│ │
│ 7│MALINDA M09B │ 60,7│ 60,2│ 60│57,1│53,1│ _ │ 5│ 291,10│ │
│ 8│VINA - TAUPE │ 50│ 50│ _ │ _ │ _ │ _ │ 2│ 100│ │
│ 9│ANELA - BLACK │ 50│ 50│ _ │ _ │ _ │ _ │ 2│ 100│ │
│ 10│FEYRINE - N.BROWN │ 77│ 50│ _ │ _ │ _ │ _ │ 2│ 127│ │
│ 11│ANTONIO CHOCOLATE │ 50│ _ │ _ │ _ │ _ │ _ │ 1│ 50│ │
│ │ │ │ │ │ │ │ │ │ │ │
├────┼──────────────────┼──────┼──────┼────┼────┼────┼────┼────┼─────────┼────────────────────┤
│ │ T O T A L │ │ │ │ │ │ │ 38│ 2.280,10│ │
└────┴──────────────────┴──────┴──────┴────┴────┴────┴────┴────┴─────────┴────────────────────┘
Printed with : \EPSON L100 Series
- The printer start to print but only blank paper
*/