Click to See Complete Forum and Search --> : Set Printable Margin


shelby
August 16th, 2001, 11:39 PM
is it possible to set the printable margin? SOmething like the Page Setup in microsoft word? So that when I print the "invoice", it would occupy almost the whole of A4 paper.

John G Duffy
August 17th, 2001, 10:04 AM
The printable margins of a page will have to be handled by your program and the hardware limitations of your printer.
Setting CurrentX = 0, then issuing a print command to your printer will cause the printer to print at the left most edge possible for the device. Setting CurentY = 0 will print at the topmost edge allowable by the hardware.

Printer.CurrentX = 0
Printer.CurrentY = 0
Printer.print "Hello There"



Will print in the upper leftmost position allowed by the printer hardware.

John G