Chapter 8 - The Printfil and PrintWin virtual printers

Printfil can create 2 virtual printers in the Windows Control Panel for 2 different purposes:

  1. Printfil: Export your print jobs as PDF files (and capture data sent to a parallel port by a DOS program in Windows 9x/ME)
  2. PrintWin: Tries to capture the TEXT of Windows print jobs

The Printfil virtual printer

The "Printfil" virtual printer is useful to:

  1. Export your print jobs in PDF format via GhostScript
  2. Only on Windows 9x/ME: Capture data sent to a parallel port by a DOS or Windows application in Mode 1, 2 or 3

You do not need to create it unless you want to do one of the above things.

We usually refers to it as the "Printfil" virtual printer because Printfil is the default printer's name, but you can also use a different name, by the PFPrinter option in the Printfil.ini file (Please see Chapter 4)

You can create the virtual printer simply by clicking the Help -> Create Virtual Printer: Printfil menu entry. Once the virtual printer has been created, the menu entry will disappear.

The first time you choose to capture an LPT port in Mode 1,2 or 3 by the Printfil's configuration dialog, if the virtual printer has not been created before, the creation procedure will start automatically.

The creation procedure will ask you to specify a temporary file name used internally by the virtual printer. Normally you just need to confirm the default file name, but if you want to change it, please choose a path where the Windows user who's running Printfil has full read and write permissions.

On Windows Terminal Server the temporary file must be located on the virtual disk which contains the user's specific data (usually named W:). If this disk is not already configured on your server, Printfil will advise you and will ask you if you want to run the automatic Windows configuration procedure. We suggest you do that from the server console rather than a remote client.

On some systems, the printer driver used by Printfil may not be preinstalled in Windows. In this case, you'll be requested to specify a driver. Please select the "Ricoh" or "HP" manufacturer in the left frame, then any color printer driver whose name ends with "PS" in the right frame. For example Ricoh Aficio ColorXXXX PS or HP Color LaserJet XXXX PS.

During the creation of the virtual printer one or two additional "authorizations" may be asked by Windows itself to run the function "as Administrator". In this case please confirm the task, otherwise, the virtual printer will not be created.

At this point Printfil checks if GhostScript is already installed in your system, and eventually, it guides you through the download and installation.

Unless you are running Windows 9x/ME, there's nothing else to do.

A common mistake is to change the printer's name or port by the Windows Control Panel (configuring it on LPT1: or USB001:). Don't change the automatic settings. The LPT port to be eventually captured must be specified in the Printfil's configuration dialog, not in the virtual printer.

Only if you ARE running Windows 9x/ME, once the virtual printer has been created, you must also:

  1. Open the Windows Control Panel (Start -> Control Panel) or (Start -> Settings -> Control Panel)
  2. Click on the Printers folder
  3. Right-click the Printfil virtual printer and choose Properties
  4. Go to the Details tab
  5. click Add Port
  6. Select Other -> Local Port and click Ok
  7. Insert the Port name as c:\temp\printfil.txt and click Ok
    (make sure the temp folder exists on the C drive, or create it)
  8. Click New Driver
  9. Select the HP Color Laserjet 5/5M PS model and click Ok
    (If the driver is not already installed on your system, you'll be required to insert the Windows cd-rom)
  10. Apply your changes.

If you only need to export your jobs in PDF format, there's nothing else to do. If instead you want even to capture the LPT output:

  1. Open the Windows Control Panel (Start -> Control Panel) or (Start -> Settings -> Control Panel)
  2. Click on the Printers folder
  3. Right-click the Printfil virtual printer and choose Sharing
    If this entry is not present, please check the previous chapter.
  4. Enable the sharing option and insert as Share Name: Printfil
  5. Apply your changes
  6. Open the Printfil's configuration dialog
  7. In the "File to check" field insert: c:\temp\printfil.txt (as specified in the previous step #7)
  8. Apply your changes

The PrintWin virtual printer

The "PrintWin" virtual printer is used to extract TEXT from Windows print jobs.

This is useful to make Printfil capture data from Windows legacy programs that need a Windows printer driver installed in the Control Panel but cannot drive the newest printers (some Terminal Emulator programs for example) or to extract the text from Windows print jobs (statements, invoices, etc.).

The percentage of text successfully extracted depends on the Windows application creating the print.
For example, Terminal Emulator programs (programs to run remote Unix, Linux, AS-400 programs on Windows workstations) most probably will work at 100%, while graphical programs (where even the writings are created like a drawing) most probably will result in 0% text captured.

You can create the virtual printer simply by clicking the Help -> Create Virtual Printer: PrintWin menu entry. Once the virtual printer has been created, the menu entry will disappear.

During the creation of the virtual printer one or two additional "authorizations" may be asked by Windows itself to run the function "as Administrator". In this case please confirm the task, otherwise, the virtual printer will not be created.

At this point, just make your Windows program printing to the PrintWin printer, and Printfil will capture the text contained in the print job.



Download PrintFil
   
   
Print from DOS to USB printer now! Download free PrintFil trial!

Facebook ★★★★☆ (4.9/5) on 41 reviews

Facebook Youtube Instagram