Solved

Printer Dialog problems!!!!

Posted on 2006-07-15
1
177 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
ID: 17117796
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Window placement 17 75
VBA to copy paste columns form one file to other 20 86
Add and format columns in vb6 7 47
Help me. 3 48
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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

895 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

18 Experts available now in Live!

Get 1:1 Help Now