Page 1 of 1

HMG/HARBOUR CONSOLE APPLICATION PRINTING ON LASER PRINTER

Posted: Fri Oct 11, 2013 6:51 am
by manoj_duamzn
Kindly help me with example code.

I makes text file with epson printer codes to print on DMP printers. Now I want to make printing for Laser Printers. What is the process. What are commands.

Kindly help me

MANOJ DUA

Re: HMG/HARBOUR CONSOLE APPLICATION PRINTING ON LASER PRINTE

Posted: Sat Oct 12, 2013 8:18 pm
by mol
Hp printers use PCL language in the same way as epson dot printers

Re: HMG/HARBOUR CONSOLE APPLICATION PRINTING ON LASER PRINTE

Posted: Tue Oct 15, 2013 7:47 am
by manoj_duamzn
mol wrote:Hp printers use PCL language in the same way as epson dot printers
I try to print plain text file on Laser Printer. but it is not printing. I am using win_printFileraw(cprinter,<filename>) function for printing.

If it will print then I will try PCL codes like 027 040 115 051 066 for bold.

Please help fme how can I do this print job on Laser Printer.

Re: HMG/HARBOUR CONSOLE APPLICATION PRINTING ON LASER PRINTE

Posted: Tue Oct 15, 2013 7:55 pm
by mol
Isn't it only GDI printer?
If yes, you can use my MOLPRINT project with small modification for ESC P or PCL commands recognition

Re: HMG/HARBOUR CONSOLE APPLICATION PRINTING ON LASER PRINTE

Posted: Wed Oct 16, 2013 2:40 am
by manoj_duamzn
mol wrote:Isn't it only GDI printer?
If yes, you can use my MOLPRINT project with small modification for ESC P or PCL commands recognition
Please tell me from where I can find MODPRINT project

Re: HMG/HARBOUR CONSOLE APPLICATION PRINTING ON LASER PRINTE

Posted: Wed Oct 16, 2013 8:51 am
by mol
You can download source file from http://www.molsystemy.pl/hmg/moldruk.prg