>Boudewijn
>
>Something got messed up in your message as you can
>see! Try again.
>
>Tom
>
>>>>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
OK here we go again.
What I was saying is that I already got some info (via product support here in holland) on how to pass a struct of simple dwords
to a Windows-function, and how to break it down to pieces to get some info.
However the struct of the Windows GetPrinter() function is quite a bit more complicated.
It has Strings,Dwords AND pointers to another struct. (DEVMODE).
I don't see how to pass it.
Hope you can give
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only