|
-
Feb 17th, 2011, 01:06 AM
#1
Thread Starter
Lively Member
Print photos and text very slow spooling
Hi guys,
I'm making a program that will print jpeg's.
The way i have it is I have lots of forms with buttons and when you click a button it prints the photo and a databound label with a line of text.
The problem is that i want the user to be able to click one and then click another button right after, to print another one, but as soon as i click one, the program freezes until the photo starts printing so the user cant click to print another one right away.
Each picture is around 4 mb.
Is there away to make it go faster?
Thanks!
P.S. The pictures i'm printing are from a pdf file with text and images in it that were converted to jpg. Each page is another jpg. Is it possible to print directly from the pdf and would it be faster since the words are 'text' and not a 'photo'?
Any Help Is greatly appreciated!
-
Feb 17th, 2011, 03:44 AM
#2
Hyperactive Member
Re: Print photos and text very slow spooling
Stupid suggestion. I'd load all the images etc. into memory first, then print them
-
Feb 17th, 2011, 09:03 AM
#3
Thread Starter
Lively Member
Re: Print photos and text very slow spooling
Thanks for the suggestion, but that would'nt do me any good as i have around 300 photos.
Any other help?
-
Feb 17th, 2011, 12:19 PM
#4
Re: Print photos and text very slow spooling
Use a BackgroundWorker to run the print process asynchronously..
-
Feb 17th, 2011, 01:50 PM
#5
Thread Starter
Lively Member
Re: Print photos and text very slow spooling
How do i do that?
Can you please give me an example in code?
Thanks!
-
Feb 17th, 2011, 06:59 PM
#6
Re: Print photos and text very slow spooling
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|