Topic: printer fix

Welcome
Is it possible to help?
I want to display the printers connected to my computer in a combo box, so that when I connect 3 different printers, I select each one in its own combo box and associate each combo box with a print button so I don't need to select the printer every time. time.
While saving the choices in the database

Post's attachments

Attachment icon printer.rar 291.99 kb, 70 downloads since 2024-10-07 

Re: printer fix

Hi

Printer.Count;
Printer.Printers.Strings[i];

Where "i" is the number of printers - 1.

Re: printer fix

sparrow wrote:

Hi

Printer.Count;
Printer.Printers.Strings[i];

Where "i" is the number of printers - 1.



Thank you for the response
I have tried a lot but to no avail
Is there any other way to reach the same result?
Even if only one printer appears

Re: printer fix

)))
No, I don't have any other code right now.
I've only written the functions for you.
To use them, you need to add the corresponding code.
Define a variable. Use a cycle for reading and filling combo boxes for one of the functions.
Read, think, learn and you'll succeed or do you always rely on copy-pasted?