Re: Printing problems
- From: Chris <no@xxxxxxxx>
- Date: Mon, 28 Nov 2005 11:27:08 -0500
Teemu wrote:
I have an application created with VB6 and now I'm converting it to VB 2005. Conversion is not so simple because printing is so much different.
In my app I have Timer-component, which is creates graphics to printer every second. After 2 minutes it calls Printer.Enddoc and the result is printed out. Printing process is on background and I can use my program normally during this 2 minutes.
Now in VB 2005 if I'm right, whole printing process starts when I call Printdocument1.Print. Is there some way to send graphics to printer before that command and then simulate Enddoc-command with this PrintDocument1.Print command?
Oh, and creating a bitmap or textfile during these 2 minutes is not suitable, because text should be printed as text and lines as lines, not as bitmap.
Hopefully somebody understood what I'm trying to explain. Maybe there is a solution, but I haven't figured it out yet.
-Teemu
Would launching the printing in a new thread solve you problem? This would allow your program to function normally while the printing happens in the background.
Chris .
- Follow-Ups:
- Re: Printing problems
- From: Teemu
- Re: Printing problems
- References:
- Printing problems
- From: Teemu
- Printing problems
- Prev by Date: Re: VB.NET Win98 and UNICODE
- Next by Date: Re: Detect Uninitialized / Empty Array using .Net framework?
- Previous by thread: Printing problems
- Next by thread: Re: Printing problems
- Index(es):
Relevant Pages
|