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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Convert printed page to printer layout?

Convert printed page to printer layout?

Scheduled Pinned Locked Moved Visual Basic
helpcsharptestingbeta-testing
1 Posts 1 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.
  • H Offline
    H Offline
    HamCoder
    wrote on last edited by
    #1

    Back in the good ol' days (dark ages) when real programmers used punched cards, all printout was mono-spaced. We didn't use proportional fonts; we didn't even HAVE proportional fonts. It was easy to make a report mock-up, convert it to fixed positions on the page, and convert that to code (COBOL, Fortran, ASM, whatever). Now, I'm trying to put together a report with vanilla VB.Net code, not Crystal Reports or anything like that. Now, everything is trial-and-error. I add a couple of items to the page, and run a test. Then I add a couple more and repeat the cycle. I'm thinking that there has to be an easier way. I've found lots of code that writes to the printer. But I've not found any references that explain how to shorten the trial-and-error cycle. I am using PrintPreview, so I'm not taking the time and trees to actually print the report. But the testing cycles are still too time-consuming. When the boss brings you a sheet of paper with a report scribbled on it, how do you make a pretty report with a minimum of fuss. Thanks for the help. This is definitely in the category of teaching an old dog a new trick. HamCoder

    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