width of a4 paper code example Example: Paper size a4 2480 x 3508 pixels at 300 PPI 595 x 842 pixels at 72 PPI