4 SETUP (CLIENT)



5.0 PRINT.INI

You can control where and when printouts are printed. To do this, go to the module's TAB directory (e.g., ../Circ/Tab) and open the PRINT.INI file. This file defines parameters for printouts that are produced by the GUI:

Following is an example of the relevant section from the Circulation module's PRINT.INI file:


!       1                                2  3 4      5            6.1        6.2      6.3        6.4        6.5         6.6        6.7       6.8        6.9       6.10
!---------------------------------------+--+-+-+------------+----------+----------+----------+----------+----------+----------+----------+----------+----------+----------+


LoanReceipt                              00 N P loanrcpt.prn 
PhotoWait                                00 N P photowt.prn
PhotoSlip                                00 N P photoslp.prn
PhotoLetter                              00 N P photoltr.prn
ReturnReceipt                            00 N P retrcpt.prn  
ReturnPhoto                              00 N P retphoto.prn
ReturnHold01                             00 N P rethold.prn
ReturnHold02                             00 N P rethold.prn
ReturnHold03                             00 N P rethold.prn
ReturnHold04                             00 N P rethold.prn
BorLetterCARD                            00 N P brltrCRD.prn
BorLetterLIST                            00 N P brltrLST.prn
BorLetterA                               00 N P brltrA.prn
BorLetter                                00 N P brltr.prn
BorListRenewAll                          00 N P borrenew.prn
BorListRenewAllRemote                    00 N P borrenew.prn NO-PRINT
HoldWait                                 00 N M holdwt.prn
HoldLetter01                             00 N P holdltr.prn
HoldLetter02                             00 N P holdltr.prn
HoldLetter03                             00 N P holdltr.prn
HoldLetter04                             00 N P holdltr.prn
HoldDelete                               00 N P holddel.prn
PayLetter                                00 N P payltr.prn
LineLetter                               00 N P lineltr.prn
TransLetter                              00 N P trnsltr.prn
StationReport                            00 N P station.prn
LoanRecall                               00 N P loanrcl.prn
TransferSlip                             00 N P trnsslip.prn
LostMaterialBill                         00 N P lostbill.prn
ItemSlip                                 00 N P itemslip.prn
SingleCashTrans                          00 N P sincasht.prn

Column 1 is the function name that has been assigned by the programmer for internal use. Do not change this name. Each function produces one or more printouts based on the templates.

Column 2 is the version number of the template (Not implemented).

Column 3 defines whether or not the "Print" dialog box will be displayed before the file is printed. Enter Y if you want the dialog box to be displayed; otherwise, enter N. If you enter N, the files will be printed on the GUI module's default printer, unless they have been set up otherwise in columns 6.1 and 6.2.

Column 4 defines whether the file will be printed (P), sent by e-mail (M), or both (B).

If "M" or "B" are entered in column 4, See please
E-Mail chapter.

Column 5 is the name of the file as it is saved on the client's local drive. You may enter any filename you want.

The system does not save all the source files of all the printouts, rather, only the last file of each printout will be saved in the GUI's <module>/Files/<Library> directory.

Columns 6.1 & 6.2 are optional columns that may be used for either Print IDs (for offline printing through the Task Manager and Print Daemon) or for Device IDs (for online printing to a printer other than the PC's default printer). Note that if you leave columns 6.1 and 6.2 blank, the printouts will be printed on the PC's default printer.

The available Device IDs appear in the ALEPHCOM.INI file, under the [PrinterDeviceList] section. For example, if the list shows:
[PrinterDeviceList]
Device01=Digital DEClaser 3250
Device02=HP DeskJet 500
Device03=HP DeskJet 600
You could enter DEVICE-01 in column 6.1 and DEVICE-02 in column 6.2. Note that you must type a hyphen between the word "DEVICE" and the number identifying the device, and that the device ID must appear in capital letters.


4.2 ALEPHCOM.INI


[Print]

[Print]
SaveHistoryNumberOfDays=2
DefaultPrintConfig=1
TempDir=C:\temp\alephino
TempFileCounter=20
Every printout is saved in a history. The history is built for every module separately ("history" directory, for example, ..\ACQ\files\B-TIT\print\history).

SaveHistoryNumberOfDays=2
This setting determines how many days the print history should be stored. Cleanup of old history files takes place when the Client is started.

DefaultPrintConfig=1
Determines the default for the options on the printer icon on the bottom right of the GUI (0=normal,1=preview, 2=view raw XML).

TempDir=c:\temp\alephino
This is the location where temporary files reside.

TempFileCounter=1063
Do not change this line.

[PrintExecute]

[PrintExecute]
ERROR_EDITOR=notepad.exe
EDIT=notepad.exe $1
BROWSER=C:\Program Files\Microsoft Internet\Iexplore.exe $1
EXE_COMMAND=C:\Program Files\Microsoft Internet\Iexplore.exe $1
WORD=C:\Program Files\Microsoft Internet\Iexplore.exe $1
;There two options:
;Saxon.exe - requires MS Virtual Machine installed
;Saxon7.jar - requires Sun Virtual Machine installed
SaxonVersion=Saxon7.jar

ERROR_EDITOR=
Enter the programm, which will be used to open the file with the printing error messages.

EDIT=
Enter the programm, which will be used to open the print file, if the print configuration is "View Source"

BROWSER=
By default the built-in instance of the IE browser is used. Otherwise, you must enter the path of your browser path here.

EXE_COMMAND=

No input is defined as default for a printing in a free programm. Otherwise, you must enter the path of the program here.

WORD=
The input in a word processor is designated as default for the Print label and the printing of the user account. Otherwise, you must enter the path of the program such as Microsoft Office Word.

SaxonVersion=
Determines if printing is performed using Saxon7.jar (requires installation of Sun Java Virtual Machine version 1.4 and later) or Saxon.exe (requires installation of Microsoft Java Virtual Machine). If no parameter is entered, the default is Saxon7.jar.
Alephino provides Inputs in HTML Forms unlike ALEPH; The conversion of XML print data in printable data is made on the server. This process (XSL-Transformation) requires (linking with a ALEPH-System) the Help-Programs on the, wherefore parameter is entered (above-mentioned) . If the conversion is only used with Alephino, the parameter is irrelevant.
If no parameter is entered, the default is Saxon7.jar. In the delivery version, both Saxon7.jar and Saxon.exe are contained (..\Alephcom\bin directory).


[PrinterDeviceList]

[PrinterDeviceList]
Device01=QC-LJ2100PCL6
Device02=Digital DEClaser 3500
Device03=HP LaserJet 2100 Series PCL 6
Device04=Q-SUPPORT 
The [PrinterDeviceList] in the Alephcom.ini file lists the printers that are available as an alternative to the PC's default printer.

You can add more devices to the [PrinterDeviceList] by following these steps:

Step 1:
Open in the Windows directory, the point "System control" then the point "Printers and Fax".

Step 2:
The name of the printer appears in the "Name" column. Example:



Step 3:
Open the Alephcom.ini file (found in the ../ALEPHCOM/TAB directory).

Step 4:
Copy the name of the printer as it appears (in the section [PrinterDeviceList]) to the "Name" column.
[PrinterDeviceList]
Device01=e-STUDIO350-450 PSL3
Device02=magicolor 3100
To define the printers to be used for online printing, please enter (such as Device01) in Columns 6.1 and 6.2 of the respective module's print.ini file.
LoanReceipt                              00 N P loanrcpt.prn DEVICE-01
Please note that you must type a hyphen between the word "DEVICE" and the Device number identifying the device, and that the device ID must appear in capital letters.