Saving PDF to a different directory via Command Line

Is there a command line command that I can save the generated PDF to a new directory?