Realised that _Osprint.p does not send to the printer that I set programmactically in session
rinter-name. It will always send report to the Windows default printer. Somewhere here, I have read that one way to overcome this problem is to use GetProfileString and WriteProfileString. Can anyone point me to where I can get the sample codes especially for WriteProfileStirng?
Also using this method, will it work across all Windows platform - Win98, Win2K and WinXP?
Thanks for any help.
Skc

Also using this method, will it work across all Windows platform - Win98, Win2K and WinXP?
Thanks for any help.
Skc