Hi Lonkero!

I have tested this:

--------------------------
SELECT

CASE LEFT(@WKSTA,5) = "NAVEL"
Addprinterconnection("\\sturehofpdc\HP LaserJet 2200 Series PCL 6") =0
Addprinterconnection("\\sturehofpdc\HP LaserJet 5000 Series PCL 6") =0
SetDefaultPrinter("\\sturehofpdc\HP LaserJet 2200 Series PCL 6") =0

CASE LEFT(@WKSTA,5) = "???"
Addprinterconnection("\\sturehofpdc\HP LaserJet 2200 Series PCL 6") =0
Addprinterconnection("\\sturehofpdc\HP LaserJet 5000 Series PCL 6") =0
SetDefaultPrinter("\\sturehofpdc\HP LaserJet 2200 Series PCL 6") =0

ENDSELECT

------------------

This seems to work ok. Can you please give me suggestions if needed.

Thanks

/Johan Eriksson