i have a command button that i am using to try and print a few things, i have the code set up like this :

printer.print "hello world!"

but when i click the button i get the following error :

"Run-Time Error- '424'
"Object Required"

any ideas on how to fix the problem ?