borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (How can print PDF file automatically?)Next Topic (telephone system) New Topic New Poll Post Reply
AndreaVB Forum : Printing : Printing 8.5" x 17" Form (Printer.Height & Printer.Width Don't Work)
Poster Message
Evil Incarnate
Level: Trainee

Registered: 09-06-2005
Posts: 3

icon Printing 8.5" x 17" Form (Printer.Height & Printer.Width Don't Work)

Hello all, this is the second time I have turned to this community for help on the same program...  I thank those of you who are kind enough to help others without seeking compensation.

I am creating a program that allows car salesmen to enter information about the purchaser, the vehicle, and financing.  The last thing I need to do before the program is completely finished is to make the printer print out a form that goes onto a 8.5" x 17" bank form.

As of now, I can use the Printer.PaperSize = vbPRPSLegal setting to get it to print onto a legal size document; however, that leaves 3" empty on the bottom of the document.

I have tried manually setting the Printer.Height and Printer.Width, yet, as Microsoft says in the MSDN, some printers do not recognize changes made using those.

The form is the correct size, and so is the picture box that is beign printed, and everything shows up on the screen properly, yet it will not print all the way through.

Now I realize that this is likely not something I can fix in the program, as I cannot use the Printer.PaperSize = vbPRPSTabloid, vbPRPS11x17, or any other setting that will make the papersize 17" long.

The printer is able to print 17" forms (according to the specs), but I cannot set it to do so even in the printers control panel.

I guess what it comes down to is: does anyone know how to override the printer and force it to print in a setting that it says it is not compatible with?  I know it can print that long of a form, but I cannot set it ANYWHERE to do so, both in and out of VB6.

Thank you so much in advance, and please ask me to try to better explain myself if need be.

-Ryan

[Edited by Evil Incarnate on 15-06-2005 at 05:05 PM GMT]

____________________________
"There you are not what you were born, but what you have it in yourself to be."

14-06-2005 at 03:15 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : Printing : Printing 8.5" x 17" Form (Printer.Height & Printer.Width Don't Work)
Previous Topic (How can print PDF file automatically?)Next Topic (telephone system) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder