Printing at bottom of page

  • Thread starter Thread starter Tom McL.
  • Start date Start date
T

Tom McL.

I have a program that produces a calendar which

I would like to print at the bottom of a page so I can

place a picture at the top.



I use the following code to print the calendar:



CaptureScreen()

printDocument1.Print()



It works well, but prints the Calendar at

the top of the page. How can I move the

calendar to the bottom of the page?



Thanks



TM
 
Tom said:
I have a program that produces a calendar which
I would like to print at the bottom of a page so I can
place a picture at the top.
.... How can I move the
calendar to the bottom of the page?

Rotate it 180 degrees before printing.

Andrew
 
Andrew,



That sounds like a great solution and I have spent

the last day looking for a way to rotate a form and

have not found an example that can get me started.

The ROTATE Method leaves me out in the cold.



Any further help to get me started would be

Greatly appreciated.



Tom
 
Tom said:
That sounds like a great solution and I have spent
the last day looking for a way to rotate a form and
have not found an example that can get me started.
The ROTATE Method leaves me out in the cold.

Hopefully someone who /knows/ how to do this will chime in, but is the
CaptureScreen() procedure in your OP the same CaptureScreen() in the help
Q161299 [1]?

If so, then it looks to me like the easiest way is, rather than rotating the
image, just tell it the printer's top margin is half way down the page (or
whatever fits).

However, what sort of quality is the output at the moment? If it looks
pixellated then it might be better to produce the image in a Graphics object
using the methods in System.Drawing. Tedious maybe, but you'll get the best
possible output.

[1]
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/enu_kbvbwin/en-us/vbwin/Q161299.htm

Andrew
 
Back
Top