If you get a list of printers you should be able to figure out the printer with an instr() and set it that way.

PrinterList() -
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=84385#Post84385

How to use UDFs -
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=81943#Post81943

The rest of the UDFs are here -
http://www.kixtart.org/forums/ubbthreads.php?ubb=postlist&Board=7&page=1