Solved

Printer Dialog problems!!!!

Posted on 2006-07-15
1
182 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
[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
1 Comment
 
LVL 9

Accepted Solution

by:
justchat_1 earned 125 total points
ID: 17117796
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…

705 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