Xpress User Manual
Xpress User Manual
Version 2.70
PDF reading is performed using Foxit PDF Reader SDK. Copyright © 2002-
2012, Foxit Software Company, All rights reserved.
While every precaution has been taken in the preparation of this manual, SPS
assumes no responsibility for errors or omissions; neither is any liability
assumed for damages resulting from the use of the information contained
herein. The information contained in this document is subject to change
without notice. SPS reserves the right to make any such changes without
obligation or to notify any person of such revisions or changes. SPS makes no
commitment to keeping the information contained herein up to date.
Contents
Chapter 1: About xPress2 ..................................................................................... 7
Introduction ....................................................................................................... 7
System Capabilities........................................................................................ 7
System Requirements..................................................................................... 8
How to Use this Manual ................................................................................ 8
Chapter 2: Getting Started.................................................................................. 11
Installing the System ....................................................................................... 11
Launching xPress2 ........................................................................................ 12
Running xPress2 under Windows Vista / Windows 7 ................................. 12
Application Window ....................................................................................... 14
Working Area (xPress2 Desktop)................................................................. 15
The Main Menu............................................................................................ 15
xPress2 Toolbars........................................................................................... 16
The Normal Toolbar ................................................................................. 16
The Objects Toolbar (Toolbox) ................................................................ 17
The Format Toolbar (Zoombar)................................................................ 18
The Objects Tree.......................................................................................... 19
Characteristics Window ............................................................................... 20
Setting up the system ...................................................................................... 20
Paper Tray Definition................................................................................... 20
PCL Paper Trays ....................................................................................... 21
Postscript Paper Trays .............................................................................. 22
Other Print Settings...................................................................................... 23
GDI Paper Tray Offset................................................................................. 25
Event Log ..................................................................................................... 26
Defining the Style Sheet .............................................................................. 27
Other settings ............................................................................................... 28
Event Log Viewer ........................................................................................ 28
Chapter 3: Creating a Document........................................................................ 31
4 Chapter 1: About xPress2
Introduction
The software is designed for printing houses, photocopy offices and other businesses
that print documents with variable data, such as tickets, coupons, stickers, letters,
checks, etc. For example, create a coupon flyer with a permanent title and
background and 20 different coupons in the body of the flyer.
System Capabilities
The xPress2 software is flexible and powerful, yet it is easy to operate and allows the
user to perform numerous actions, including the following:
• Formatting data using any font and size available in your system.
• Printing different copies from a different printer tray, according to user defined
options.
8 Chapter 1: About xPress2
• Printing MICR CMC7 / E13B / OCR-A magnetic lines for checks (for printers
supporting MICR toners).
System Requirements
• Operating system: Windows 2000/XP or higher.
Chapter 2 Describes the xPress2 software and explains the basic tools and
concepts you will need in order to use it.
Chapter 3 Is the most important chapter. It teaches you the basic step-by-step
processes that you will use in creating new documents, arranging
various objects and printing. This chapter includes the following
subjects:
These installation instructions refer to the Windows 2000 operating system. In other
versions, the screen displays and messages might be slightly different from those
displayed below, but the principles remain the same.
To install the software, close all active programs, insert the installation disk you have
received and wait for a few seconds. The installation wizard will appear. If the
installation program does not start automatically, double click the SETUP.EXE file
from the installation disk.
• When the initial installation screen opens, click the OK button to start the
installation process.
• The software license agreement will be displayed, please read this agreement
carefully. To accept the agreement conditions, check the "I accept all the
terms of the preceding License Agreement" checkbox, and click Continue.
If you do not accept the conditions you will not be able to continue the
installation or to use the software.
• The xPress2 program will appear as a default program in the Program Group
window, click Continue to proceed.
• Follow the wizard’s instructions and messages, confirm the actions when
required.
Launching xPress2
To launch xPress2, simply click on the Start button and choose the Programs option.
Locate the xPress2 program in the Programs List and click on its name.
Æ Æ Æ
Postscript mode. After you have printed once in each of the options, you can return to
the properties dialog box, uncheck the "Run this program as an administrator"
checkbox and use xPress2 under standard user mode.
14 Chapter 2: Getting Started
Application Window
When you start the system, the application window appears. This is the main working
window in which you perform all your actions.
Menu Commands
Toolbars
Objects tree
Working Area
Characteristics
Window
During your work with the xPress2 Desktop, the mouse cursor might change
according to the activity you perform:
File Includes options performed on the entire document, such as open, save,
print, print preview, etc.
Tools Tools and options used to edit the document and operate the software.
Objects To add input and output objects in the document, duplicate or remove
them.
Script Lets you work with the Master Script of the document to achieve special
and more powerful results using the xPress2 software.
Help This option lets you work with the Help file to assist you in operating the
xPress2 software.
16 Chapter 2: Getting Started
xPress2 Toolbars
The xPress2 software includes 3 toolbars. Most of the actions operated using the
toolbars can be also operated from the menu commands.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
14 - Gives information about the object on which you place the cursor.
1 2 3 4 5 6 7 8
1 - Select objects.
8 - Display the relevant part of the unit (original, copy, cover, etc).
- Display either the undivided page – the universal background or title – or the
changing sections on the page, like coupons.
18 Chapter 2: Getting Started
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
1 - Zoom In.
3 - Zoom Out.
4 - Send Backwards.
5 - Send to Back.
6 - Bring to Front.
7 - Bring Forward.
8 - Align Left.
9 - Align Middle.
10 - Align Right.
11 - Align to Top.
12 - Align to Center.
13 - Align to Bottom.
18 - No Horizontal Spacing.
Chapter 2: Getting Started 19
20 - No Vertical Spacing.
Each output object obtains its data from a single input object, but every input object
may provide its data to more than one output object. The Objects Tree displays the
input object above the output objects to which it provides its data.
In the above illustration, the output object Output 2 obtains its data from the input
object Input 2. This is understood by the location of Output 2 underneath Input 2 in
the Objects Tree.
20 Chapter 2: Getting Started
Characteristics Window
Before you start working with xPress2, it is recommended to define print settings.
These settings define the trays from which the printer takes each copy of the printed
document, the offset of each paper tray, the use of Macro of the fly option etc...
For example: if you print an invoice book in which you want the first copy to be
white, the second to be blue and the third to be yellow - the paper source for each
copy should be taken from a different paper tray in the printer.
In order to print different copies from different paper trays using PCL or
Postscript commands, your printer must support PCL5 or PostScript
language accordingly. This requires a PCL5 or Postscript printer driver.
2. From the Automatic Definitions combo box, select one of the existing
definitions according to your printer type. If your printer type does not appear
in the list box, you can define the tray numbers manually. In order to link the
correct numbers to the corresponding trays, please refer to your printer’s User
Guide, or contact your printer's vendor.
3. If your printer does not support PCL5, you should select the Never Use PCL
Tray numbers option. If your printer definitely supports PCL5, you should
select the Always Use PCL Tray numbers option. If you are not sure, consult
22 Chapter 2: Getting Started
your printer’s User Guide, or leave the Auto Select PCL Tray numbers so
that xPress2 will try to evaluate whether your printer supports PCL5 or not.
4. If you want the Tray codes to be saved as a part of the document and will
override the default setting for this specific document, check the Save Setting
to Document and Override Default Settings checkbox
2. Next you need to assign a paper tray definition to each paper tray you intend to
use. Click the <…> button next to the paper tray you want to define. The
printers dialog box will be opened.
3. Select the Postscript printer driver suitable for your printer, and click the
Properties button. The appropriate printer driver properties window will be
opened.
Chapter 2: Getting Started 23
4. From the printer's properties dialog box, select the desired paper tray, and click
the OK button to confirm the printer settings, and again the OK button to
confirm the printer selection dialog box.
5. Once you defined a specific paper tray assignment, the sign next to it will be
changed to a sign. Now you can repeat steps 2 to 4 and define all the paper
trays.
6. In case some of the paper trays contain paper which is slightly different in size
from the primary document paper size (such as Tab stock covers) uncheck the
Force paper size to tray settings during print checkbox.
7. If you want the Tray definitions to be saved as a part of the document and will
override the default setting for this specific document, check the Save Setting
to Document and Override Default Settings checkbox
If you are working with a custom paper size, you need to set the proper
paper size for each tray in addition to selecting the paper tray as described
in step 4 above.
2. Select the print emulation you want to be the default print emulation whenever
you print a job to the printer from the options.
3. Select whether you want xPress2 to use a "PCL Macro on the fly" technique
when printing the file or not. This reduces the size of the print file and can lead
to a more efficient printer work. Although this technique requires the printer to
support PCL5 language, not all PCL5-supported printers are suitable for use
with this technique. If you want to use this feature, select the Always option
under Use PCL Macro of the fly option.
4. Select the Always option under Force PCL custom page size to 101 if you
want to instruct xPress2 to force the PCL printer driver to use code 101 when
printing to custom paper size. Although this feature requires the printer to
support PCL5 language, not all PCL5-supported printers are suitable for use
with this feature.
5. Click the Remove xPress2 Print Processor button if you want to uninstall the
print processor used in the macro on the fly process. Click this button only if
you want to uninstall xPress2 or upgrade the print processor.
Chapter 2: Getting Started 25
6. If you want the print method to be saved as a part of the document and will
override the default setting for this specific document, check the Save Setting
to Document and Override Default Settings checkbox
2. The tray offset allows you to shift the entire print image in any direction so as
to achieve maximum accuracy of the print image on the paper. In order to
move the image up or left, you may write negative values.
Event Log
1. From the Tools Menu select Options, the Options dialog box will open, Select
the Event Log tab to define which events will be logged by xPress2.
2. To select the desired log file, click the browse button and select the file.
3. To start the event log with the selected file, you can click the Start Event Log
Viewer, which will be started with the selected event log file even if it's not the
standard log file of your xPress2 application.
4. You can choose to ignore certain event types by removing the check mark next
to the appropriate event type, or ignore a specific event type by adding its code
to the Ignore specific events list.
All changes you made to the Options dialog box will apply only for the
current session of xPress2. To make these changes the default for future
xPress2 sessions, you must choose Save Settings from the Tools menu.
Chapter 2: Getting Started 27
The Style Sheet dialog box shows the data tabs of the characteristic windows of each
Output and Input objects type.
1. From the Objects Menu select Style Sheet. The dialog box will open.
2. Select the desired output or input object type from the tabs at the top of the
Style Sheet window.
28 Chapter 2: Getting Started
3. Change the values of the different characteristics of the desired output or input
object type to the desired values. A detailed explanation of the role of each
characteristic of each output or input object type can be found in Chapter 4:
Output and Input objects on page 67.
4. You can import and export the style sheet settings to an external file. You can
also select which style sheet file will be used as the default for new documents
5. Click OK to confirm the settings and save them for the current document.
Other settings
You can change the view options such as zoom, hide or show toolbars, and any other
settings as well.
To save the current settings as the Default settings, from the Tools Menu select Save
Settings.
The default settings will automatically apply whenever you open the xPress2
software.
The Event Log Viewer is a tool in which you can view all events and statuses of the
xPress2 software. There are five types of events, which can be noticed by the unique
icon of each event type:
System Error: This event occurs when a system related error happens.
1. Define the characteristics of the new document (paper size, copies, etc).
2. Insert output objects and input objects, and define their characteristics.
To create a new document, select New from the File Menu, or click the New
button in the Normal toolbar. A new blank document will be created, and a
Document object will be displayed in the Objects Tree. Select the Document object
to define its characteristics.
The Characteristics Window of the Document object at the bottom left corner of the
window displays 4 tabs:
32 Chapter 3: Creating a Document
Page
• In the Margins area indicate the document margin size. The measurements are
indicated in millimeters.
Object
• In the Frame area you can choose whether the document objects will be framed
with lines, crosses, dots, crop marks, etc… and select the properties of the
frame, such as line length, color, width, bleed distance, etc…
Amount
• Fixed amount of notebooks: This option will be available only if there are
notebook definitions. The total amount of pages in the document will be the
number of notebooks you wrote multiplied by the number of pages defined to
each notebook. For more information on this option, please refer to Notebook
Settings on page 34.
• Variable amount of pages according to a file size: This option allows you to get
the amount of pages automatically, according to the size of the ASCII or PDF
file from which you receive your data. For more information on this option,
please refer to ASCII as Input on page 89 or PDF as Input on page 92. The
34 Chapter 3: Creating a Document
Job Split
• Click the Job Split Tab to split the print job into
several small print jobs. This allows the printer
to perform actions that are job-oriented to the
printout, such as to staple each notebook
separately. There are 4 options to choose from:
• Split after # pages means that after the indicated amount of pages from the
document, a new print job will be opened.
• Split after # originals means that after the indicated amount of original pages
from the document, a new print job will be opened.
• Each notebook in a new job means that each notebook will be printed as a
separate job, according to the notebook settings.
Page Wizard
The Page Wizard is designed to ease up the process of defining the number of
document-objects in a page and calculating the margins and gaps. Click on Page
Wizard from the File Menu to start the wizard.
Chapter 3: Creating a Document 35
5. Define the desired object Height and Width in the appropriate boxes.
7. Select whether the wizard can set the page as Portrait, Landscape or Any of
them according to the best covered area.
8. Check the box next to Force Top / Bottom / Left / Right Margin if you want
the wizard to force any of the margins.
9. Check the box next to the Force Vertical / Horizontal Gap if you want to
force a fixed gap between the objects.
10. A preview of the layout is displayed, as well as the number of objects on the
page and the percent of usage of the objects out of the page area.
11. To apply the settings calculated by the wizard to the document, click the Apply
settings to document button.
12. To cancel the wizard without making any changes to the document, click Exit
button.
36 Chapter 3: Creating a Document
1. Click on Display Document Objects located in the File Menu to open the
display window.
2. Choose the objects you do not want to display by pressing on their number.
3. Objects that are unselected (not pressed into the screen) will not be printed.
Notebook settings
When creating a notebook, such as an invoice book, ticket book etc., there are some
additional definitions:
1. From the Tools Menu choose Notebook Settings. The Notebook Settings
dialog box will appear.
Chapter 3: Creating a Document 37
4. To add a cover page to each notebook in the document, check the Cover 1
checkbox. To add more cover pages (up to 5 cover pages), check the
appropriate cover page checkboxes.
5. For each cover page, select from the Paper Tray combo box, where the cover
page will be printed from.
6. Check the appropriate Print Page Frame checkbox to indicate whether the
paper frame will be printed on the cover page.
7. To add a footer page to each notebook in the document, repeat step 4 above
with footer instead of cover page.
Click on the (+) sign next to the Document-object in the Objects Tree. The Copies
branch will be displayed. Select the Copies branch and in the Characteristics Window
define the number of copies of the document.
Although it is a unique object, the Copies input object is still an Input object. Please
refer to Copies as Input on page 75 for information regarding the different
characteristics of a Copies input object.
Inserting Objects
About Objects
Every document created using the xPress2 software is constructed of objects: output
objects and input objects. While creating a document you should place an output
object on the xPress2 desktop, define its characteristics and link it to an input object
that defines the displayed data.
Sometimes a single input object can supply its data to more than one output object.
For example, a ticket with 2 parts – one part containing the ticket number displayed
as a barcode and the other part is a drinks voucher with the same number displayed as
digits.
40 Chapter 3: Creating a Document
The following illustration shows the links between the document and its Object Tree.
You can see that one input object (Main), such as the ticket number, can be displayed
in 3 different output objects.
The output object and its linked input are displayed in the Objects Tree on the same
"branch", but the input appears one level higher than the corresponding output.
Selecting one of the two methods is done by checking or un-checking the 9 sign next
to the Show Insert Dialog option in the Objects Menu.
Chapter 3: Creating a Document 41
2. From the Objects Menu choose Insert Output and select the type of output
object you wish to add (e.g. Text) from the sub-menu.
4. In the New Output Name text box, write a name for the output (the name
Output # is displayed by default).
5. If you want the new output object to receive its content from an existing input
object, you can select it from the From an existing input combo box.
42 Chapter 3: Creating a Document
6. If you want the new output object to receive its content from a new input
object, select the Create a new input radio button.
7. From the Input Type combo box select the desired type of input object (e.g.
Text).
8. Write a name for the new input object in the Input Name text box (the name
Input # is displayed by default).
9. Click OK to confirm. The new output object will be created on the xPress2
desktop, and the new output and input objects will appear in the Objects Tree.
10. Now you can select the new output object, either from the xPress2 desktop or
from the Objects Tree, and change its characteristics. Each output object has
two tabs in the Characteristics Window, the Layout tab (which will be
explained on page 47) and the Data tab. The Data tab appearance differs
according to the type of output, and its content is explained in details in
Chapter 4: Output and Input objects on page 67.
11. You can also select the newly created Input object from the Objects Tree, and
change its characteristics. All input objects have only one Tab in the
Characteristics Window, the Input Tab, which is explained in detail in Chapter
4: Output and Input objects on page 75.
2. Select the type of output object you want to add by clicking the desired output
type on the Objects toolbar. When moved to the working area, the mouse
cursor will change its shape to a cross.
Chapter 3: Creating a Document 43
3. On the working area, draw a square using the mouse. When you release the
mouse button, an output object of the type you chose will be created in the
location you marked, and a new input text object will be created as well.
4. In order to change the Input type to the desired input type, you can select it
from the Objects Tree. From the Objects menu, select Change Input to and
select the new desired input type from the sub-menu.
5. In order to change the characteristics of the new output and input objects, see
steps 10 and 11 above.
When you create an Output type, except for picture outputs, the default
input type that will be created is a Text Input. When you create a picture
output, the default Input that will be created is a File Input.
• You can select the 9 sign next to the Show Insert Dialog option in the
Objects Menu, and then use the mouse to select the desired output type, and to
mark a place for it on the desktop. In this case, the output position will be set
and the Show Insert Dialog option will be displayed when you release the
mouse button.
• On the other hand, you can remove the 9 sign next to the Show Insert Dialog
option in the Objects Menu, and then select from the Objects Menu the
Insert Output and select the desired type of output object you want to add
from the sub-menu. In this case the desired output type will be added
immediately to the upper left corner of the desktop with the default input
44 Chapter 3: Creating a Document
object type, and you can make all the adjustments and changes to both output
and input objects later.
Copy-Paste of objects
You can copy output and input objects to the clipboard, and then paste it back to the
same document or to another document.
When you copy input objects to the clipboard, all dependent inputs are copied as
well, e.g. when you copy a chain input object, all input objects in the chain are copied
as well.
When you copy output objects to the clipboard, all the inputs of these outputs are
copied to the clipboard as well.
If you paste an object (input or output) to a document in which an object with that
name already exists, xPress2 will automatically change the name of the pasted object
to a new unique name.
1. Select the desired object or objects using the mouse, holding the shift key
while clicking all desired objects.
All the selected objects will be duplicated and placed near the position of the original
outputs, but not in the exact place. The newly selected group contains only the new
objects and not the original ones, which can now be moved to any other location and
treated as any other output objects.
Chapter 3: Creating a Document 45
When you duplicate output objects, its input objects are NOT duplicated. However,
the new output objects are linked to the same input objects to which the original
output objects were linked.
Choose the type of the input objects you want to create, and then type the length of
the fields, number of fields or column names for each input object (according to the
type of input object you selected) and separate the data with a comma.
Choose whether you like an output object to be created under each input object as
well, and choose the type of output object to be created.
Click the "Style Sheet" button and select from the style sheet dialog box all of the
characteristics which will be the same for all objects created. It is very important to
choose the file for the input objects to take the data from. It is very much
recommended to select the file from the file manager, this way if in the future you
will need to change the file for all input objects at once, it will be very easy to be
done. For more information about the file manager, please see page 53. For more
information about the style sheet, please see page 27.
Chapter 3: Creating a Document 47
• The variable input object types are: Copies, Counter, Excel, List, System, and
ASCII.
• Chain Input can be either static or variable, depending on the inputs in the
chain.
Layout
A Layout box is created automatically for each output object added to the document.
The Layout box indicates the general characteristics of the output object.
• Click the Set Visibility button to open a dialog box that will allow you to
decide in which pages and copies of the document the object will be visible.
• Click the Lock button to lock the location of the object, to avoid moving it
unintentionally with the mouse.
• The Frame area is used for indicating the borders of the object.
Use the Style combo box to choose the line style of the border.
Use the Length box to change the length of the frame lines if the frame type is
Cross.
Use the Width box to choose the line width of the border.
• To change the size and location of an object using the mouse, drag the object to
the new location and change its size. By default, xPress2 will allow you to
move the objects only within the xPress2 Desktop. If, for any reason, you want
to place an output object outside the xPress2 Desktop (in the gray area) you can
remove the 9 sign next to the Limit outputs to page option from the View
Menu.
• To define the exact size or location of an object, select the output object in the
Objects Tree and define its characteristics in the object's Characteristics
Window.
Chapter 3: Creating a Document 49
• Click the Select All button to make an object visible in all pages.
• Click the Unselect All button to make an object invisible in all pages.
To make the working area show different page type, choose the desired page type
from the Show objects on combo box in the Toolbox, for more information about
viewing different page types, see The Objects Toolbar (Toolbox) on page 17.
Select the output objects you want to arrange using the mouse and the Shift key.
When you select objects, the last object you select is always the leader object of the
group; you can distinguish this output object from the rest of the group since its
dotted border is red, while the borders of all the other output objects are gray.
After you finish selecting the group of output objects, from the Format Menu select
one of the positioning options:
• Select the Align Menu and choose one of the direction options from the sub-
menu (Lefts, Centers, Rights, Tops, Middles, and Bottoms) all of the
selected output objects will be aligned according to the leader object.
• To equalize the size of the selected output objects, select Make Same Size
from the Format Menu and choose one of the options displayed in the sub-
menu. All of the selected output objects will be resized according to the leader
object (Width, Height or Both).
Chapter 3: Creating a Document 51
• To change the spacing between output objects: Select the output objects, and
then from the Format Menu select either Horizontal Spacing or Vertical
Spacing. To use this option, at least 3 output objects must be selected.
o Select Make Equal to create equal spaces between the selected output
objects.
• To change the graphic layout order of the output objects: Select the output
objects, and then from the Format Menu select the Order option and choose
one of the options displayed in the sub-menu: bring to front (1st level), bring
forward, send backward, send to back (last level).
All formatting actions can be performed easily and conveniently from the
Format toolbar.
52 Chapter 3: Creating a Document
1. Using the mouse and the Shift key, select the objects you wish to change.
Make sure that the leader object (the object that is selected last in the group) is
the object you want to use as the source characteristics object.
3. The characteristics of the leader object will be copied to all objects in the
selected group.
All output objects in the selected group must be of the same type in order
to successfully copy the characteristics.
File Manager
When you want to select a file as an input (picture, ASCII, PDF or Excel input
objects), you may first insert the file into the File Manager, and then select the input
file from the File Manager list of the input object. This will allow you, when you
want to change the file in the future, to change it only once in the File Manager,
instead of needing to change the file in each input object separately.
• Select File Manager from the Tools Menu. The File Manager dialog box will
appear.
• To insert a new file, click the Insert button, the File dialog box will appear.
• To delete an input file from the File Manager, select the file and click the
Delete button.
• When selecting a file from the File Manager, if this file is an ASCII file or a
CSV file, the properties of the file can be seen on the right hand side.
o Open the File Manager window and select the file you want to change.
o All Output Objects that receive their input from the selected file in the
File Manager display the new input file.
• In the Input tab of the Characteristics Window, select the File Manager check
box and select the file name from the list of File Manager files.
Substitution Rules
Substitution Rules are a set of rules you can use to change the text that an output
object receives from an input object. It is like a filter which can change all or some of
the text. Substitution Rules are organized in groups, called Substitution Rule Sets.
Each Substitution Rule Set is composed of one or more Substitution Rules.
Chapter 3: Creating a Document 55
Output Output
Data Object1 Data Object1
Input Input Subst.
Object1 Object1 Data Rule
Output Set Output
Data Object2 Data Object2
To define Substitution Rules and Substitution Rule Sets, Select Substitution Rules
Manager from the Tools menu.
• In the Original String box, write the text you want to replace with a different
text.
• In the New String box, write the new text you want instead of the original text.
o Any Part of Field – The original string will be searched and replaced
with the new string anywhere in the text. If you select this option, select
Match All to replace all appearances of the original string with the new
string, or Match # Times to replace the original string only a specific
number of times.
o Whole Field – The original string will be replaced with the new string
only if the data is exactly identical to the new string.
o Start of Field – The original string will be replaced with the new string
only if the data starts with to the new string.
o End of Field – The original string will be replaced with the new string
only if the data ends with the new string.
• Select whether you would like to trim spaces from either side of the data in the
Trim Spaces combo box.
• Select Delete Empty Lines checkbox if you want to remove empty lines.
• Select Delete All Content checkbox if you want to clear the data.
Chapter 3: Creating a Document 57
• If you want to delete characters from the beginning (left side) of the data, select
Delete First checkbox, and type in the number of characters you want to
delete.
• If you want to delete characters from the end (right side) of the data, select
Delete Last checkbox and type in the number of characters you want to delete.
• If you want to delete characters from the middle of the data, select Delete
checkbox and type in the number of characters you want to delete and the
position of the deletion.
• To add text before the data, select the Add Before checkbox and type in the
text to add.
• To add text before the data, select the Add After checkbox and type in the text
to add.
• To insert text within the data, select the Insert into the Field checkbox, type in
the text to insert and select the position to add it in.
• To make the field a given fixed length, select the Fill field with char
checkbox, select which character is the padding character, determine which
side to add the padding and enter the desired final field length.
• Click OK and the new Substitution Rule will appear in the Substitution Rules
list.
1. Click Insert Set button, and type the name of the set.
2. The new set will appear in the Substitution Rule Sets list. Click on the set, the
sets properties will be enabled.
3. Select a Substitution Rule from the list on the Substitution Rules list, and
click the >> button. The selected rule will be added to the Rules in Set list.
Repeat this step for each rule you want to add to the set.
4. If you want to remove a rule from the set, select it in the Rules in Set list and
click the << button. The selected rule will be removed from the list.
5. You can change the order of the rules in the set using the up/down arrow
buttons, the order of the rules is important since this is the order in which
xPress2 performs the rules when the set is in use.
6. Select Use First Successful Only option if you want xPress2 to perform the
rules in the set until a rule is performed successfully, and skip all remaining
rules.
Chapter 3: Creating a Document 59
7. select Use All Rules in Set option if you want xPress2 to perform all the rules
in the set regardless if any rule was successful or not.
Use First Successful Only Use First Successful Only Use All Rules in Set
Original Data After Set 1 After Set 2 After Set 3 After Set 4
000111 xxxx0111 xxxx0111 000yyyyyy xxxx0yyyyyy
123456 123456 yy23456 yy23456 yy23456
100000 1xxxx000 1xxxx000 yy00000 yyxxxx000
ABC01 ABCxx1 ABCxx1 ABC0yy ABCxxyy
60 Chapter 3: Creating a Document
Tray Inserts
• To delete an insert from the list, select the desired insert, and click the Delete
button.
• Select the desired paper tray from the Paper tray list.
Chapter 3: Creating a Document 61
• Select the Return to previous tray after this page option if you want the
insert to be for these pages only, or the Keep using this tray for all following
pages if you want the following pages to be taken from the same paper tray
until any other tray changes (whether by a different tray for a different copy or
by a new insert) will occur.
• Check the Repeat insert every x pages checkbox, and select the number of
pages if you want the insert to be repetitive and not one time only.
Before you print a document with different paper sources for different
pages, you must define the printer tray code for each paper tray. The tray
definition can be done in one of two ways: PCL or Postscript. For more
information about setting the paper tray definition please refer to PCL
Paper Trays on page 21 or Postscript Paper Trays on page 22.
In order to print different copies from different paper trays using PCL or
Postscript commands, your printer must support PCL5 or Postscript
language accordingly. This requires a PCL5 or Postscript printer driver.
1. To view the document in Print Preview mode select File from the Main Menu
and choose Print Preview, or click Print Preview in the Normal toolbar.
2. Click the arrow buttons to see the copies of the document and the other pages
of the document.
3. Click the Zoom In and Zoom Out buttons to see parts of the document in a
more detailed manner.
4. Click Close to return to the document or click the Print button to print the
document.
5. To print the document without displaying the Print Preview window, click the
6. The Select Print Method dialog box will appear. Select the desired print
emulation you want to use.
7. In the Print dialog box select the page numbers for printing, and press the OK
Button to confirm. The document will be printed according to the number of
pages and the number of copies you have specified and according to the paper
trays you have chosen for each copy.
In order to send fax from the xPress2 software, the fax module must be
licensed. It is only possible to send fax from the xPress2 software when it
is installed on windows 2000/XP or higher operating system. Additionally,
make sure that the Microsoft Fax software is installed on your computer
and is working properly.
xPress2 software is able to send a document automatically via fax. The sent is made
using Microsoft Fax software. When sending a fax from xPress2, the fax number field
can be taken from any input field (including excel or ASCII), which enables you to
64 Chapter 3: Creating a Document
send each page or page group to a different fax number, without the need to send
each fax manually.
To fax a document automatically from the xPress2 software, please follow these
steps:
1. Click Fax Properties from the Tools menu, which will open the Fax
Properties dialog box.
2. For each fax property, select its content. The content can be either a static text,
or from an Input field. The only mandatory parameter is the Recipient Number
(destination fax number), all other parameters are optional. After setting the fax
parameters, click OK.
3. Click Send Fax from the File menu, this will present a Fax Send dialog box,
where you may specify the range of pages to be faxed.
Chapter 3: Creating a Document 65
4. Each page of the document will be faxed to the appropriate fax number. If two
consecutive pages have the same fax recipient number, they will be sent in the
same fax call.
66 Chapter 3: Creating a Document
Output Objects
Output as Text
o Select Stretch if you want the system to stretch the text lines over the
entire output area.
• Use the up/down arrows in the Text Direction box to indicate the direction of
the text in the text box.
• Use the up/down arrows in Scale Width to stretch the fonts (starting at 100%).
• Select the Visual or RtoL radio button if the text in text box is in reversed
display.
• In the Font dialog box, you can also decide how the text will act if it exceeds
the limits of the area assigned to it by the output object, using the following
options:
o No Clipping – The area of the output object doesn't limit the text, so if
the text exceeds the area of the output object, it will still be printed.
o Clip Text – Those parts of the text that exceed the area of the output
object will not be printed.
o Wrap Text – Will cause the text to wrap automatically to the next line if
it exceeds the limit of the output object.
Output as Barcode
• Select the Text Size to be Automatic or an exact size (if a human readable text
is displayed in addition to the barcode).
• Select what will be the ratio between the tall and short lines in the barcode
(only in barcodes that have both tall and short lines).
• Click the Text Color box to choose the text color (if a human readable text is
displayed in addition to the barcode).
• To rotate the Barcode display, click on one of the Rotate buttons, according to
the preferred direction.
• If you want an empty barcode to be hidden when its data is empty, check the
Hide Barcode if data is empty checkbox.
Not every barcode standard can encode any type of data. Some barcode
types can only encode numbers, while other can encode both numbers and
letters. Some barcode types can only encode a limited length of data, while
others can encode variable data lengths. You must know the different
standards before using the barcode output.
Output as Picture
• Check the Print on Paper box show the background picture in the printed
document only. This option lets you work on the document without displaying
the background picture on the screen.
• You can rotate the picture by clicking the appropriate Rotate direction icon.
Selecting the Auto rotate option will cause the picture to be displayed in the
best direction according to the object dimensions.
• You can reduce the pictures resolution by changing the percent in the
Resolution box (this will cause faster printing but lesser quality).
• Check the Stretch to Fit box to fit the Input picture to the size of the output
object bounding box.
• Check the Lock Ratio box to instruct xPress2 to keep the original height-width
ratio of the picture to prevent distortions.
• Alternatively, you can indicate the picture size and offset in the output box by
choosing the Width and Height Percent, Horizontal and Vertical Offset and
the attach direction of the picture.
Chapter 4: Output and Input objects 71
Output as Check
• You can rotate the check output by clicking the appropriate icon.
• Click the Advanced button to open the Check Advanced features dialog box.
• If you want to add text before / after the data, insert the letters representing the
requested symbol in the text boxes in the Add Text area.
• If you want to use a PCL printer font (a Flash / Dimm / Simm font) instead of
the internal software font to print the MICR stripe, it can bee done by checking
the Use a PCL printer font for the check printing checkbox and typing the
72 Chapter 4: Output and Input objects
PCL font selection command in the PCL font command text box. Such a
command can be something like that:
<ESC>(8M<ESC>(s1p12v0s4b4457T
The font selection command can be found in the printer PCL font list. When
using a printer PCL font for the MICR stripe of the check it is recommended to
ensure that in the driver's definitions under Advanced, the option Print
Optimizations is Disabled.
Output as Shape
• Table - Indicate the line color, width and style and the degree of rounded
corners of the table. For a Table also indicate the number of columns and rows,
and the width ratio between columns.
In the Columns Ratio text box, indicate the ratio between the columns. For
example, for a 3-column Table if you write "1,1,1" - all the columns of the
Table will have the same width. If you write "1,1,3" - the 3rd column will be 3
times wider than the 1st column. If you write "1,2" for a Table that have more
than 2 columns, the width of the last columns will be set according to the last
number written. For example, in a 4 columns Table, indicating "1,2" is
identical to indicating "1,2,2,2". By that, it can be understood that writing "1"
will generate a Table in which all the columns width are equal, regardless of
the number of columns. In order to achieve maximum accuracy in complex
Tables, you can treat the numbers in the box as the width of the Table in
millimeters, and write for example "22,46,53".
• Triangle – indicate the line color, width and style, and the direction of the
triangle.
• Arrow – indicate the line color, width and style, and the direction of the arrow.
• Star – indicate the line color, width and style, and the direction of the star.
• If you want the shape to be hidden when its data is empty, check the Hide
Shape if data is empty checkbox.
To set as the background for the parent document, choose Set As Background. The
background will cover the entire background.
Clip to Output limits the background xPress2 document from exiting the borders of
the work area and will delete anything that is outside the work area definitions.
Select Stretch to Fit in order for the background to stretch to its maximum size
within the given borders.
The Lock Ratio button will enable you to change the size of the image without
distorting it.
The Refresh button will refresh the child xPress2 document, if changes have been
made, so that the current display will be the correct and updated one.
Use the Edit XPR File to change the child xPress2 document.
Chapter 4: Output and Input objects 75
Input Objects
Text as Input
Copies as Input
• To define a paper tray from which this document will be printed, choose the
tray number from the Paper Tray list.
76 Chapter 4: Output and Input objects
• In the Copy Data area, add the text that will be printed on this copy (for
example Copy1, Original, etc.).
Each document must have at least one Copies input object - that is the
object with the name Copies. The paper source is set in this input object
and it cannot be deleted. Additional Copies input objects can be added to
the document in order to create different texts on each copy of the
document, but the paper trays in these objects can't be set and will be
ignored.
Before you print a document with different paper sources for different
copies, you must define the printer tray code for each paper tray. The tray
definition can be done in one of two ways: PCL or Postscript. For more
information about setting the paper tray definition please refer to PCL
Paper Trays on page 21 or Postscript Paper Trays on page 22.
In order to print different copies from different paper trays using PCL or
Postscript commands, your printer must support PCL5 or Postscript
language accordingly. This requires a PCL5 or Postscript printer driver.
Chapter 4: Output and Input objects 77
Counter as Input
• In the Display at least box indicate the number of digits to be displayed in the
Output data.
• In the Increase by box indicate the difference between a counter value and the
next value
• In the After Every box indicate if the values will increase after each object (1)
or after more than one object.
• Select one of the objects at the bottom of this window to indicate the order of
the printed numbers in the counter, according to the Object tab of the
document. See page 32 for more details.
• Click the up/down arrow to change the order direction and receive more
options for the order of the printed numbers.
• Flat and Deep radio buttons indicate the order of the numbers on the printed
document.
o Flat – distribution of numbers on the first page and then on the next
pages.
78 Chapter 4: Output and Input objects
• Subst. Set checkbox and combo box are used to assign a Substitution Rule Set
to the input object, see Substitution Rules page 54 for more details.
• Click the Advanced button to open the Counter Advanced features dialog box.
• Check the Add Check Digit checkbox to add a checksum digit to the counter
number. Click the Settings button to define the method in which this digit will
be calculated. The Settings options are explained on page 79.
Chapter 4: Output and Input objects 79
• The Flip Counter Position for Duplex Page has two sub checkboxes:
Horizontal and Vertical. These will allow you to flip horizontally or vertically
the position of the counter on each even page. This is effective when using
duplex printing to make sure that the correct object will be printed on the back
of each object on the front page. Example for Horizontal flipping:
• Check the Save last counter value for next print job checkbox if you want
xPress2 to keep the last counter value automatically between print jobs, and
give a unique identification to the counter in the Counter ID box. If you
choose this option, and you will print for example 10 pages in which the first
page is number 1 and the last is number 10, then in the next print job the first
page will automatically be number 11. It is possible to protect the ability to
change the last counter value with a password. To do so, choose the Document
Password option from the Tools menu, and assign a Counter Password to the
document.
• In the After loop return to number textbox fill in the number you want
xPress2 to return to in case a loop is required and the counter is saved between
print jobs.
• Check the Change the numbers to Arabic digits checkbox if you want the
counter displayed in the Arabic language.
80 Chapter 4: Output and Input objects
Checksum Digit
• Choose which weight method will be used to calculate the weight of each digit in
the Weight Method combo box:
o Digits – If the calculated weight of a digit is greater the 10, then the
result will be the sum of the digits of the weight.
• Choose from the Weight Alignment box the alignment of the checksum weight,
this will be important in case the weight doesn't have the same number of digits in
it as the number itself.
• Choose from the Divider box the number in which the final weight of the number
will be divided by.
• Choose whether the checksum digit will be the remainder of the weight to the
divider or the complement thereto.
Chapter 4: Output and Input objects 81
• If the divider is greater than 10, then there may be a possibility that the check digit
itself will be greater or equal to 10, and therefore will have more than 1 digit in it.
The Leap Digit and Leap Digit Position will cause the checksum to be
recalculated in such cases with a slight difference so that the new check digit will
be smaller than 10.
• Separator Text will allow you to add a fixed text between the original number and
the checksum digit.
• Test Check Digit button is useful to test yourself with the settings you chose.
Type a number that you already know what its checksum digit should be in the
Number box, and make sure that the correct digit is added to the number shown
in the Result box.
File as Input
• Click the radio button that indicates the type of link the path to the file will
have:
• Select the File Manager checkbox if you want to select a file via the File
Manager. For more information regarding the File Manager see page 53.
84 Chapter 4: Output and Input objects
Excel as Input
o In the Column box indicate the column from which to receive data.
o In the Starting at Row box indicate the row number from which to
receive data.
o If the data acquired from Excel is not consecutive, select the radio button
Get Row from the Counter Input and select the counter input object
that indicates the linked row numbers.
• Subst. Set checkbox and combo box are used to assign a Substitution Rule Set
to the input object, see Substitution Rules on page 54 for more details.
• If you want to use a language that is different from your default operating
system language in your document, you may need to use the Unicode
encoding. In this case, check the Use Unicode checkbox. Note that you can't
use Unicode in every situation, for example: you can't link a barcode or check
outputs to an input that was defined as Unicode.
Chapter 4: Output and Input objects 85
List as Input
• To edit an existing entry, select the desired entry, click the Edit button, and
type the new entry in the displayed box.
• To delete an existing entry, select the desired entry, and click the Delete
button.
• To delete all the entries in the list, click the Clear List button.
• Use the up/down arrows to change the order of the list items.
• Select the Get Row from Counter Input check box to link the list to an
existing counter, and select the counter from the list box below.
• Subst. Set checkbox and combo box are used to assign a Substitution Rule Set
to the input object, see Substitution Rules on page 54 for more details.
• Click the Advanced button to open the List Advanced features dialog box.
86 Chapter 4: Output and Input objects
o Check the Synchronize the list to a folder checkbox and select the
desired path to this folder if you want the list to automatically contain
the names of the files in a specific folder.
o If you want the list to automatically synchronize itself with the files in
the selected folder, and whenever files will be added or removed from
the folder they will automatically be added or removed from the list,
select the Keep list automatically synchronized with the folder
option.
o If you want to add the files currently existing in the folder to the list, and
keep them in the list without automatically synchronizing it with the
folder in the future, select the Read folder files and keep list static
option, and click the Read Now button.
o If you want to add only some of the files in the folder into the list, e.g.
only files with a specific extension, check the Filter files checkbox and
type the filter in the text box.
Chapter 4: Output and Input objects 87
• Automatic number filling: If you want to add a series of numbers to the list,
you can do this automatically by selecting the range of numbers in the To and
From boxes, and clicking the Add Now button.
This function is useful if you want to make a list with page numbers
and connect the presentation of PDF pages to this list (by chaining
the list after a text PDF input containing the path to the PDF file
with a comma between the filename and the page number).
Database as Input
• Select how many data lines will be returned each time in the Display Rows
box.
• Select the Get Row from Counter Input check box to link the SQL query
return order to an existing counter, and select the counter from the list box
below.
• Subst. Set checkbox and combo box are used to assign a Substitution Rule Set
to the input object, see Substitution Rules on page 54 for more details.
88 Chapter 4: Output and Input objects
1. Go to the "Control Panel", and select the "Administrative tools", and then
select the "Data Sources (ODBC)" icon.
3. In the "Create New Data Source" dialog box, select the desired database driver
you want to use (for example "Microsoft Access Driver (*.mdb)"), and click
"Finish".
4. According to the selected driver, a setup dialog box will be issued. If you
selected the "Microsoft Access Driver (*.mdb)" all you need to do is to type a
"Data Source Name" and a use the "Select…" button to choose a database file.
Click the "OK" button and close all dialog boxes.
5. From the DSN selection button in the database input property, select the newly
added DSN, it should appear under the "Machine Data Source" as a type
"User".
Chapter 4: Output and Input objects 89
ASCII as Input
• Select the Get Row from Counter Input check box to link the list to an
existing counter, and select the counter from the list box below.
90 Chapter 4: Output and Input objects
• Subst. Set checkbox and combo box are used to assign a Substitution Rule Set
to the input object, see Substitution Rules on page 54 for more details.
• To set the details of the ASCII file, click the Advanced button and the ASCII
Input Advanced features dialog box will be opened.
• First select the type of ASCII file you are using by clicking Flat ASCII File or
CSV File at the top of the dialog box.
o Select the size of the read block (in characters and lines units) at the
Read Block Size, Width and Height boxes.
o Select the start position of the reading in the ASCII file in terms of
Columns, Lines and Pages from the beginning of the file.
o Select the amount to proceed in each reading step from the file in terms
of Columns, Lines and Pages.
o Select the delimiting characters that will separate the fields of the file.
This is usually the “,” (comma) character, but it may be any other
character. If the file is separated by the "Tab" character, you must write
its ASCII hexadecimal value, since this is an action character, so you
must write "<0x09>" in case it is a Tab separated file.
o Select which field of the CSV file you want to read (counting from left
to right, when the first field is number 1).
o Select what is the size of the block you want to read (how many lines).
o Select whether you want the field to be a search field, if so check the
Use Field Search checkbox:
Select the key text to be searched by clicking the <…> button and
selecting a fixed text, or an input field as the input to the search.
Check the Key Field is Sorted checkbox if the CSV file is sorted
according to the key search, this will increase search speed, but
may result in wrong results if the CSV file is not sorted.
• Select a translation table for the file, if needed, in the Translation Table
combo box.
92 Chapter 4: Output and Input objects
• Select whether you would like xPress2 to trim spaces from either side of the
field in the Trim Spaces combo box.
• If you would like to add a fixed text before and/or after the field text, type it in
the Before and/or After boxes.
• If you want xPress2 to add the result of the ASCII input to a result of another
input and use it as the final result of the ASCII input object, check the
Mathematically add data to input checkbox, and select the desired input
object from the combo box.
PDF as Input
o Check the Static box to read a specific page from the PDF, and then
select the page number from the Starting at Page box.
o Uncheck the Static box to read different pages of the PDF file, and then
select the page number to start the reading from the Starting at Page
Chapter 4: Output and Input objects 93
box. xPress2 will advance by one page in the PDF document for each
new document object.
o If the page number reading order from PDF is not consecutive, select the
radio button Get Page from the Counter Input and select the counter
input object that indicates the linked page numbers.
Another useful way to control the presentation order of the PDF pages is to
connect the picture output into a chain input instead of to the PDF input.
Then inside the chain you put the PDF input, followed by a comma (",")
character (as a static text) and followed by another input that contains the
page number in any order (e.g. a list input with numbers in it, or an Excel
file with the page numbers in it). This will allow you to print the PDF in
any page order you like.
Chain as Input
• To delete an existing Chain Item, select the desired Item, and click the Delete
button.
94 Chapter 4: Output and Input objects
• Use the up/down arrows to change the order of the Chain Item.
• Subst. Set checkbox and combo box are used to assign a Substitution Rule Set
to the input object, see Substitution Rules on page 54 for more details.
Chain Items
Each Item in the chain can be one of the following: an input object, a fixed text or a
carriage return sign. Select the desired Item Type using the radio buttons on the left.
• Input Object – Select the desired Input Object from the list, Input objects that
can be added to a Chain can be from any type but File, PDF or Chain.
• Fixed Text – Type the text you want to add to the chain.
• Carriage Return – This will add a carriage return character (New Line) to the
chain.
You can't make a chain input object that will contain other chain input
objects.
Chapter 4: Output and Input objects 95
Connector as Input
• If you want to use a language that is different from your default operating
system language in your document, you may need to use the Unicode
encoding. In this case, check the Use Unicode checkbox. Note that you can't
use Unicode in every situation, for example: you can't link a barcode or check
outputs to an input that was defined as Unicode.
96 Chapter 4: Output and Input objects
Chapter 5: Scripts
The Script is a tool which enables you to create very powerful xPress2 applications.
Using a Script, it is possible to embed a Basic like program in the document, this
program will have functions and commands that their arguments are taken from the
document and their results will influence the document.
Among the actions that can be performed in the script, you can find all of the
standard basic commands and statements, such as:
• Mathematical actions.
• String manipulations
The software allows two types of scripts: The master script and an internal script for
each output object. A complete list of all the legal statements and functions possible
in the xPress2 script language is available in the on-line help of the software.
The master script allows you to create programs that perform actions with influence
on the entire document, such as:
• Reading data from external files and inserting it into input objects.
In this dialog box you can edit the script's text, and make additional actions that will
make it easier for you to work with scripts. Additionally, in this dialog box you can
run the script line by line in debug mode to diagnose malfunctions and make sure the
script you wrote is valid.
File Clear Contents Clear all the content of the script editor.
Exit Exit the script editor and return the xPress2 software.
Debug Run Script Run the script from start to end continuously.
Step Into Run the script one line at a time, step inside
Step Over Run the script one line at a time, step over functions.
Step Out Run the script until exiting the current function.
You can assign a script to each output object. This script can perform actions that will
affect this object. Usually the purpose is to change the way the object displays the
data according to the value of the data itself. A simple and common example is to
display text in a different color (for example red) when the data answers some criteria
(for example a negative value).
In order to create a script to an output object, you need to choose the object from the
objects tree, select the Script tab, and write the script directly in the textbox.
However, it is usually more comfortable to edit the script in a separate window,
which is also larger and you can see different colors according to the different parts
of the script.
Chapter 5: Scripts 101
The most common commands in the output object script are the GetMyData
command which returns the data of the object at print time, and the SetMyProperty
command that changes the value of a specific property of an output object. In the
above example, if we assume that the output object is a Text object, it receives its
data from a Counter input object, and the numbering starts from 1 and increases in
each page, then on the first page the text color will be blue and on the rest of the
pages the text color will be red.
A complete list of all the existing functions and the properties for each output object
type in the xPress2 script language is available in the on-line help of the software.
102 Chapter 5: Scripts
After you finished preparing your documents, there is sometimes a need to run
xPress2 with a specific document on a given data file in command line (usually as a
part of an external script of another system). In order to do this, xPress2 has the
ability to run in command line mode with a variety of arguments to perform different
actions. The syntax of these arguments is:
where <xPress file> is the full path name to the document file you want to open with
the software and [options] is one or more of the following options:
/pt <printer name> Print the opened xPress2 file to the specified printer.
/fm <file item> <file name> Replace the file manager item specified with the new
data file specified. For more information about the file
manager see page 53.
/xps <file name> Use the specified xPress2 startup file (XPS file) to
determine the initial values for the input objects and
for the document object. More information about
xPress2 startup files is followed hereafter.
/runscript Run the master script after opening the xPress2 file.
104 Chapter 6: Running in command line
If you use the /p or /pt options (meaning automatic printing), then the
xPress2 software will be closed after the document was printed, otherwise
the xPress2 software will remain opened.
XPS files are used to assign values to input objects and to the document object during
the startup of the xPress software, these values are written in a textual file that is
composed of consecutive lines, each of them has the following structure:
ObjectName.Property=Value
Property The name of the property to be changed. You can find a list
and a description of all the property names for each input
object type in the online help under scripts.
Document.NumberOfPages = 10
Document.Orientation = 1
Input 001.Text=NewText
Chapter 7: Frequently Asked Questions 105
(1) Question:
How do I change the input of an existing output object to a different input object?
(1) Answer:
Link the objects using the Object Tree: Select the output object in the Objects Tree
and drag it to the input object you want to link it to. Release the mouse button when
the object is located on the correct Input. The output object will now appear under the
new input object in the Objects Tree.
(2) Question:
I have linked a few output objects to an existing Input. Therefore the Objects Tree
includes inputs without a linked output. Can I delete all of them at once?
(2) Answer:
You can delete all unused input objects by selecting the Clear Unused Objects
option from the Objects Menu.
(3) Question:
I have created objects in my documents, using the automatic names (output1, output2
etc). How can I give meaningful names to these objects?
(3) Answer:
In order to change the name of an object, right click the object on the Objects Tree
and select Rename from the Context Menu.
106 Chapter 7: Frequently Asked Questions
(4) Question:
I have created a counter input to a text output. How do I change this input to a list
input?
(4) Answer:
To change the input type, right click the Input in the Objects Tree, select Change
Type To from the Context Menu and select the required new input type.
(5) Question:
When I am printing in duplex, and have more than one object on the page, the even
pages are supposed to be flipped left-right. That way the correct object will be printed
on the back side of each object from the front of the paper. How can I do it?
(6) Answer:
Select the counter objects in your document, and in the input characteristics, click the
Advanced button. In the dialog box, check the appropriate Horizontal or Vertical
checkbox (according to the type of duplex you are using) under Flip Counter
Position for Duplex Page.
(6) Question:
When I click on an object in the Working Area, the corresponding objects in the
Objects Tree are highlighted. Is it possible to select an object in the Working Area by
clicking on it from the Objects Tree?
(6) Answer:
Yes, it is possible. Double click the desired object on the Objects Tree and it will be
selected on the Working Area.
Chapter 7: Frequently Asked Questions 107
(7) Question:
I added an output object under the Copies input object, but in the working area I see
only the text of the first (original) page. Is it possible to see the other copies in the
working area?
(7) Answer:
Yes, it is possible. Select the desired page type (e.g. copy 1) from the Show objects
on combo box in the Toolbox, and then only the objects that are visible on that page
type will be displayed on the working area.
(8) Question:
How can I make an object to appear only on the notebook cover page and not on
normal document pages?
(8) Answer:
Select the desired object, and in the layout characteristics, click the Set Visibility
button. In the dialog box, check only the notebook cover page and uncheck all other
page types.
(9) Question:
How can I tell what was the xPress2 version used to create a certain document?
(9) Answer:
From the File Menu, select Show File Version. The version of the document will be
displayed in a dialog box.
108 Chapter 7: Frequently Asked Questions
(10) Question:
I want to make a document that is 5cm * 9cm in size. Is there a way I can instruct
xPress2 to make the calculations needed for the margins and amount of objects
automatically?
(10) Answer:
Yes, it is possible. Select Page Wizard from the File menu. In the dialog box, type
the appropriate object height and width, and select the page size. xPress2 will
calculate the best layout to place the selected document-object's size on the selected
page size and will show you a preview. If the layout is acceptable, click the Apply
Settings to Document button. The settings you chose will be implemented to your
xPress2 document.
(11) Question:
I am using a database input object to read data from an MDB file, but if I change the
SQL query, the result is not updated. Only after I reselect the DSN the new SQL
query is being used.
(11) Answer:
The DSN you are using is probably a File DSN and not a User DSN. You must
redefine your DSN and select the new DSN in the database input object.