You dont need third party software to create a PDF file from something you want to print. This functionality is built into macOS. If you have a document, website or something similar you want a PDF file from just go to File->Print. (Or CMD+P).
In the print window that appears you should be able to save it as PDF. Having a printer installed is not necessary to get this working.
See screenshot below.
In other applications (like Numbers) you may have to go to File->Export to get a PDF file. This vill vary depending on application you use.