Solved

Print on Very Very big paper size

Posted on 2000-05-05
2
670 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
[X]
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
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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
Add a task in Outlook from access 11 43
Passing a Text Box name to a Sub 6 104
Automatic Email Reminder 4 94
MS SQL Update query with connected table data 3 81
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 need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

710 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