MichaelVB
asked on
Printing an image and text
Hello,
I am printing an image in the upper left hand corner of a page. I am using Printer.PaintPicture to accomplish this. The image is about 1"X 1". My problem is that I also need to print text to the right of the image on the uppermost part of the page.
With Printer.PaintPicture the printer moves down about 1". How would I, or can I, go about printing back up the page?
Thanks.
Mike
I am printing an image in the upper left hand corner of a page. I am using Printer.PaintPicture to accomplish this. The image is about 1"X 1". My problem is that I also need to print text to the right of the image on the uppermost part of the page.
With Printer.PaintPicture the printer moves down about 1". How would I, or can I, go about printing back up the page?
Thanks.
Mike
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You might be able to leave the Printer.CurrentX alone, as I think that it might have moved to the right of the image after printing. But then, as rspahitz suggests, set the CurrentY back to zero will take you back to the top of the page.
ASKER
Thanks for the input guys. I actually need to print this image in each corner of the page. I am printing a type of certificate with some artwork/designs for asthetics in each corner. As of yet, I have not had time to give these suggestions a try. Given this extra information, do they still apply.
Thanks again,
Mike
Thanks again,
Mike
Well, if you're printing to the printer object, you will likely be controling when you move to a new page. So, at the start of each new page, you just print your image and text, then position the CurrentX and CurrentY down the page to continue with your printing.
I was going to say that you can dictate the x,y coordinates to print, but then I looked again at the question...
You should not try to print a picture and then try to back up for printing... You must get both picture and text all togather before you send it to the printer.
leo