i'm assuming you just try to have a workstaion connect to the printer on the server?
Normally, you share the printer on the server, do a ADDPRINTERCONNECTION on the client and then you cna do a SETDEFAULTPRINTER on the client. Now, this is in a simple domain setup, I'm not sure whether you are trying to use Citrix-specific stuff. Give this a try in your login script:
code:
$retcode=AddPrinterConnection("\\CITRIX1\OHSPRTRLR")
? @ERROR+' - '+@SERROR
$retcode=SetDefaultPrinter("\\CITRIX1\OHSPRTRLR")
? @ERROR+' - '+@SERROR

_________________________
There are two types of vessels, submarines and targets.