>As we all know by now sys(13) and printstatus() do
>not work.
>I'm trying to make a work around by making a call
>to the Windows GetPrinter()
>function.
>I know that the info I (We ALL I guess) want is
>stuck in the Print_info_2 "struct".
>I'm having nightmares by now as I don't see
>anymore how to pass this
>particular struct of LPTSTR's, a Pointer to
>another struct (DEVMODE) and DWORD's to the Win95
>GetPrinter() function.
>Anyone who has experience with this one ??
>
>Let me know ... Thanks in advance
>
>Boudewijn Lutgerink
>Reiki@WorldAccess.nl
>
>
Boudewijn
Remember a structure is just data segments contained in a variable. Return the var by reference (@MyVar) & then procedd to break down its individual data parts by data lengths. You can 'substr()' each segment out of the returned data.
Tom