Solved

Printer Dialog problems!!!!

Posted on 2006-07-15
1
180 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

740 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