VB printer object paper size


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: VB printer object paper size

  1. #1
    Join Date
    Mar 2005
    Posts
    1

    VB printer object paper size

    Hi

    Im using Win XP and VB6 and a Dot-Matrix Printer

    When i try to set the paper height to 6" it is not set

    whenever i use printer.enddoc the printer ejects 11" not 6"

    any solutions?

    Thanks

  2. #2
    Join Date
    Nov 2003
    Location
    Alameda, CA
    Posts
    1,737
    I saw this problem. This is what MSDN says:

    Note The effect of the properties of the Printer object depends on the driver supplied by the printer manufacturer. Some property settings may have no effect, or several different property settings may all have the same effect. Settings outside the accepted range may or may not produce an error. For more information, see the manufacturer's documentation for the specific driver.

    Marco

  3. #3
    Join Date
    Apr 2004
    Location
    Lafayette, LA
    Posts
    200
    Look a Dan Appleman's Visual Basic Programmer's Guide to the Win32 API. It has a lot of information about handling printer's from VB.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center