Results 1 to 3 of 3

Thread: CurrentX with Printer Object [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Fanatic Member mateo107's Avatar
    Join Date
    Jan 2005
    Posts
    547

    Resolved CurrentX with Printer Object [RESOLVED]

    Hello All!

    I've decided that I'm VB-enough to try a stab at using the Printer Object. I'm learning all the ins and outs, and trying out lots of test code.

    In my example, I have set the page Height and Width, and am able to get the proper justification.

    Similarly, I've found that if I use repeating lines of
    VB Code:
    1. Printer.Print "This is one line of text..."
    2. Printer.Print "This is another line of text..."
    3. Printer.Print "This is still yet ANOTHER line of text..."
    4. Printer.Print "ANOTHER VARIANT MAY BE ALL CAPS!"
    5. Printer.Print "ANoTHEr MaY hAVe A MIxtuRe of CApS and NoN-CaPs!?"
    And the next line happens to be over the page border I've set, it will automatically put in a NewPage.... I wonder if that's good or not.

    Anyway, my real question is. I want to set a border up, of say, .5 inches (720 twips) on the left and right margins. Do I have to put:
    VB Code:
    1. Printer.CurrentX = 720
    before each line, or is there a simplier way? It gets VERY redundant!


    RESOLVED: ScaleMode did it!
    Any ideas would be helpful! Thanks!
    Last edited by mateo107; Jun 4th, 2005 at 02:09 PM. Reason: RESOLVED


    -Matthew-

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