Hey,

i did my best reading the manual over and over again ( Command Reference ), even copying the entire code hoping it'd work.. but it never did

Code:

if $sDefaultPrinter<>""
? "Bezig met printer: "+$sDefaultPrinter+ ", als Standaard in te stellen."
If SetDefaultPrinter($sDefaultPrinter) = 0
? $sDefaultPrinter+" is als standaard ingesteld."
else
? $sDefaultPrinter+" kon niet als standaard ingesteld worden."
endif
else
? "Geen standaard printer opgegeven, windows zal er automatisch een aanwijzen."
endif


this will ALWAYS return that the printer couldn't be set to default for some weird reason.
I am totally lost, where on EARTH did i go wrong?

Thanks !
-Jeroen