Solved

Printer Dialog problems!!!!

Posted on 2006-07-15
1
176 Views
Last Modified: 2010-04-30
Hello Experts!

I am having some trouble implementing the printer dialog box into a program of mine.  My program needs to print information onto an unusual paper size and some of the users that have tested the program have complained about their printer not printing on the page correctly.  I tried to use the printer dialog box to allow users to choose their settings but for some reason when the user clicks "OK" the printer prints on its own settings regardless of the settings the user selected.  Here is some example code....  Am I doing something wrong??
<---Begin Code--->
cdlprint.showprinter
printer.papersize=cdlprint.papersize
printer.orientation=cdlprint.orientation
printer.copies=cdlprint.copies
frmmain.printform
printer.enddoc
</---End Code--->


0
Comment
Question by:zraptor
1 Comment
 
LVL 9

Accepted Solution

by:
justchat_1 earned 125 total points
Comment Utility
0

Featured Post

Highfive Gives IT Their Time Back

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
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…

763 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

9 Experts available now in Live!

Get 1:1 Help Now