Using Windows environment variables with novaPDF

This tutorial shows how to manage, create and use the windows environment variables with your novaPDF printer driver. With novaPDF you can create PDF files from any windows application that can support printing. If you don’t have novaPDF installed, use the Download page to download and install it.

On this page: How to use Windows environment variables in the novaPDF predefined Save folder How to create custom Windows environment variables and use them in the novaPDF predefined Save folder

Environment variables are strings containing information about a drive, path, file name or file extension and can also control the way certain programs behave. The PATH environment variable is basically the absolute path or address (e.g. C:\Program Files\Softland\novaPDF v7\) of a folder or file, that lets the application know how and where to find that path. novaPDF supports the PATH environment variables to be added on its Save folder so you do not have to add the whole path over again, or you want it to be automatically adjusted when something changes in your installation.

How to use Windows environment variables in the novaPDF predefined Save folder path

With novaPDF you can use Windows predefined environment variables that are active when logged into your Windows OS. These are some predefined Windows environment variables supported by novaPDF:

  1. %ALLUSERSPROFILE% - This is the path to the All Users folder. Example: C:\Documents and Settings\All Users for Windows XP
  2. %APPDATA% - This is the path to the user application data folder. Example: C:\Documents and Settings\Softland\Application Data is the application data folder for the Softland user
  3. %HOMEDRIVE% - This is the default drive used by the Windows installation. Example: C:\
  4. %HOMEPATH% - This is the default path for the currently logged-in user. Example: C:\Documents and Settings\User for Windows XP
  5. %PROGRAMFILES% - As the name suggests, this is the default Program Files path. Example C:\Program Files for Windows Vista
  6. %SYSTEMDRIVE% - This is the default drive containing the Windows root directory, usually it is C:\
  7. %SYSTEMROOT% - This is the Windows installation and configuration root directory, usually C:\Windows or C:\WINNT
  8. %TEMP% and %TMP% - This is the temporary files directory. Example C:\Users\Admin\AppData\Local\Temp for Windows Vista
  9. %USERPROFILE% - This variable does the same as the %HOMEPATH% variable
  10. %WINDIR% - This is the default Windows directory path. Example C:\Windows for Windows Vista

In order to use environment variables when defining a save path in novaPDF, you need to follow these steps:

  1. Access the novaPDF Printing Preferences window by clicking on the Windows Start button->Control Panel->Printers->Right Click on the novaPDF icon->Printing Preferences
  2. In the Printing Preferences window select the Save tab
  3. In the Save options section select Use predefined settings and click on the Configure Save Options button
  4. In the Folder name field type or copy and paste the predefined environment variable (%WINDIR% as example) and click OK
  5. The next file you convert to PDF will be saved in the directory defined by the environment variable
  • predefined variables

How to create custom Windows environment variables and use them in the novaPDF Save folder

Apart from the predefined environment variables you can also create your own environment variables and use them with your novaPDF printer driver. To create a custom environment variable you have to do the following:

  1. Click on Windows Start -> Control Panel and double click on the System icon
  2. In the System window select the Advanced tab and click on the Environment Variables button
  3. In the User variables section click on the New button, type in the desired environment variable name and the path you want the variable to point to (D:\Docs\ for example)
  4. Click OK until you exit the System window. The environment variable will become active along with the other variables
  5. To setup the environment variable you have just created to be used with novaPDF, follow the same steps described above in the predefined environment variables section

Note: Custom created environment variables can only be used on the local computer.

  • custom variables

This tutorial shows you how to use predefined Windows environment variables and custom created environment variables with your novaPDF printer driver. If you have any suggestions on how to improve this article add a comment or rate it.

Applies to:

  • NovaPDF 1.X - 7.X
  • Microsoft Windows 2000, XP, 2003, Vista, 7

Comments


NEW: novaPDF 8.8.945