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. How to print a large image onto multiple pages?

How to print a large image onto multiple pages?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 190 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.
  • A Offline
    A Offline
    Alexey Serebryakov
    wrote on last edited by Alexey Serebryakov
    #1

    Hi guys,

    I have large image put it in QTextDocument. For example I want to print that image on few A4 pages.
    Also display in QPrintPreviewDialog will be good.

    Thanks a lot.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ankou29666
      wrote on last edited by
      #2

      Hi

      the simplest way in my opinion is to cut your image into smaller chunks (giving each chunk the size that matches your A4 sheet) and print each chunks.

      1 Reply Last reply
      0
      • artwawA Offline
        artwawA Offline
        artwaw
        wrote on last edited by
        #3

        QTextDocument has it somewhat automated with its print() method. Have you tried that first?

        For more information please re-read.

        Kind Regards,
        Artur

        1 Reply Last reply
        0

        • Login

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