Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Accessing system printer preferences dialog using c++
QtWS25 Last Chance

Accessing system printer preferences dialog using c++

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jonny_mac_99
    wrote on 31 Jan 2017, 12:03 last edited by
    #1

    I am currently creating my own printer dialog and would like to access the "Printer Preferences" which can be accessed by pressing the appropriate button within the printer dialog but don't know of any way to do this. Does anyone have any info on this?

    The Preferences button is mentioned in the Qt Docs but it doesn't have any info about opening the options from a slot or similar? I think the PrinterDialog is using some native printer options depending upon the OS so this will probably look after the printer preferences.

    Any help would be greatly appreciated.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 31 Jan 2017, 22:37 last edited by
      #2

      Hi,

      Do you mean you are reimplementing QPrintDialog ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jonny_mac_99
        wrote on 1 Feb 2017, 11:29 last edited by
        #3

        Essentially, yes. I am wanting to display the printer options from another piece of UI which includes other options that aren't included in the QPrintDialog. At the moment, I have an advanced options button which allows access to a QPrintDialog,which will allow the user to access all of the standard print options and the printer properties, but I would ideally like to just offer a printer properties button and skip the QPrintDialog.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 1 Feb 2017, 11:38 last edited by
          #4

          Then you'll have to check each platform implementation. AFAIK, the QPrintDialog class opens the OS official print dialog and interacts with the corresponding subsystems.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          1/4

          31 Jan 2017, 12:03

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved