Printfil Manual - Customizing the deployment


Google translation:

 Since 1996, the Windows printing solution for legacy applications !
 

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 job 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.

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. The default one is placed in Start->Program Files->AutoStart, so that Printfil starts 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.

  • 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


  • File_name.PFL
    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.

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 the previous chapter.

  • /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.

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

The Printfil's Setup program places a shortcut to Printfil.exe in the commonstartup Windows folder (Start -> All Programs -> AutoStart) 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.

   
   
language
EnglishItalianoSpanish
GermanFrenchDutch
CzechRussianBrazilian
PortugueseGreekPolish
SlovenianMacedonianHebrew
CatalanSwedishSerbian
IcelandicRomanianDanish
HungarianNorwegianFinnish
ArabicTurkishUrdu
 
see also...
File In Mail: Automatically send out files via e-mail  
 
 

Copyright © 1996-2008 aSwIt s.r.l. , Italy, VAT ID: IT01305590299 | Printing, Mail, utilities for MS-DOS, Linux and legacy programs