printer
-
can we choose printer during execution if yes please give me source.
Nikesh Kr. Yadav CSS Infotech Sec- 31 Gurgaon, Haryana(India)
-
can we choose printer during execution if yes please give me source.
Nikesh Kr. Yadav CSS Infotech Sec- 31 Gurgaon, Haryana(India)
I'm not sure if you're using Visual Studio 2005 but if you are, theres a component called a PrintDialog that allow the user to choose which printer they would like to use.
-
I'm not sure if you're using Visual Studio 2005 but if you are, theres a component called a PrintDialog that allow the user to choose which printer they would like to use.
thanx but i want to choose dmp for printing on continous sheets (ie. invoice) and i want to choose printer duing execution of command
ExlWorkBook.PrintOut(1, 1, 1, false, val, false, false, val);
if u help me plz .............:):laugh::-DNikesh Kr. Yadav CSS Infotech Sec- 31 Gurgaon, Haryana(India)
-
can we choose printer during execution if yes please give me source.
Nikesh Kr. Yadav CSS Infotech Sec- 31 Gurgaon, Haryana(India)
You can use classes in System.Management namespace and some WMI query to do that for that I suggest you to search MSDN for WMI or windows management instruments and of course the program "Scriptomatic2" from Microsoft guys can help you a lot it can generate queries you needed for retrieving current printers and set the default printer. all you need is just some coding.! good luck