Results 1 to 3 of 3

Thread: How can i print to multiple printer devices ?

  1. #1
    Join Date
    Feb 2015
    Posts
    17
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default How can i print to multiple printer devices ?

    Hi, how can i print to non default printer in Qt, or multiple printer devices?
    Thanks for help

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How can i print to multiple printer devices ?

    QPrintDialog should allow the users to pick the printer they want to print to.

    Cheers,
    _

  3. #3
    Join Date
    Feb 2015
    Posts
    17
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: How can i print to multiple printer devices ?

    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

    // I finally found solution. I use printer->setPrinterName("String"); and now everything is work fine.
    Thanks.
    Last edited by Sashabn; 15th January 2016 at 18:21.

Similar Threads

  1. how to print pdf file on usb printer through qt??
    By ftl_embedded in forum General Discussion
    Replies: 2
    Last Post: 2nd December 2015, 02:01
  2. Print to a printer without driver in Linux
    By seauniv in forum Qt Programming
    Replies: 3
    Last Post: 31st December 2014, 06:54
  3. How to print(with the printer) a QML object ?
    By slimittn in forum Qt Quick
    Replies: 0
    Last Post: 28th May 2013, 13:52
  4. How to print text file to printer ?
    By d_stranz in forum Qt Programming
    Replies: 5
    Last Post: 11th July 2012, 16:47
  5. How to print pdf file on Printer in windows
    By lekhrajdeshmukh in forum Qt Programming
    Replies: 9
    Last Post: 30th November 2011, 16:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.