Printing to Windows printer from QNX6.2

How do I print across my local area network to a shared Windows printer from QNX6.2?

I have installed Samba.
The best I have been able to do so far is to print to a postscript file, run smbclient and then at the prompt type,

smb: /> print

This works fine but there must be a better method. Can I set up something in /etc/printcap to make things more automatic. Using the smbspool program that came in the samba download looks like a good candidate.

Any pointers to documentation on how to set this up would be greatly appreciated.

Thanks

Glen