Pdf is the abbreviation of portable document format that is created by adobe and maintained by ISO. These files can’t be modified and used to print the document. Sample pdf files are used to test the code and are available in different sizes like 100 KB, 500 KB, 1 MB, and 10 MB.