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. PostScript
Forum Updated to NodeBB v4.3 + New Features

PostScript

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.9k Views 2 Watching
  • 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.
  • Fox AnderF Offline
    Fox AnderF Offline
    Fox Ander
    wrote on last edited by
    #1

    Hello. I'm doing the migration of a Qt4 project to Qt5. And to my surprise they withdrew from QPrinter part of PostScript. Leaving only the native and PDF.
    Does anyone know if there is a way around this? For use the generated file .ps ... for use in printing on plotters.
    Is there the possibility of them returning with support for PostScript?
    I looked at their source code and it seems to me that where the postscript "passed" is the same option pdf ... If someone has tested or know something ... Help me. Thank you

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      I dont think it will come back. it was removed 5 years ago.
      https://qt.gitorious.org/qt/qtbase/commit/34f712e79e97b757b4426e1ffa09e065c9e379a1

      The files are still around
      https://github.com/radekp/qt/blob/master/src/gui/painting/qprintengine_ps.cpp
      As you can see its not trivial and not so easy to put back again.

      You can always install a postscript printer and set it to print to file.
      it will produce a ps file.

      Alternative, this might work
      http://soft.proindependent.com/eps/
      (not tested)

      1 Reply Last reply
      4
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Hi!
        +1 for installing a postscript printer. Another alternative is to print to PDF and convert the output to PS, e.g. with Ghostscript's pdf2ps.

        1 Reply Last reply
        3

        • Login

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