Results 1 to 3 of 3

Thread: define paper Size when do printing

  1. #1
    marnkei
    Guest

    define paper Size when do printing

    hai, i wish somebody can help in define the paper size while i'm doing the printing....

    i know that we can define the paper format or even customize our paper size at the printer properties but what i want is using coding to fix the paper size rather than let user to change the paper size or reselet the paper format...

    can anybody help me to solve this problem...
    thank ...i nee in ASAP.....

    sky

  2. #2
    Member
    Join Date
    May 2002
    Posts
    52

    Question

    r u using form or any thing else for printing ??
    NRAPENDRA SINGH
    *****************
    Knowledge is power ! Power does not come in an hour........

  3. #3
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    Not all printers/printer drivers support custom paper sizes, but those that do can be set thus:

    VB Code:
    1. Printer.PaperSize = vbPRPSUser
    2. Printer.Width = 1500
    3. Printer.Height = 1500

    HTH,
    Duncan
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

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