Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer information.
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00255865
Message ID:
00256011
Views:
30
>Fred,
>
>No, APRINTERS( ) creates a two-dimensional array. The first column of the array contains the names of the currently installed printers, and the second column contains the ports of those printers. What I need is the printer type. I'm sure it will have to be an API call or calls.
>
>Thanks,
>
>James
>

I see that now. All of our printer names have the printer type in them, so I didn't immediately notice it. Sorry.


>
>>>Does anyone know the API call to get the printer type information? To see what I'm referring to by printer type, run the GETPRINTER() function in VFP. In my case,
>>>
>>>Name: \\PRINTSERV\System_support
>>>Status: Ready
>>>Type: HP LaserJet 5si
>>>
>>>What I am after is the type (HP LaserJet 5si). All of VFP functions return the name but not the type so I figured there is an API call to get this info. Could someone share a code example of how to get the printer type? I would greatly appreciate it!
>>>
>>>TIA,
>>>
>>>James
>>>
>>>PS - I know a function exists in the FOCUS.FLL library but I cannot use this library.
>>
>>Does the APRINTERS() function give you the info you need?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform