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

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

merabi

  • Newbie
  • *
  • Posts: 29
    • 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: 1005
    • 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: 29
    • View Profile
Re: print on multiple printers
« Reply #2 on: November 09, 2019, 10:09:13 am »
Thanks.