Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Print on Very Very big paper size

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MsgBox 2 59
Microsoft Access combo box help 2 49
VBA Shell can't Find Word document 11 112
Using an encrypted  value to decrypt and display contents in vb6 9 55
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

856 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