Imagine that you are faced with the following task. You have printed out around 700 pages but have forgotten to number the pages! How can you print page numbers for the pages you have already printed? I recently faced this task.
Solution:
1. Create a word document with blank pages (700 in number)
For this, I created a VB macro with the following code:
Sub InsertPage() For i = 1 To 783 Selection.InsertNewPage Next i End Sub
Next, I created a PDF file by printing to a PDF printer (I used PDF Factory).
To actually insert the page numbers in this document, I used a nifty tool called A-PDF Number Pro. You can download it here.
Open A-PDF Number Pro, and type the following for Format:
Page {p:0}
Choose the desired font size.
Now click on “Numbering and save as”. choose a file name.
You have created a new file with page numbers. Just print it out, and you have what you wanted.
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
He is a full stack developer, whose favorite languages are currently Python and Vue.js. He is also fluent in Javascript, Flutter/Dart, Perl, PHP, SQL, C and bash shell scripting. He loves Linux, and can often be found tinkering with linux kernel code, and source code for GNU applications. He used to be an active developer on XDA forums, and his tinkered ROMS used to be very popular in the early 2000s.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.