Hello everyone:
I need to 『PUSH』all data in print buffer to printer.
How should I do ?
I had tried spoolflush() ,which I got info from
http://www.itlnet.net/programming/program/
but it seems not included in hmg.ch
Complie error was occured.
I was confused that PRINTSEND(),another function from same web works well.
Could anyone help!
Best Regards
chen min
How to clean print buffer?
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5482
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: How to clean print buffer?
Can you post some sample code?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
-
huangchenmin
- Posts: 157
- Joined: Mon Jun 07, 2010 2:24 am
Re: How to clean print buffer?
the same code i post before in another topic about print command.rathinagiri wrote:Can you post some sample code?
- Rathinagiri
- Posts: 5482
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: How to clean print buffer?
If the printer is connected and used as Windows printer, once we give 'End PrintDoc' (if it is not in preview mode), the printer starts printing. In the case of Console mode printers, I think once we give the printer command, everything is printed immediately.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
-
huangchenmin
- Posts: 157
- Joined: Mon Jun 07, 2010 2:24 am
Re: How to clean print buffer?
Thanks for ypur supports!rathinagiri wrote:If the printer is connected and used as Windows printer, once we give 'End PrintDoc' (if it is not in preview mode), the printer starts printing. In the case of Console mode printers, I think once we give the printer command, everything is printed immediately.
I had posted my code block about thmeral 200+ printer.
Have you see that ?
Best Regards
chen min