PDF Page Number

Hi,
i want to ask
how can i add Paeg number to pdf file ?

Answer is here : Invoice / Quote Page numbers