zraptor
asked on
Printer Dialog problems!!!!
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=cdlpri nt.orienta tion
printer.copies=cdlprint.co pies
frmmain.printform
printer.enddoc
</---End Code--->
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
printer.orientation=cdlpri
printer.copies=cdlprint.co
frmmain.printform
printer.enddoc
</---End Code--->
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.