BorlandGeek
Programmer
I need to find out how to see the name of the Default Printer on my machine from a service... all I need is the name. I think there is a few ways but i dont know what they are?
Thanks
Thanks
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
...
#include <printers.hpp>
...
void __fastcall TForm1::FormCreate (TObject *Sender)
{
AnsiString DefPrinter = Printer()->Printers->Strings[Printer()->PrinterIndex];
}