|
Standard Settings
Printfil configuration
Printfil configuration is stored in the PRINTFIL.INI file.
It is usually managed by the Printfil configuration dialog (right clicking the trayed icon), but, if you want, you can also edit it with a simple text editor. Please note that in the second case Printfil has to be restarted to activate the changes.
At Printfil startup, the PRINTFIL.INI file will be searched in the current path. If not found, it will be searched in the Windows installation directory (usually C:\WINDOWS or C:\WINNT).
Optionally, a second ASCII file (FILENAME.CFG) can be created to store specific information, which can differ from print job to print job.
This file is optional, but it's very useful to have a deeper control over certain jobs. For example, you can use it to send a job to a specific printer instead of sending it to the default selected one, or you can set specific margins for a particular print job. If you want to use it, it has to be created manually (usually by the same application that creates the file to print).
PRINTFIL.INI
All the configuration setting are included in the [Config] section. For example:
C:\WINDOWS\PRINTFIL.INI
[Config]
FileName=F:\Spool\FileName.txt
Font=Courier New
Here is the meaning of its entries:
FileName
This is the name of the ASCII file(s) to print.
It can contain wildcards (? , *) to check for multiple files simultaneously, and an optional path (i.e. F:\SPOOL\FILE*.TXT).
It can contain environment variables also, to check for multiple files and/or directories simultaneously. (for example, [e:HOMEPATH]\filename.txt , which is the default value when Printfil in installed on Windows Terminal Server, makes Printfil checking, for example, c:\document and settings\Administrator\filename.txt or c:\document and settings\user\filename.txt , depending by which user is currently running Printfil)
Environment variables must be included in brackets and start with e:. For example: c:\dir\[e:ENV_VAR]\file.ext
Filename cannot have the extension .CFG .
Therefore, if you want to use the optional cfg file (please see below in this chapter), wildcard "*" cannot be used in the file extension (file*.txt is acceptable, but file.* is not because in the second case Printfil would try to print the optional file.cfg also, while it's used for the configuration)
Your software should redirect the print output to this file. If it cannot , you can capture the parallel port's output, as described on Chapter 7: "Capturing the parallel port's output". In this case the file name must be set to match the "Printfil" virtual printer's port. Please see Chapter 8: "The Printfil virtual printer"
Capture ( LPT1: , LPT2: .. LPT9:)
If you want to automatically capture the output sent to a parallel port, you can insert the port name here.
This feature requires the configuration of the "Printfil" virtual printer into the Windows Control Panel, as described on Chapter 7: "Capturing the parallel port's output"
CapMode ( 0 , 1 , 2 , 3 )
If Printfil is running on a 32 bit Windows system (NT, 2000, XP, 2003, Vista), you can capture the output sent to a parallel port in 4 different modes. For more information please see chapter 7: "Capturing the parallel port's output"
On Windows 9x/ME only the 1 value is allowed.
Printer
This is the name (not the port) of the Windows printer to use without user intervention if Choose=.F. (see below)
Choose ( .T. = true , .F. = false )
If set to true, when PRINTFIL detects a file to print, it ask the user for the desired printer.
The user can also modify the standard printer properties (copies, form size etc.).
RAW ( .T. = true , .F. = false = GDI)
This option enables RAW printing vs. GDI mode.
When printing in RAW mode, the source print job will be sent to the choosen printer AS IS, without going through the Windows printer driver and without making any change to the embedded escape sequences. This allow very fast printing to dot-matrix printers (like in the DOS days, even if the printer is USB), printing jobs containing graphical printer commands (graphs, drawings etc.) and sending particular escape sequences to special printers (cut labels, open cash drawers etc.)
«
|