Results 1 to 7 of 7

Thread: [RESOLVED] Set Print Margins

Threaded View

  1. #1

    Thread Starter
    Fanatic Member Vectris's Avatar
    Join Date
    Dec 2008
    Location
    USA
    Posts
    941

    Resolved [RESOLVED] Set Print Margins

    As part of this project I'm doing for VB class I'm required to print out an image of the form. The catch is that we haven't even learned printing yet, so the teacher said to just try and find it on your own. I think there's a section on it in the book but it's only about printing text files and not the form.

    Anyways, the form is exactly 1024 x 780 so I have it set to landscape to fit better, but it still hangs off by an inch or so on the top and left margins.

    Here where I got the code from
    http://www.knowdotnet.com/articles/printform.html

    I tried going under .DefaultPrintSettings and using Offset and Margins but changing them did nothing.

    I should also add that I know my printer can't print on every part of a page and that some of the image will be cut off, but I have been able to print within 1/2 inch of the edge of the paper before and when I print the form image it cuts it of at like 1 1/2 inches.
    Last edited by Vectris; Apr 20th, 2009 at 07:21 PM.
    If your problem is solved, click the Thread Tools button at the top and mark your topic as Resolved!

    If someone helped you out, click the button on their post and leave them a comment to let them know they did a good job

    __________________
    My Vb.Net CodeBank Submissions:
    Microsoft Calculator Clone
    Custom TextBox Restrictions
    Get the Text inbetween HTML Tags (or two words)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width