Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API CALLS
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00002121
Message ID:
00002125
Views:
55
>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
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform