By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,614 Members | 2,491 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,614 IT Pros & Developers. It's quick & easy.

Escape code to delay Printing?

P: 23
Hi everybody,
I didn't have much luck with my previous question, so I'm looking for a different angle.
My problem is I'm sending text and Pictures to the printer from different forms and getting them to print when I've finished with the "EndDoc" statement delivered by a command button.
As the text is only about 6 lines in each case, I can get about 7 of these paragraphs on 1 A4 sheet of paper, which is Great!...just what I wanted...exept
the pictures (which are thumbnail size) all print on top of each other in one place; I've tried "CurrentY" and Y=Y + 2000 for every time I send it to the printer (without the 'EndDoc') and that works to a degree, but I can't get the pictures to line up with the relevant text.
I figure that the pictures are being sent to the print spooler with the same coordinates.
If I can find an "Escape code" that will stop the Printer from spitting out the sheet of paper after just one "EndDoc", that will probably solve my problem,
as the spooler will recognise the "EndDoc" as the end of the print job, and then the next paragraph and picture will apear further down the page, because the spooler will think it's the start of a new page. (am I making any sense?!)

regards Tom
Mar 30 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.