Results 1 to 4 of 4

Thread: Printing - Custom Paper Size ( Urgent )

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2005
    Location
    Jalgaon, Maharashtra, India
    Posts
    22

    Printing - Custom Paper Size ( Urgent )

    I am developing a program in which i need to print some text at a specific location on a pre printed stationary of size 10" X 6" (Width = 10" and Height = 6" ) How ever every time I print it takes 10" as Height in Windows Xp

    Pl. Answer me as early as possible

  2. #2
    Member
    Join Date
    Dec 2004
    Posts
    49

    Re: Printing - Custom Paper Size ( Urgent )

    Something like this should do the trick :

    VB Code:
    1. Printer.ScaleMode=vbInches
    2. Printer.Height=6
    3. Printer.Widht=10

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2005
    Location
    Jalgaon, Maharashtra, India
    Posts
    22

    Re: Printing - Custom Paper Size ( Urgent )

    Quote Originally Posted by Ganzediep
    Something like this should do the trick :

    VB Code:
    1. Printer.ScaleMode=vbInches
    2. Printer.Height=6
    3. Printer.Widht=10

    I have tried This but it is not working specially in Xp where printer driver not supported for Custome Paper Size

  4. #4
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: Printing - Custom Paper Size ( Urgent )

    Precisely. Not all printer drivers support custom paper sizes so if you try and set the paper size to a custom size on one you get a run time error.

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