Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP sys(13) not working, pls help
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00676498
Message ID:
00676556
Views:
16
Hi,

You can use API function OpenPrinter() and GetPrinter() into your function in FLL or DLL (MS KB:Q152551) or use winstruct.vcx from download.
I try write simple FLL library and send you tomorrow.

MartinJ

>Hi,
>
>Thank for your advise, but I need to constantly check for the
>printer status, I don't seem to be able to find any function
>or know of any API on checking the printer whether it cable
>is unplug or offline. If you know of any API or function, please
>kindly guide me. Thank in advance
>
>>Hi,
>>
>> This is standard behavior because printer driver is installed.
>> Use ON ERROR ... or method Error() in class or API function for check printer status.
>>
>> MartinJ
>>
>>>Hi,
>>>
>>>My VFP6 written application need to check the printer for
>>>any problem, so I used sys(13), but it does return OFFLINE
>>>when I pull the cable out. Is there any way to check the printer
>>>for problem like offline, cable not connected. Please kindly advise.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform