PDA

View Full Version : How can i print to multiple printer devices ?



Sashabn
15th January 2016, 16:22
Hi, how can i print to non default printer in Qt, or multiple printer devices?
Thanks for help

anda_skoa
15th January 2016, 16:25
QPrintDialog should allow the users to pick the printer they want to print to.

Cheers,
_

Sashabn
15th January 2016, 18:11
Thanks for fast replay.
But i have two printer installed on computer. I want to print in same time to both printer without pop up dialog ?
How can i set target printer in code ?

Thanks a lot!
Cheers :D

// I finally found solution. I use printer->setPrinterName("String"); and now everything is work fine.
Thanks.