Installing Printers on Windows Embedded Standard 7 OS

5.4k Views Asked by At

we are Developing an application on Windows Embedded Standard 7 OS and We are using .net C#.

One of the feature in our application, printing a report and we need to select a printer. On the device we don't have a CD Drive and Client don't want to expose the explorer to user.

Finally we decided and At factory, we can install some standard printers which are commonly used. But if the user have a different printer or user decided to change the printer after some time and user don't want to call ther service engineer. In these situations, how to install the printers.

On Device, we have USB ports and may be useful.

Are there are any ways to handle this problem.

if you have any link I should go thru or any document I need go thru. Please share.

Thanks in advance.

1

There are 1 best solutions below

2
On

If the printer is USB and recognized by Windows, simply plugging it in will install the print driver and create the printer. Otherwise, you're going to have to provide the printer driver yourself somehow and utilize either the Win32 AddPrinterDriver and AddPrinter functions, or use the Rundll32 printui.dll,PrintUIEntry method, which will require all the print driver files and its .inf file.