Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Print on Very Very big paper size

Posted on 2000-05-05
2
Medium Priority
?
676 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 150 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

971 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