R
rocco
Hello,
I have builded an application with few forms thata cts like archives. Those forms are only to edit/delete record already saved. User can filter the recordset choosing values from comboboxes. I would give users the ability to print the form so I dont' have to build reports.
But i want to control right/left margin of paper sheets, like the orientation.
I have a command button on each form that call a routine where - before to call the "PrintOut" method - i have setted those values for a printer object:
printer.leftmargin=850
printer.rightmargin=850
I thought that now i had changed the margin of the printer papar sheet: Not at all. it still print with the default margins.
How to set margin trough code?
i'm using Access2000. What are the purpouse of the printer object and of the four properties that act on the margin's measure? Because, as i said they seem not acting on the margin's measure.
Thanks,
Rocco
I have builded an application with few forms thata cts like archives. Those forms are only to edit/delete record already saved. User can filter the recordset choosing values from comboboxes. I would give users the ability to print the form so I dont' have to build reports.
But i want to control right/left margin of paper sheets, like the orientation.
I have a command button on each form that call a routine where - before to call the "PrintOut" method - i have setted those values for a printer object:
printer.leftmargin=850
printer.rightmargin=850
I thought that now i had changed the margin of the printer papar sheet: Not at all. it still print with the default margins.
How to set margin trough code?
i'm using Access2000. What are the purpouse of the printer object and of the four properties that act on the margin's measure? Because, as i said they seem not acting on the margin's measure.
Thanks,
Rocco