Yeah, ! I think Jairo you are right ! I had forgotten about that possibility, well remembered !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.
Raw Print mode difficulty
Moderator: Rathinagiri
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Re: HMG 3.1.2
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: HMG 3.1.2
Thks Mr. Rathinagiri, Mr. Esgici and Mr. Pablo !
I will try to open a new topic.
I am very sorry for causing so much mess and trouble !
I will try to open a new topic.
I am very sorry for causing so much mess and trouble !
Just Hmg It !
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Raw Print mode difficulty
I have received from Mr. IkChong, following message I'm relaying here in response to the person concerned and the rest of the forum members:
1. You can select your forum according your main matter of the message that you wish to post. Each section, has it own matter. For this matter of from your begining of this subject I thought was ok for this section "Issues and Discussions related to Harbour". After selecting the right section, by clicking seing from "Board index" page (index of all forums sections). You will find a "New Topic" button (see picture): After this, I think you already know how to submit your messages: 2. Regarding your problem with printer. You did not mentioned that your printer installed is a EPSON L100 INKJET PRINTER as the picture below:
This is not a MATRIX printer, is INK EPSON mode. This more for graphic not Text properlly, this one is more used to print photos. Most probably has NOT RAW MODE as Jairo has alerted. So , to print in this printer you will need to do it at graphical interface.
This printer seems there a special procedure, have you checked this:
This is the one of main reasons to leave Clipper developement and pass to make your programms in GUI (Graphical User Interface).
Probably, you can convert this TEXT report file in a second PDF file, which will be easier to preview and print in graphical printers.
Hi IkChong,hmgchang wrote:Subject: HMG 3.1.2
Dear Sir,Pablo César wrote:Yeah, ! I think Jairo you are right ! I had forgotten about that possibility, well remembered !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.
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
*/
1. You can select your forum according your main matter of the message that you wish to post. Each section, has it own matter. For this matter of from your begining of this subject I thought was ok for this section "Issues and Discussions related to Harbour". After selecting the right section, by clicking seing from "Board index" page (index of all forums sections). You will find a "New Topic" button (see picture): After this, I think you already know how to submit your messages: 2. Regarding your problem with printer. You did not mentioned that your printer installed is a EPSON L100 INKJET PRINTER as the picture below:
This is not a MATRIX printer, is INK EPSON mode. This more for graphic not Text properlly, this one is more used to print photos. Most probably has NOT RAW MODE as Jairo has alerted. So , to print in this printer you will need to do it at graphical interface.
This printer seems there a special procedure, have you checked this:
This is the one of main reasons to leave Clipper developement and pass to make your programms in GUI (Graphical User Interface).
Probably, you can convert this TEXT report file in a second PDF file, which will be easier to preview and print in graphical printers.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: Raw Print mode difficulty
1. Thks for the info and help me create this topic
2. Yes, its an Ink Jet printer
3. I agree to leave Clipper and thank to HMG for this
2. Yes, its an Ink Jet printer
3. I agree to leave Clipper and thank to HMG for this
Just Hmg It !
Re: Raw Print mode difficulty
Hi Pablo,
I tried to print the plain text file using Notepad to USB printer and it did !
so I just wonder if I can add some code to the text file to command the printer to work
just like the Notepad did. ( with Epson matrix printer its the Esc printer code).
my question is can we do that ? or How does the Notepad working to communicate with
the printer anyway ?
Thks
IkChong
I tried to print the plain text file using Notepad to USB printer and it did !
so I just wonder if I can add some code to the text file to command the printer to work
just like the Notepad did. ( with Epson matrix printer its the Esc printer code).
my question is can we do that ? or How does the Notepad working to communicate with
the printer anyway ?
Thks
IkChong
Just Hmg It !
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Raw Print mode difficulty
Viva INTERNATIONAL HMG