Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages
Started by x04001
Wed, 14 May 2003 05:23
List printer and research by name
Author: x04001
Date: Wed, 14 May 2003 05:23
Date: Wed, 14 May 2003 05:23
8 lines
1060 bytes
1060 bytes
Hi, I would like to know if there's an API which allows me to list all printer available for my PC and in this list to search if a particular printer is declared ? (research it by its name) thanks X04001
Re: List printer and research by name
Author: Remy Lebeau (TeamB)
Date: Wed, 14 May 2003 06:03
Date: Wed, 14 May 2003 06:03
17 lines
1423 bytes
1423 bytes
"x04001" <x04001@yahoo.com> wrote in message news:3ec1d2bb$1@newsgroups.borland.com... > I would like to know if there's an API which allows > me to list all printer available for my PC EnumPrinters() > in this list to search if a particular printer is declared ? You would have to enumerate the list until it returns the printer name you are looking for, or until the enumeration is is finished, whichever occurs first. Or you could just use the OpenPrinter() function. Gambit
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads