Looking at your script, there needs to be some logic for say more than one printer..

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's