[NOTEPAD] Calculate the border around the printing area based on the margins the...