Scripting Quark (Classic App) in OSX

I need to make Quark print files using an OS X Script.
Can anybody help?