Dear Gurus,
I want the code which prints a string to a printer without using APIS'.
Can anyone help me out.
Thanks,
Shivakumar G.M.
Printable View
Dear Gurus,
I want the code which prints a string to a printer without using APIS'.
Can anyone help me out.
Thanks,
Shivakumar G.M.
You can use the printer object
Printer.print "This is a line on the printer"
Printer.print "This is the next line"
Printer.print "This is the last line"
Printer.print "Ok, I lied about the last line, this is the last line"
Printer.EndDoc
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
see the object Printer.
hi,brt
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/im...ertaplanet.gif'>
</center>
Hello sir,
after printing the last line, it will leave a lot of spaces. I do not want to leave a single line space also.
Please help me sir.
Thank You,
Shivakumar G.M.
In that case, omit the enddoc. The enddoc will end the current printfile, and the printer will process it. if you are using a matrix printer, the enddoc should not issue a new page.
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook