My codes are in Vb6 and Epson printer LQ-300+
my problem is after printing a transaction that is of one
line only Printer eject the whole page. How Can I control
the page length.
What I mean to say is that Printer eject the whole page
My Msg is of one line only. I need it should print the line
and a few line feeds so we can use rest of the paper for the next transaction.
Don't send Printer.EndDoc until you want to finish
Just use :[tt]
Printer.Print Msg
Printer.Print vbCRLF & vbCRLF[/tt]
then send your next msg & next etc. When you're done send :
[tt] Printer.EndDoc[/tt]
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
The Printer.EndDoc tells windows your done with the job and that it should send it to the printer. If you want to keep working with the document just don't send the EndDoc until you have finish working with the document.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.