Solved

create a custom paper size in vba

Posted on 2013-12-29
3
1,050 Views
Last Modified: 2014-02-25
I have an application that uses a 8.5 x 13.25 I would like to check to see if the custom paper size is already created if it's not create a custom  paper size and name it report1_custom_size.
thanks
0
Comment
Question by:Svgmassive
  • 2
3 Comments
 
LVL 20

Expert Comment

by:clarkscott
ID: 39746033
You may have trouble with this.  Reports are based on printer capabilities.  You cannot force a "normal page size" printer to print on paper larger than it can handle.

Therefore, I suggest you create the report - force it to a specific printer.

You can check to see if the specific printer is available per the PC, and you can check to see if the specific report exists, but you'll find much issues with trying to do this "on the fly".

At least per my knowledge.....

Scott C
0
 

Accepted Solution

by:
Svgmassive earned 0 total points
ID: 39746361
hi clarkscott thanks for your response.I can create a custom  page setup in the print properties,give the setup a name the when the user selects the report the custom paper size name is selected not a problem.The problem for distribution purposes i am trying to avoid the user from selecting the printer properties to create the custom paper size i would like to create the custom set up via vba.

Thanks
0
 

Author Closing Comment

by:Svgmassive
ID: 39885076
great
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
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…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

708 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

15 Experts available now in Live!

Get 1:1 Help Now