Solved

Print on Very Very big paper size

Posted on 2000-05-05
2
667 Views
Last Modified: 2008-03-10
The paper sizes are for huge plotter and goes way beyond the papersize property in VB. The plotter driver has all the sizes but the papersize property has only the "user defined size" I can use.

 My question  is there are 2 big paper sizes I have to choose from the printer object and the only constant I can use from papersize property is "user defined" size. How can I distinguish the big paper sizes from the small ones that can be found in the vb constants?
0
Comment
Question by:ppmb
2 Comments
 
LVL 1

Accepted Solution

by:
RobMWilliams earned 50 total points
ID: 2784144
I never worked with a plotter before so I may be well off base, but I do know that the enumerated constants provided by VB for paper size are just a handy dandy way for a programmer to set the Printer.Height and Printer.Width properties to the paper size of the printer output.  But you don’t have to use the constants, or the papersize property at all if you set the Printer.Height and Printer.Width properties directly.  

The UserDefined constant just tells VB to shut up and let you define the paper size yourself.  The PaperSize property is set to vbPRPSUser automatically when you do that.

Rob
0
 

Author Comment

by:ppmb
ID: 2790981
I see what you mean and I have already tried your suggestion. It just cleared my clog. Works fine now for every papersize I routed to to "user defined" size. Havent had the chance to test on the plotter yet, but works fine for some larger sizes paper.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

774 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question