Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Printing question

Printing question

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
5 Posts 4 Posters 0 Views 1 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.
  • R Offline
    R Offline
    Richard Cheng
    wrote on last edited by
    #1

    I'm trying to send the output to the printer. I found that the output on the printer is very very small..... For example, if I want to print everything on the whole screen, it will be printed on the left upper corner of the paper. Can I make it bigger and use the whole paper and change to position to Landscape?

    C L A 4 Replies Last reply
    0
    • R Richard Cheng

      I'm trying to send the output to the printer. I found that the output on the printer is very very small..... For example, if I want to print everything on the whole screen, it will be printed on the left upper corner of the paper. Can I make it bigger and use the whole paper and change to position to Landscape?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      What you've discovered is the difference between the DPI of your screen, and the DPI of your printer. Your screen is measured in pixels, but a printer is measured in TWIPS, which are some fraction of an inch ( I forget, but basically - there small ). The whole print framework is too complex for me to cover thoroughly, I'd suggest you look in the main site under printing, there are a number of articles there that will get you going. Christian The content of this post is not necessarily the opinion of my yadda yadda yadda. To understand recursion, we must first understand recursion.

      1 Reply Last reply
      0
      • R Richard Cheng

        I'm trying to send the output to the printer. I found that the output on the printer is very very small..... For example, if I want to print everything on the whole screen, it will be printed on the left upper corner of the paper. Can I make it bigger and use the whole paper and change to position to Landscape?

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        What you've discovered is the difference between the DPI of your screen, and the DPI of your printer. Your screen is measured in pixels, but a printer is measured in TWIPS, which are some fraction of an inch ( I forget, but basically - there small ). The whole print framework is too complex for me to cover thoroughly, I'd suggest you look in the main site under printing, there are a number of articles there that will get you going. Christian The content of this post is not necessarily the opinion of my yadda yadda yadda. To understand recursion, we must first understand recursion.

        1 Reply Last reply
        0
        • R Richard Cheng

          I'm trying to send the output to the printer. I found that the output on the printer is very very small..... For example, if I want to print everything on the whole screen, it will be printed on the left upper corner of the paper. Can I make it bigger and use the whole paper and change to position to Landscape?

          L Offline
          L Offline
          l a u r e n
          wrote on last edited by
          #4

          1 twip = 1/1440 inch 1 pixel on avg = 1/72 inch your output will be approx 20 times too small look at the device context mapping modes you are using :suss: --- "every year we invent better idiot proof systems and every year they invent better idiots"

          1 Reply Last reply
          0
          • R Richard Cheng

            I'm trying to send the output to the printer. I found that the output on the printer is very very small..... For example, if I want to print everything on the whole screen, it will be printed on the left upper corner of the paper. Can I make it bigger and use the whole paper and change to position to Landscape?

            A Offline
            A Offline
            Ahmad
            wrote on last edited by
            #5

            go to www.maxcode.com and then go to visual c++ toturials you find free e-book abou visual c++6 and you find whole chapter about Printing and you find the answer about your question... AHMAD ALWASHALI

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups