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 (Numbering data items)Next Topic (Printer problem when using custom forms) New Topic New Poll Post Reply
AndreaVB Forum : Printing : Stop the Printer in Last Line
Poster Message
SafeHands
Level: Protégé

Registered: 19-06-2004
Posts: 5

icon Stop the Printer in Last Line

How do stop Printing when Last Line Printed

24-07-2004 at 06:53 PM
View Profile Send Email to User Show All Posts | Quote Reply
Shady
Level: VB Guru


Registered: 08-07-2002
Posts: 305
icon Re: Stop the Printer in Last Line

Its a short and sweet question, I think the answer you may be looking for is:-

Printer.Enddoc

That will tell VB to finish the printing and actually print out your document.

Shady

____________________________
I don't wanna die... but I ain't keen on livin' either

26-07-2004 at 08:15 AM
View Profile Send Email to User Show All Posts | Quote Reply
SafeHands
Level: Protégé

Registered: 19-06-2004
Posts: 5
icon Re: Stop the Printer in Last Line

Thanks For Your Suggestion

   But I need to Stop a Printer at LastLine when LastLine Printed.

           Printer Stop Only at what PageHeight is Set

01-08-2004 at 06:57 PM
View Profile Send Email to User Show All Posts | Quote Reply
Hazem
Level: Trainee

Registered: 09-08-2005
Posts: 2
icon Re: Stop the Printer in Last Line

in the case of win9x\me u can change the printer.height or p....width dynamically, but with win nt\xp\2000 win api comes to play. u  need to create custom forms. u can search for the topic in the microsoft knowledge base at the microsoft website.
i had the same problem months back and it is solved now. for any clarifications mailto: hb002_hazem@yahoo.com or find me at yahoo chat all friday nights. hope this might solve ur problem.


____________________________
Jai Hind

02-09-2005 at 07:24 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Printing : Stop the Printer in Last Line
Previous Topic (Numbering data items)Next Topic (Printer problem when using custom forms) 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