Printer Object

S

ssei1

I am using xcel2000 with VB6. I want to use the PRINTER object to send
output directly to the printer. For some reason, XCEL doesn't seem to
recognize the PRINTER object. I believe I have the right references
loaded... Any ideas?



If I do this simple program out of VB

PRINTER.PRINT "HI" 'what to print
PRINTER.ENDDOC 'send to printer
PRINTER.NEWPAGE 'eject page

I works great! It sends the word "HI" to the default printer and the
ejects the page. The minute I place the same code within the xcel/VB
environment it doesn't recognize the printer object.

ANY IDEAS?

THANKS IN ADVANCE
RICH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top