Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: print on multiple printers  (Read 1561 times)

merabi

  • Newbie
  • *
  • Posts: 26
    • View Profile
print on multiple printers
« on: November 07, 2019, 10:04:34 AM »
Hi Alex.
Can you show me example how to print on multiple printers?
Code: [Select]
bool printReport(QMap<QString, QPrinter*> printers, bool printToAllPrinters = false);I don't understand what should I pass as a key in Qmap

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 992
    • View Profile
Re: print on multiple printers
« Reply #1 on: November 08, 2019, 06:35:17 PM »
Hi!
You have to pass the printer's name.

merabi

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: print on multiple printers
« Reply #2 on: November 09, 2019, 10:09:13 AM »
Thanks.