Results 1 to 3 of 3

Thread: Printing(Hard one)

  1. #1

    Thread Starter
    Addicted Member CoMMiE's Avatar
    Join Date
    Jul 2000
    Location
    Malaysia, Kuala Lumpur
    Posts
    179

    Question

    Hi all

    my current printing code is this

    Code:
    Printer.CurrentX = 11000 
    Printer.CurrentY = 2000 
    
    Printer.Print Text8.Text
    My question is how can i position my printing so that current X can go more then 11000? , i tried to set current x to 11500 but nothing is printed out

    Any help is greatly appreciated



  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    That is happening because at(11,000)you are at the right side of the page.
    It you set it to 100 you are at the left side of the page
    not the right.

    If you just need more room then set it to landscape.

    Code:
    'setting the printer object to landscape or portrait
    
    
    Private Sub Command1_Click()
    
    'These constants are listed in the Visual Basic
    '(VB)object library in theObject Browser.
    'must be set before any print statements
    
    
    'landscape
        Printer.Orientation = vbPRORLandscape
        
    'portrait
        'Printer.Orientation = vbPRORPortrait
        
     
        Printer.Print "Would you look at this!"
        Printer.EndDoc
    
    End Sub
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3

    Thread Starter
    Addicted Member CoMMiE's Avatar
    Join Date
    Jul 2000
    Location
    Malaysia, Kuala Lumpur
    Posts
    179

    Thumbs up

    Hi HeSaidJoe

    I tried the code and it really helps THANKS a lot

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