Page 1 of 1

How to clean print buffer?

Posted: Wed Nov 17, 2010 2:43 pm
by huangchenmin
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

Re: How to clean print buffer?

Posted: Wed Nov 17, 2010 3:53 pm
by Rathinagiri
Can you post some sample code?

Re: How to clean print buffer?

Posted: Mon Nov 22, 2010 1:24 am
by huangchenmin
rathinagiri wrote:Can you post some sample code?
the same code i post before in another topic about print command.

Re: How to clean print buffer?

Posted: Mon Nov 22, 2010 3:56 am
by Rathinagiri
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.

Re: How to clean print buffer?

Posted: Tue Nov 23, 2010 2:29 am
by huangchenmin
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.
Thanks for ypur supports!
I had posted my code block about thmeral 200+ printer.
Have you see that ?
Best Regards
chen min