Chapter 13 - Customizing the deployment

This chapter explains how to customize the running behaviour on the client computers, in order to simplify installation and usage of the software.

Customizing the menu

The Printfil's menu appear by right clicking the trayed icon.

You may want to disable the top entries on it to avoid the end user clicking them by mistake.

  • You can disable the Language menu entry, so that the Printfil's interface will be avalable only in the currently selected language.
    To do so, enter the Printfil directory (usually c:\Program Files\Printfil) and delete all .MSG files.

  • It's also possible to disable the Configuration, Redo Last Print and Registration entries, so that the user cannot change the local configurations, nor reprint the last jobs without using the source application.
    To disable those menu entries you have to start Printfil with the NOMENU parameter, as described in the next section.

  • Alternatively, you can leave just the Configuration, and Close entries, by starting Printfil with the CONFMENU parameter, as described in the next section.

Printfil Command Line Parameters

This parameters can be used to change the running behaviour of Printfil.

If you start Printfil by a batch file of your own, simply add them after PRINTFIL.EXE, otherwise you'll have to manually change the shortcut used to start it. If you haven't unticked the options when installing Printfil, you've one on the desktop and one at Start -> Program Files -> Startup, that makes Printfil starting automatically at the PC boot-up.

You can use only one of the following parameters at a time.

  • NOMENU
    This parameter is used to disable the top menu entries: Configuration, Redo Last Print and Registration, as described in the previous section.

  • CONFMENU
    This parameter is used to disable all the menu entries, BUT Configuration and Close, as described in the previous section.


  • CLOSE
    By running "Printfil CLOSE" you can automatically close all the Printfil copies which are in execution on the machine.
    It's useful when Printfil is run by a batch file, to avoid having multiple copies running simultaneously.
    For example:

    C:\> EDIT START.BAT

    START.BAT

    @echo off
    c:
    cd \"Program Files"\Printfil
    start Printfil.exe
    cd \My_Dir
    My_App.Exe
    cd \"Program Files"\Printfil
    start Printfil.exe CLOSE


  • DOSBox [LPTx]
    By running "Printfil DOSBox LPT1:" you can automatically setup the DOSBox MegaBuild emulator (if installed on the machine) to capture the LPT1: port and send the DOS print jobs to Printfil.
    You can specify LPT1: , LPT2: or LPT3: - In any other case the port is assumed to be LPT1:

  • File_name.PRN
    You can print a PRN file to any printer installed in the WIndows Control Panel just by adding its name after "Printfil.exe". Please see the previous chapter for more info.

  • File_name.PFL [/SILENT]
    A PFL file (Printfil Licenses File) may contain one or more Printfil licenses. It can be provided you by your Printfil Resellers at purchase time. By specifying the PFL file name after "Printfil.exe", all the licenses contained in the PFL file will be automatically imported in Printfil, without having to manually insert the codes in the registration dialog.
    A popup message on screen will confirm the import.
    By adding the optional /SILENT parameter after the PFL file name, the popup messagge above is not shown.

Setup Command Line Parameters

Even the Setup program's behaviour can be affected by some parameters which may be used to simplify the installation for the end users.

The parameters below can be combined in a single line. For example: c:\> setup-pf.exe /SILENT /DIR="c:\printfil"

  • /LANG
    By adding this parameter, the setup program will use the specified language without asking the end user.
    Can have the following values: ae, br, ca, cz, dk, nl, en, fi, fr, ge, gr, he, hu, ic, it, ma, no, pl, pt, ro, ru, se, sl, sp, sw, tr and ur.
    Please see Translations in chapter 17.

  • /SILENT, /VERYSILENT
    Instructs Setup to be silent or very silent. When Setup is silent only the installation progress window is displayed.
    When a setup is very silent normally nothing is displayed, but eventually error messages, like "Disk Full" etc.

  • /NOCANCEL
    Prevents the user from cancelling during the installation process, by disabling the Cancel button and ignoring clicks on the close button.

  • /DIR="x:\dirname"
    Overrides the default directory name displayed on the Select Destination Location wizard page. A fully qualified pathname must be specified.

  • /GROUP="folder name"
    Overrides the default folder name displayed on the Select Start Menu Folder wizard page.

  • /TASKS="desktopicon , starticon , pflfileassoc , prnfileassoc"
    You can specify only those you WANT.
    desktopicon Will create the desktop icon
    starticon Will make Printfil starting automatically after the user logon
    pflfileassoc Associates the PFL file extension with Printfil ( so that a PrintFil License can be installed just by double clicking a PFL file )
    prnfileassoc Associates the PRN file extension with Printfil ( so that you can print a PRN file just by double clicking it )
    We suggest you leaving at least: /TASKS="pflfileassoc" (it may be useful to simplify licenses installation in future)

Running multiple Printfil copies on the same PC, with different configurations

If you haven't unticked the option at installation time, the Printfil's Setup program places a shortcut to Printfil.exe in the commonstartup Windows folder (Start -> All Programs -> Startup) so that Printfil is automatically executed each time an user login the machine.

This makes Printfil starting automatically on Client Windows OS's, at the PC bootup, while on Terminal Server environments a different Printfil instance is run for each remote user logging in the server; each one with the user's specific configuration, automatically managed by Printfil.

In some cases however, you may want to run multiple Printfil instances yourself, even on Client OS's. For example, if you want to capture multiple LPT ports simultaneously, or if you want to print the same job to different printers in once.

In order to run different Printfil instances on the same machine with different configurations (Printfil.ini), you'll have to replace the shortcut to Printfil.exe in the commonstartup folder with a batch file, like follows:

C:\> EDIT START.BAT

START.BAT

@echo off
c:
cd \folder1
start \"Program Files"\Printfil\Printfil.exe
cd \folder2
start \"Program Files"\Printfil\Printfil.exe

Either c:\folder1 or c:\folder2 must contain a different PRINTFIL.INI file, which will be used to store the specific Printfil instance's configuration. By entering (cd) the directory before starting Printfil, you'll instruct Printfil to use the specific configuration stored there.

   
   
   
   
  21 Nov 2013  
  New Printfil 5.17
What's new
 
Print from DOS to USB printer now! Download free PrintFil trial!
  FAQ  
  Click here to see the most Frequently Asked Questions  
  see alo ...  
  File In Mail: Automatically send out files via email