Solved

create a custom paper size in vba

Posted on 2013-12-29
3
1,107 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

776 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