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. Print Preview - Sanity Check Please

Print Preview - Sanity Check Please

Scheduled Pinned Locked Moved C / C++ / MFC
c++comhelptutorialquestion
3 Posts 3 Posters 1 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
    Russell Robinson
    wrote on last edited by
    #1

    A text report I print from my MFC program is different in Print Preview versus hard copy. In fact zooming in and out in Print Preview changes what's displayed. Example: one column in my report might be:

    My dog has fleas.
    

    But in Print Preview, this might show as:

    My dog has fl
    

    Given Microsoft Word also shows these sorts of anomalies in Print Preview, I've always assumed it's a difference between rendering on the screen versus rendering on the printer. So, a sanity check please: should I worry about a bug in my program or not? (PS I've spent an hour checking the web for something that says "print preview is only an approximation and may never be an accurate representation of the printed output" - but haven't found any such statement.) Russell Robinson (russellr@rootsoftware.com) Author of TTMaker (Advanced Timetabling Software) http://www.rootsoftware.com

    C R 2 Replies Last reply
    0
    • R Russell Robinson

      A text report I print from my MFC program is different in Print Preview versus hard copy. In fact zooming in and out in Print Preview changes what's displayed. Example: one column in my report might be:

      My dog has fleas.
      

      But in Print Preview, this might show as:

      My dog has fl
      

      Given Microsoft Word also shows these sorts of anomalies in Print Preview, I've always assumed it's a difference between rendering on the screen versus rendering on the printer. So, a sanity check please: should I worry about a bug in my program or not? (PS I've spent an hour checking the web for something that says "print preview is only an approximation and may never be an accurate representation of the printed output" - but haven't found any such statement.) Russell Robinson (russellr@rootsoftware.com) Author of TTMaker (Advanced Timetabling Software) http://www.rootsoftware.com

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      print preview is only an approximation and may never be an accurate representation of the printed output. print preview does a whole lot of scaling to do what it does. sometimes it totally messes up font sizes (which may be why your text is being chopped - font didn't scale along with a clip box around it). the real test is the printer. if it works on the printer, i usually ignore whatever PP is doing. -c


      To explain Donald Knuth's relevance to computing is like explaining Paul's relevance to the Catholic Church. He isn't God, he isn't the Son of God, but he was sent by God to explain God to the masses.
         /. #3848917

      image effects!

      1 Reply Last reply
      0
      • R Russell Robinson

        A text report I print from my MFC program is different in Print Preview versus hard copy. In fact zooming in and out in Print Preview changes what's displayed. Example: one column in my report might be:

        My dog has fleas.
        

        But in Print Preview, this might show as:

        My dog has fl
        

        Given Microsoft Word also shows these sorts of anomalies in Print Preview, I've always assumed it's a difference between rendering on the screen versus rendering on the printer. So, a sanity check please: should I worry about a bug in my program or not? (PS I've spent an hour checking the web for something that says "print preview is only an approximation and may never be an accurate representation of the printed output" - but haven't found any such statement.) Russell Robinson (russellr@rootsoftware.com) Author of TTMaker (Advanced Timetabling Software) http://www.rootsoftware.com

        R Offline
        R Offline
        Roman Nurik
        wrote on last edited by
        #3

        if you have Acrobat Distiller or PDFWriter, print to that and see if the PDF that comes up has the same problem... if it does, go into Acrobat and explore through all the objects (text boxes, white filled rectangle boxes) that are there, see if something is getting printed over the text or if the textbox for the text is too small to fit the entire text (maybe miscalculated the width of the text)

        - Roman -

        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