Default Printer Settings

 

PxPlus provides the ability to specify a default printer font to be used with all graphical printer devices when first opened. Note: standard ProvideX uses the manufacturers default font for standard windows printers, and fixed Courier 12 point (6 LPI) for PDF and VIEWER.

In order to ensure consistency, PxPlus allows you specify a default starting font in the Config section of your INI file. For Example:

[Config]
PrinterFont=CourierNew,-10

The system will automatically issue a 'FONT' mnemonic with the values specified as soon as a WINPRT, PDF, VIEWER, or BITMAP file is opened immediately followed by a 'DF' to establish your font as the default text and graphic font.

Adding this to your PxPlus INI file ensures consistent output regardless of the graphic print device selected.

Setting LPI/CPI:

In addition to setting the default printer font, you can also set the default LPI and CPI settings within the INI file by including PrinterLPI and PrinterCPI parameters as in:

[Config]
PrinterFont=CourierNew,-10
PrinterCPI=10
PrinterLPI=6

INI File support on Unix/Linux:

When running on a Unix/Linux the system will now automatically look for a INI file in your current directory or, if not found there, in the directory where you installed the PVX Plus Development suite. If desired you can specify a INI file as the first parameter on the command line however the file name MUST end with ".ini".

PXPLUS uses this INI file to obtain the get the default Printer Font and CPI/LPI information.