Need Printer examples
Posted: Mon Aug 15, 2016 5:44 pm
The following code is modified from an example on this forum but, I can`t get printer to print. I get an address error when I run it. The showmessage displays my printers name OK.
Thanks for your help in advance.
dim p as printer
showmessage p.printers(0)
p.begindoc
p.canvas.font.size=8
p.canvas.textout(0,10,"hello world",&hffffff)
p.enddoc
Thanks for your help in advance.
dim p as printer
showmessage p.printers(0)
p.begindoc
p.canvas.font.size=8
p.canvas.textout(0,10,"hello world",&hffffff)
p.enddoc