Results 1 to 2 of 2

Thread: Printer setup in code

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 1999
    Location
    Brisbane, Qld, Australia
    Posts
    78
    Hi,

    I'm trying to set the printer orientation to landscape. i am not sure whetheri have the correct code for it. I have:

    Printer.orientation = 2

    Please tell me whether 2 is Landscape.

    Thanks in advance
    Mike

  2. #2
    Lively Member Ishamel's Avatar
    Join Date
    Nov 1999
    Location
    Edinburgh, Scotland
    Posts
    112
    Mike,

    Your code should work.

    Printer.Orientation = 2 'Sets the printer to landscape
    Printer.Orientation = 1 'Sets the printer to portrait

    You'll get more info if you check out the Printer Object Constants in the VB Help Files.

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