Solved

Print on Very Very big paper size

Posted on 2000-05-05
2
663 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now