Phailak,
Which code submission did you use? [bb]thewhip[/bb]'s or [bb]markeymark[/bb]s?
thewhip's is, as they point out, a direct lift from the VB help file, and only sets the default printer to the first one that is set to print in portrait mode. This probably isn't all that useful to you, and could well give the impression that the code isn't doing anything
markeymark's is a modofied version that should allow you to set the default to a named printer (assuming you know that name). It should work fine (even under NT Server)
Note, however, that this technique merely changes the default printer for the VB application; it is [bb]not[/bb] a system-wide change. To affect that you have to resort to some minor registry work as mentioned by [bb]sebpas[/bb]