CardPresso Manual 1.7
CardPresso Manual 1.7
by cardPresso, Lda
Version 1.7
All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or
mechanical, including photocopying, recording, taping, or information storage and retrieval systems - without the
written permission of the publisher.
Products that are referred to in this document may be either trademarks and/or registered trademarks of the
respective owners.
While every precaution has been taken in the preparation of this document, the author assume no responsibility for
errors or omissions, or for damages resulting from the use of information contained in this document or from the use
of programs and source code that may accompany it. In no event shall the author be liable for any loss of profit or any
other commercial damage caused or alleged to have been caused directly or indirectly by this document.
June 2022
4 cardPresso Manual
Contents
0
Chapter 4. Design 45
4.1 - Workspace
..................................................................................................................................... 46
4.2 - Document
.....................................................................................................................................
Properties 50
4.2.1.............................................................................................................................................................................................
- Background 51
4.2.2.............................................................................................................................................................................................
- Clipart 55
4.2.3.............................................................................................................................................................................................
- Layouts 57
4.2.4.............................................................................................................................................................................................
- Script 62
4.3 - Document
.....................................................................................................................................
Objects 64
4.3.1.............................................................................................................................................................................................
- Line 64
4.3.2.............................................................................................................................................................................................
- Rectangle 67
4.3.3.............................................................................................................................................................................................
- Circle 68
4.3.4.............................................................................................................................................................................................
- Shape 69
4.3.5.............................................................................................................................................................................................
- Text 70
4.3.6.............................................................................................................................................................................................
- Print Counter 71
4.3.7.............................................................................................................................................................................................
- Print Date 72
4.3.8.............................................................................................................................................................................................
- 1D Barcode 73
4.3.9.............................................................................................................................................................................................
- 2D Barcode 74
4.3.10
.............................................................................................................................................................................................
- Im age 75
4.3.11
.............................................................................................................................................................................................
- Signature 76
4.4 - Object.....................................................................................................................................
Properties 78
4.4.1.............................................................................................................................................................................................
- Item 79
4.4.2.............................................................................................................................................................................................
- Position 80
4.4.3.............................................................................................................................................................................................
- Shape 80
4.4.4.............................................................................................................................................................................................
- Rotation 81
4.4.5.............................................................................................................................................................................................
- Outline 82
4.4.6.............................................................................................................................................................................................
- Fill 83
4.4.7.............................................................................................................................................................................................
- Font 86
4.4.8.............................................................................................................................................................................................
- Barcode 89
4.4.9.............................................................................................................................................................................................
- Im age 90
4.4.10
.............................................................................................................................................................................................
- Source 91
4.4.10.1 - Text......................................................................................................................................................................
& Barcode 93
- Print Counter ................................................................................................................................................................ 93
- Print Date ................................................................................................................................................................ 95
- Keyboard Input ................................................................................................................................................................ 97
- Database ................................................................................................................................................................ 108
- Item Link ................................................................................................................................................................ 110
4.4.10.2 - Image ......................................................................................................................................................................
& Signature 110
- From Disk ................................................................................................................................................................ 111
- From Camera ................................................................................................................................................................
or Scanner 113
- From Signature ................................................................................................................................................................
Pad 115
- From Image ................................................................................................................................................................
Editor 117
- From Database ................................................................................................................................................................ 119
- Item Link ................................................................................................................................................................ 121
4.4.11
.............................................................................................................................................................................................
- Alignm ent 122
4.4.12
.............................................................................................................................................................................................
- Script 123
4.4.13
.............................................................................................................................................................................................
- Multi Align 124
5.6 - Managing
.....................................................................................................................................
Records 149
5.6.1
.............................................................................................................................................................................................
- Adding Records 149
5.6.2
.............................................................................................................................................................................................
- Editing Records 150
5.6.3
.............................................................................................................................................................................................
- Deleting Records 150
8.1 - Document
.....................................................................................................................................
Password Protection 200
8.1.1
.............................................................................................................................................................................................
- Activate Docum ent Passw ord Protection 200
8.1.2
.............................................................................................................................................................................................
- Deactivate Docum ent Passw ord Protection 201
8.2 - Users.....................................................................................................................................
allowances 201
8.2.1
.............................................................................................................................................................................................
- Users View 201
8.2.2
.............................................................................................................................................................................................
- Users 203
8.2.2.1 - Enabling ......................................................................................................................................................................
User Logins 203
8.2.2.2 - Login...................................................................................................................................................................... 204
8.2.2.3 - Add ......................................................................................................................................................................
User 205
8.2.2.4 - Remove ......................................................................................................................................................................
User 206
8.2.2.5 - Edit a......................................................................................................................................................................
User 206
8.2.3
.............................................................................................................................................................................................
- Groups 207
8.2.3.1 - Add ......................................................................................................................................................................
Group 207
8.2.3.2 - Remove ......................................................................................................................................................................
Group 209
8.2.3.3 - Edit a......................................................................................................................................................................
Group 209
8.2.4
.............................................................................................................................................................................................
- Auditing 210
8.2.4.1 - Audit......................................................................................................................................................................
Report 211
Our Mission
cardPresso, Lda is always developing cutting edge ID Card solutions since
2012.
Our programmers have used the most recent innovations from different fields of
information and ID security technologies.
Our goal is to create the perfect balance of functionality and usability, while
ensuring end users ease in using our software. We're constantly exceeding our
goals through the team efforts of our developers, analysts, re-sellers and our
most important contributors, our clients.
Reliability.
Our day-a-day work is guided by excellence, customer focus and innovation,
always looking for to become a strong and reliable partner in our customer’s
business.
Expert development.
Our Development Team works diligently to surpass proposed objectives and
market tendency, always looking for to be reference in our business area.
1.1 Overview
Welcome to cardPresso.
cardPresso is more than an application...
1.2 Features
§ User Interface
cardPresso has five different views:
the Welcome View where you define how you start or resume a previous card
creation process,
ú the Users View where you can define groups and user log-in management,
ú the Document View that gives you a complete overview of the document and at
the same time allows you to work directly on the card design,
ú the Database View that is a full manipulation tool,
ú and finally the Encode View where you can setup your card encoding..
§ Print
cardPresso offers a front and back print option, SDK driver printing, Ethernet
printer support, overlay panel management and batch printing, print status and
in some editions conditional printing over database.
§ Database
cardPresso allows you to connect to any kind of database, such as CSV,
Excel, Access, among others. cardPresso brings an internal database with
photo connection and a powerful database tool set where you can create and
edit a database, link an image to a field, browse, filter and find records, and
concatenation options.
§ Encoding
This feature allows magnetic encoding, contact smartcard plugin, contact
smartcard encoding, contactless RFID encoding and internal / external RFID
encoding. cardPresso also has internal / external RFID encoder support.
§ Miscellaneous
cardPresso gives you free updates and automatic edition upgrades.
A user log that permits a step-by-step follow up of your work.
A programming script (JavaScript, based on ECMA Script Language
Specification).
1.3 Licensing
Since version 1.7.X cardPresso software can be licensed with an activation
code or an USB key.
- If you have an activation code, after installing the correct version (see
Installing cardPresso topic) Click on CP » cardPresso License and select the
"Activation Code" tab. There you must fill in the corresponding field with the
activation code you received.
Advice: Always make a copy of your work. All data on your USB keys is
recoverable except your work. A USB key is a piece of hardware as reliable as
any other.
If you have an USB key, please connect it on one of your available USB ports,
the AutoPlay will run automatically and choose the 'Open Folder to view files'
option.
Double-click on the cardPresso executable file and the Installation Wizard will
run. The Installation Wizard is displayed where you can verify the Serial
Number of your product and also select the language to install. To proceed with
the installation click the 'Next' button.
Install or Evaluate
Select the installation folder. By default cardPresso software is installed on the
Programs Folder but you can select another destination folder by selecting the
'Select Destination folder' option.
Check the option 'Install for all users' if you want other Windows users to also
run cardPresso software. Click 'Next' to continue.
If you want to run the application without installing it please click 'Evaluate'.
Shortcuts
Check the shortcuts that you want to create for easy access to the application,
and if you wish to open card files immediately with cardPresso select the file
associations checkbox. Click 'Next' to continue.
Finish
Click 'Finish' to install cardPresso software.
Now drag and Drop the cardPresso icon into the Applications folder alias to
install.
Document - Contains all data related to your work, including the chosen model
or template, all objects, database connections, properties, and encoding
properties. In summary, all the properties involved in your card document
creation.
Model - Contains all the features and shape of your physical card. These
features are size and card type, if it is a basic card, contactless, magnetic or
smartcard. Please notice that the card settings depends on your chosen or
created model type. For instance, you can't access the chip encoding settings if
you've chosen or created a card without SmartCard capabilities..
Here you can also access the Production Mode (available on cardPresso XS)
or the Users View (only on cardPresso XL Edition or higher).
You can get help in different ways. Choosing "Help" from the Help menu or
context-sensitive help that is always available by pressing the F1 with the cursor
located on the element on which you want help. In addition, many dialog boxes
contain a Help button.
3.1.1 - CP Menu
The top menu bar, gives you access to the "CP" menu.
Here you can find information related to cardPresso.
USB Devices - Show all information about your cardPresso USB key, the
drive ID and the serial number, if this information is not shown it means that
your USB key has not been recognized by the system, please check it.
Printer Drivers - Shows information about the printers and drivers installed
on your computer and if you click on 'View All Supported cardPresso Printers'
you have access to a list of compatible encoding printers.
To create new card, in the Welcome View Click Create New Card
button
Then you can choose the card type that you intend to use from our list of
supported card types:
After selecting the card type, the cardPresso Design View will automatically
open, giving you access to all the tools you need to add and edit content to your
new card.
To better organize your documents, in the "Open Card" window, you find
"cardPresso Favorites" with two folders - "My Recent Cards" and "My
Cards". Or alternatively you may locate your file in another folder in "My
Computer".
You can sort the way how the cards are displayed. You may sort them by
Name, Name Descending, Modification Time, Modification Time Descending,
File Size and File Size Descending.
In the lower right corner you can find the information about how many readable
documents are currently present in the selected folder, or the name for the current
selected card document.
The first step will be to locate the card document that you wish to open. In order
to do so, please click the 'Open' button on the "Welcome View" or use the
'Open' option from the 'File' menu.
Click OK.
Select the file extension in the corresponding Combo Box, otherwise your file
will not be listed. To proceed "Open".
Before opening your backup, you should know where cardPresso created the
backup folder during installation. To check the path:
Now that you know where your backups are stored (.../users/.../
Documents/Backups ), you can easily locate the backup document that you
need to recover.
Click OK.
Now all you have to do is to save your document with another name and with
.card extension.
Select the correct file extension in the corresponding Combo Box, otherwise
your file will no be listed.
But if for some reason these categories don't fit your needs, you can always
create new ones, just go to My Templates directory and once there create a
new folder and cardPresso will assume that folder to be a template category.
The Templates cover a wide range of graphics and variable field types, all of
them fully editable. These professional templates are part of your cardPresso
software. Your cardPresso USB dongle also contains additional templates.
You can create a card based on a template and then modify the document
without affecting the original template
To create your own template, start by creating a new card and chose a model
type that fits your need. For instance, if you chose a contactless model, the
result will be a template based on your contactless, but with your own design.To
create your own template, start by creating a new card and chose a model type
that fits your need.
Click 'OK'. If you want to continue. Otherwise click 'Close' to revert to the
previous window.
A template may include any object type, variable field or text that can be
edited and modified at any time. Make all the changes you want on your
template and then save it with '.cardTemplate' file extension, in the appropriate
folder in cardPresso (.../My Cards/My Templates/...).
After you have completed your template edition click Save and your old
template will be replaced with the new modifications.
The first one only requires you to choose one of the many different types of
models that cardPresso has at your disposal. Like mentioned before, you have
four major kinds of card models: basic, contactless, contact smart card and
magnetic, and each type can have different settings like sizes, different kinds of
magnetic strips and so on, all listed on cardPresso model type.
But if you have a specific type of card model that is not listed, cardPresso
allows you to create it and that's the other way to create a document, using a
new card model.
Note that whatever model you choose, it will restrict access to further settings and
properties, like referred before. If you open a "Contact Smart Card", the result will be a
model of your "Contact Smart Card", where you can only edit Smart Card Settings, and it
will not allow you to access, for instance, RFID settings.
Then choose the type of model you want. The model types are organized in
5 groups:
Common - are the most common types of card models, used by the vast
majority of users.
Magnetic - this model type allows you to encode the magnetic stripe
through cardPresso. This means that you can print and encode your card at
the same time or use an external encoder. These cards may contain secondary
technology, like RFID technology.
Mifare - this card model, when chosen, allows you to read or write the
several sectors of your card. By using JavaScript language you can connect
the sectors to database fields and update them automatically or simply enter
data through keyboard input, therefore you can print and encode at the same
time. These cards may contain secondary technology, like Magnetic stripes.
Contact - a smart card, chip card, or integrated circuit card (ICC) is any
pocket-sized card with embedded integrated circuits. In cardPresso you have
four types of card models, I2C, JCOP (Java Card), SLE4442 and generic. This
type of card model allows you to encode through cardPresso. By using
JavaScript language, you can program your card and perform read and write
operation on the card. This also means that you can print and encode your card
User Models - if you have any models in folder "My Models", they will
become available in this group.
After you have chosen the model type, 'Click OK' and you will be able to
start working on your new card. Or 'Click Close' if you want to revert to the
previous window.
For your first card design, please watch the video tutorial Create a Business
Card, check also heck he Objects and Properties topic.
Your next step is to save that same model with the extension '.cardModel' and
save it in the cardPresso folder called "Documents/My Models" in order to be
identified as a model.
It is important that you save your file in the folder "My Models", to be
displayed in the category "My Models" in "Select model type".
Click File Save or Save as and create your file as the example below, in
your folder "Documents" (To see the folder location, please click on menu
CP View Folders)
At this point, you've created your new model "yourdoc.cardModel." The next
step will be to locate your file and open it.
Select the file extension in the corresponding combo box, otherwise your file
will not be listed.
After opening the model, you can customize the dimensions and corners
radius. On your right on the properties tabs you will find a tab named "Layout"
where you can change the card dimensions and corners radius,
You can also change the orientation of your card by clicking on File menu
Configure Print and In "Print Layout" Click Orientation and select your
card orientation. The card orientation can be changed at any time, but this will
be your card default orientation.
You can add images, text or other elements to customize the thumbnail that
you will see in the preview area.
The last step is to save the model that you've just created. From now on the
new model will be displayed in the Create Document Dialog Box, under the
category "My Models".
The new version of the Production Mode allows you to customize your working
space with a background color of your choice, to add your company logo and
freely arrange the fields on the form, creating a pleasant and useful working
environment for your card production!
In the Production Mode area (4) you find all the customizable options for the
Production Mode.
In the Production Mode area (4) you find all the customizable options for the
Production Mode.
Show Table View (5) – Allows you to display/not display the Table View on the
Production Mode. The Table View allows you to select several records of the
database and print a batch of records. When not displaying the Table View, the
Edit Records option is shown with a single record. In this view only one record
can be printed at a time.
Background (6) – Define your background color using the color palette or by
inserting a specific RGB code.
Logo (7) – Upload your company logo or a banner of your choice, including
images with transparency. The recommended dimensions for this image are
800 x170 pixels. Only *.png format is supported.
Number of Columns (8) – Define the number of columns of your form up to 3.
Columns (9) – Configure which columns will be available on the form, go to Edit
Records » Columns.
Buttons (10) – Configure the type (icons or text) and the buttons to be shown
on the form, please go to Edit Records » Buttons.
Menus (11) – Define which menus of the application top bar will be visible in the
Production Mode.
Dockbars (12) – Define if card Preview, Database Find and Database Filter*
When in the Production Mode, click in the Design View icon to go directly to the
configuration area where you can adjust your design or Production Mode
working space.
To prevent users from changing the layout, you can activate the Design
Password Protection on the document (Read more on Chapter 8.1 -
Document Password Protection)
Using this setting, the user will be required to insert a password each time they
try to go to the Design View, preventing unauthorized changes on settings or
design.
Chapter 4. Design
The definition of design is the creation of a plan or convention for the
construction of an object (as in architectural blueprints, engineering drawing,
business process, circuit diagrams and sewing patterns). Design has different
connotations in different fields. In some cases the direct construction of an
object (as in pottery, engineering, management, cowboy coding and graphic
design) is also considered to be design.
In cardPresso you can design and build a layout. To accomplish this,
cardPresso provides the user with specific tools and objects, allowing you to
build your layout according to your imagination, capabilities and needs.
As you know, when you design you create a file, called document, this
document keeps inside all the settings you will use on your creation.
4.1 - Workspace
In cardPresso you can customize your working area as you wish. You can
reposition the menu bars or you can view or hide properties areas.
On the View menu you have a set of options that allows you to change your
working scenario.
ToolBars
Here you can select all the dockbars that should be available in the working
space.
Metrics
Allows you to define the measurement unit that you wish to work with.
Rulers
Visible - Show or hide the rules in the card design area.
Grid
Visible - Set the card visible or hidden
Snap to Grid - Allows you to move and/or position the objects on a grid unit
step or free move
Workspace Color
Allows you to chose the workspace background color.
Clipart - You can access it using the Clipart Tab. They can be used as an
image object, part of your card layout creation, or as a background. Please
note that you can only change the background color of the object.
Layouts - Like we said before in this manual, when you design a card, you
are building a layout and in cardPresso, a document can have as many layouts
as you want. The Layouts Tab is our way to offer you a quick way to manage all
the possible layouts on your card document.
Script - The Script Tab allows you to write your own script commands,
based on the ECMEAScript language specifications. This is a way to extend the
already large number of features that cardPresso offers you. It also allows you
to interact with external software, using the results to apply on your document.
You have three different kind of script boards, one for each object, one for the
card document and one for encoding, three different ways to expand
cardPresso capabilities.
4.2.1 - Background
An image to be applied as the background of your card. cardPresso offers
you many background images that can be used from landscape cards to portrait
cards.
Background images are divided into classes that are accessible through the
background combo box.
And select through the Explorer Browser the Folder with the images to use as
Background.
It's also possible to use your own image as the card background.
Add an image object to your layout, then right click on the object and chose 'Set
as a Background' option, like shown on the picture below.
If you want to change or edit the background, right click on the card and
choose 'Edit background'.
The Image Editor will open and from there you can edit the background image.
To commit changes, click on the 'Save Changes' button, otherwise press
'Cancel' to continue.
4.2.2 - Clipart
Clipart images are pre-made images that can be used to help on the layout
creation. cardPresso offers you several.
They are divided into classes. All you have to do is select one class from the
dropdown combo box.
Select the image from the clipart list, and drag it to the card design area. The
selected image will be used as an image object that you can modify.
4.2.3 - Layouts
The Layout Tab allows you to define properties, settings and conditions for
the use of the layouts. This feature allows you to use the same card document
on as many layouts as you need and conditionally print the ones you want.
After you enable the checkbox, the first drop list shows all the available fields
from the connected database. You can apply conditions based on the available
fields as you can see below.
Is Equal - Link the chosen layout to all records with the selected field equal
to the input value.
Is Not Equal - Link the chosen layout to all records with the selected field
different from the input value.
Contains - Link the chosen layout, based on the field value, to all the
records that contains the input value.
Not Contains -Link the chosen layout, based on the field value, to all the
records that do not contain the input value.
Is Null - Link the chosen layout to all records where the selected field is a
null value.
Is Not Null - Link the chosen layout to all records where the selected field is
not a null value.
After you have chosen one condition, you can set it to match any string, like
shown on previous picture , however please notice that the condition is not
case sensitive.
If the record doesn't comply to any condition it will assume the layout of the
previous record.
What benefits may be obtained from using multiple layouts? To explain it, we
will show you a sample case using one of the predefined templates available
with cardPresso.
Now let´s imagine that you have three different departments in your
company, Sales, Marketing and another one that for this example purpose we
will call it General, but only one database and you need distinguish them visually
for faster identification. The process is simple:
It’s time to start working on the card layouts. Now click on the Layout Tab.
As you can see you already have one layout, from cardPresso business card.
Now we will add two new layouts in order to have three different layouts for
sales, marketing and general departments.
To start, change one of the layout's name to Marketing and then click on the
auto select checkbox to set the conditions.
On the database field, choose the field that will define the layout selection, in this
case will be the Position field.
Then in the next drop list set the condition for the chosen field, on our example
we set it to 'Contains'.
And on the text box below add a value for the condition. In this case it is the
department's name, remember that this is not case sensitive.
Finally, enable the 'Auto select' checkbox. This option allows you to see the card
layout that depends on the condition field type when scrolling through the
database records.
Now choose a distinguishing color for the card that in our example is what will
define visually the different departments.
Now add a new layout for Sales and General departments. Click on the copy
button twice.
As you see it copies our previous card to the new layout. All we need to do now
is the same procedure we made for the Marketing layout.
Define database settings for each new layout.
Now use the navigation buttons and start scrolling through the database records.
As you can see, now the setup of the card is finished, connected to an excel
database and with three different layouts to define the different departments.
This is an example, you can choose as many layouts as you want and set
your own conditions.
4.2.4 - Script
There are two kinds of scripts in cardPresso, one for each object and one
for the document. In this chapter we focus on the card document script.
This is an advanced user area, where you can program actions and procedures
in ECMEAScript language in order to define settings or update your object.
This drop-menu allows you to define when the actions or procedures must
take place.
And in the space below you can write your lines of code.
4.3.1 - Line
This object is a simple straight line, but still has some features that you can
setup. You can choose between five different kinds of lines and a custom one.
DashDotDot LIne: One dash, two dots, one dash, two dots.
The Custom Line is a line that you can define as you wish. By clicking on
the 'advance' button you can set additional parameters like offset and pattern.
Line width: pre-defined options vary between 0.01" to 0.25", but you can
type a customized value.
You can, also, change the color by clicking in one of the colored squares,
acquire any color you have on your screen using the dropper or use the
advance color settings by clicking on the 'More Colors' button.
By clicking on the 'advance' button you have access to settings that allows
you to change the shape of your line. All you have to do is to write the command
on the line like shown below.
SquareCap: A square line end that covers the end point and extends
beyond it by half the line width.
FlatCap: A square line end that does not cover the end point of the line.
RoundCap: A rounded line end.
If you right click on the object a pop-up menu is shown allowing you to:
Send to Front - Send the object to the front of all objects on the work
space.
Send to Back - Send the object to the back of all objects on the work space.
4.3.2 - Rectangle
This object can be either a rectangle or a square, depending only on the
side measures.
If you right click on the object a pop-up menu is shown allowing you to:
Send to Front - Send the object to the front of all objects on the work
space.
Send to Back - Send the object to the back of all objects on the work space.
You can also setup a number of properties and settings on the properties
tab, on the right of your screen. All properties and settings will be
addressed further on this manual.
4.3.3 - Circle
This object can be either a circle or an ellipse. By moving the delimitation
lines you can change the appearance of the object.
If you right click on the object a pop-up menu is shown allowing you to:
Send to Front - Send the object to the front of all objects on the work
space.
Send to Back - Send the object to the back of all objects on the work space.
You can also setup a number of properties and settings on the properties
tab, on the right of your screen. All properties and settings will be
addressed further on this manual.
4.3.4 - Shape
This object can assume many different shapes. On the Shape Tab you have
a dropdown menu with several categories of shapes. Inside each there are
several shapes that you can add to your card.
You can change the color by clicking in one of the colored squares, acquire
any color you have on your screen using the dropper or use the advance color
settings by click on the 'More Colors' button.
If you right click on the object a pop-up menu is shown allowing you to:
Send to Front - Send the object to the front of all objects on the work
space.
Send to Back - Send the object to the back of all objects on the work space.
You can also setup a number of properties and settings on the properties
tab, on the right of your screen. All properties and settings will be
addressed further on this manual.
4.3.5 - Text
The text object allows you to add text to your card document. After
positioning the text on the card design area double-click on it to start typing your
text. The default text format is a text box.
There are three kinds of text objects: alphanumeric, numeric and Lists.
With the alphanumeric text objects, you can use a single line text or a text box,
that allows you to write more then one line of text.
The numeric type is divided in value, integer value and date/time.
There is also Lists and Database Lists, that are no more than a small list with two
fields, one works as an index and the other as the data that the object should
display.
If you right click on the object a pop-up menu is shown allowing you to:
Send to Front - Send the object to the front of all objects on the work
space.
Send to Back - Send the object to the back of all objects on the work space.
You can also setup a number of properties and settings on the properties
tab, on the right of your screen. All properties and settings will be
addressed further on this manual.
It also allows you to define the counter numeric format and values.
If you right click on the object a pop-up menu is shown allowing you to:
Send to Front - Send the object to the front of all objects on the work
space.
Send to Back - Send the object to the back of all objects on the work space.
You can also setup a number of properties and settings on the properties
tab, on the right of your screen. All properties and settings will be
addressed further on this manual.
If you right click on the object a pop-up menu is shown allowing you to:
Send to Front - Send the object to the front of all objects on the work
space.
Send to Back - Send the object to the back of all objects on the work space.
You can also setup a number of properties and settings on the properties
tab, on the right of your screen. All properties and settings will be
addressed further on this manual.
4.3.8 - 1D Barcode
This object allows you to create a barcode. A barcode is an optical machine-
readable representation of data relating to the object to which it is attached.
There are many different barcode types, Code 128, EAN-8, UPC among many
others. Each one with different features and settings.
You can setup to see only the bars or complement it with readable data.
You can also connect the object to a database field to become a dynamic
readable source.
If you right click on the object a pop-up menu is shown allowing you to:
Send to Front - Send the object to the front of all objects on the work
space.
Send to Back - Send the object to the back of all objects on the work space.
You can also setup a number of properties and settings on the properties
tab, on the right of your screen. All properties and settings will be
addressed further on this manual.
4.3.9 - 2D Barcode
This object allows you to create a 2D barcode. A 2D barcode is also an
optical machine-readable representation of data relating to the object to which it
is attached, evolved from the 1D barcode into rectangles, dots, hexagons and
other geometric patterns in two dimensions (2D). Although 2D systems use a
variety of symbols, they are generally referred to as barcodes as well.
There are many different 2D barcodes types, PDF417, Datamatrix, QR-Code
and others. Each one with different characteristics.
You can also connect the object to a database field to become a dynamic
readable source.
Please be aware that this object is only supported from XM edition onwards.
If you right click on the object a pop-up menu is shown allowing you to:
Send to Front - Send the object to the front of all objects on the work
space.
Send to Back - Send the object to the back of all objects on the work space.
You can also setup a number of properties and settings on the properties
tab, on the right of your screen. All properties and settings will be
addressed further on this manual.
4.3.10 - Image
This object is a very important one, not only because it allows you to add and
work an image on your card, but also allows you to transform that image into
your card background.
It can be added to your card from any source available like a scan device,
camera, disc or cloud and allows any kind of image, jpg, png and others.
With cardPresso you can transform that image as you want, changing color,
light, size and many other settings.
Making it your card background is easy, right click on the image and
chose 'Set as Background' and your picture is adapted to your card size.
If you right click on the object a pop-up menu is shown allowing you to:
Send to Front - Send the object to the front of all objects on the work
space.
Send to Back - Send the object to the back of all objects on the work space.
Export Image - Allows you to export the image as a file to anywhere on your
computer.
Set As Background - Set the image as the background of your layout.
You can also setup a number of properties and settings on the properties
tab, on the right of your screen. All properties and settings will be
addressed further on this manual.
4.3.11 - Signature
This object allows you to add a Signature on the card.
If you right click on the object a pop-up menu is shown allowing you to:
Send to Front - Send the object to the front of all objects on the work
space.
Send to Back - Send the object to the back of all objects on the work space.
Export Image - Allows you to export the image as a file to anywhere on your
computer.
You can also setup a number of properties and settings on the properties
tab, on the right of your screen. All properties and settings will be
addressed further on this manual.
These tabs change depending on the object we are dealing with on the working
area and as you will see further on in this manual.
Script, Layouts, Clipart and Background are the four basic tabs already
referred on the 'Card Document Settings' chapter. These tabs are shown after
you chose your card model and are previously referred to in this manual.
4.4.1 - Item
The Item tab allows you to define the ID, Group and visibility of an object.
Object ID - Defining the object ID not only helps you organizing data on
your document, but also gives you an easier object identification and helps you
on encoding operations.
When manipulating a database you can use an ID to identify objects that will
help you while programming a script.
Design Not Allowed - Check the 'Design not allowed' box protecting the
object from being changed, but only the graphical appearance and drag & drop
position, not the content. This option is applied to all objects but background.
Print - Lets you set if an item should be printed (Yes), if an item should not
be printed (No), if it should only be printed when it contains data (Only when
has data), or if it should only be printed when the data currently displayed in
the item is valid for the type of item (Only when has valid data).
Opacity - You can also define the opacity level of the object by scrolling the
opacity button, from 100%, the default position to 0%.
Encoding - For items that hold data to be encoded, like magnetic tracks, this
option allows you to manually set if the date should be encoded (Yes), shouldn't
be encoded (No) or to only encode if the item currently has data when being
encoded (Only when has data).
4.4.2 - Position
In this tab you can set the position manually or check the real-time position
when moving and/or resizing the object directly in the card design area.
The same properties apply to the objects dimensions, allowing you to manually
change the width and height of the object with a higher precision level.
4.4.3 - Shape
This option allows you to change the visual shape properties of an object with
different formats: circle, rectangle, rounded rectangle or a customizable one (by
setting up the number of sides according to your needs).
It's like hiding the image behind a layer with a hole in the middle, and the shape
of that hole define the visible part of our image, as shown below. For instance if
you chose a circle shape the area of the photo that is sitting directly above the
To define the clipping area and format all you have to do is drag the image
boundaries.
4.4.4 - Rotation
In this tab you can rotate or define a rotation angle to your object... Or you
can select more than one object and apply a rotation to all the selected objects
at the same time.
cardPresso has quick rotation buttons for the most common rotations, 0, 90,
180 and 270 degrees rotation. You may also rotate the object in increments and
/or decrements of 45 degrees (also available using the shortcut 'Backspace').
If you wish to apply a more specific rotation use the edit box available for
those situations
Or turn the round button to the desired angle, updating at the same time the
angle box value.
4.4.5 - Outline
Outline allows you to chose between five different types of predefined lines
and a custom one.
DashDotDot LIne: One dash, two dots, one dash, two dots.
The Custom Line is a line that you can define as you wish and if click on
the advance button besides the normal advanced parameters you are allowed to
set offset and pattern parameters.
Line width is one of the settings that you can change from 0.1mm to 10mm
You can also change the color by clicking in one of the colored squares,
acquire any color you have on your screen using the dropper or use the
advance color settings by clicking on the 'More Colors' button.
SquareCap: A square line end that covers the end point and extends
beyond it by half the line width.
FlatCap: A square line end that does not cover the end point of the line.
RoundCap: A rounded line end.
4.4.6 - Fill
Define the fill color you want to see applied on your object, in case of lines,
rectangles or circles it will change the color of the object, on all other cases it
will change the background color.
No fill: No color is applied to the object. This option is extremely handy when
placing Text over other objects.
Solid Fill: Fill the area with only one color and you can define the color
using the standard palette, the dropper or using the advanced palette within the
"More Colors" button.
Gradient Fill: Allows you to pick a second color and make a gradient effect
with both colors and define both colors using standard palette, the dropper or
clicking in "More Colors" button using the advanced palette.
Dropper: In case of using the dropper you can select any color, even
outside the program window, like shown on the first picture below. After that the
color is applied to the object and added to the color palette as you can see on
the second picture.
Basic Palette Color Theme: To chose a theme for your basic palette color
use the drop menu like shown on the picture below and the theme is
automatically applied to the basic palette color.
In this example choosing the Rainbow option will apply to the basic color
palette only colors related with the Rainbow theme.
Unusual Color: In case you want to add an unusual color, you have two
ways to do it, you can drag the crosshair through the panel or input directly the
color values on the boxes.
After that, the new color is added to the basic color palette.
4.4.7 - Font
When you select the 'Font' tab, a number of tools allows you to define the
font of your object.
First you have the 'Font Family' where you can chose the font type, all fonts
that you have in Windows or on Mac OSx are displayed here.
Point Size - Allows you to define the font size, if you check on the checkbox
the size is determined by the space available between boundaries, to change
just drag and drop the selection handles.
Typeface allows you to define more font settings that affect the whole
Textbox, like:
You can also wrap the sentence on your object by checking the 'Word
Wrap' checkbox.
With 'Render as HTML' checked, you can use some HTML codes in your
text to change the 'Typeface' in parts of it, instead of the whole Textbox.
4.4.8 - Barcode
The bar code properties allows you to define some properties depending on
the type of barcode you want to use. There are two major types of barcodes the
1D and 2D, illustrated below.
Type: Chose the type of barcode you wish to use, keeping in mind that in
some cases your choice may change other properties range of values.
4.4.9 - Image
You can acquire images from any source available; from disk, from a
database, from a camera or even from a scanner.
After you select an image and apply it to your working area, you have
access to a new tab, the image tab. On this tab you can change a set of
properties as:
Keep Ratio: Allows you to adapt the image to your object boundaries or
keep the image ratio.
Reinforce Black: This option forces the usage of Resin K on the black in
the image.
Flip Horizontal: This option reverses the active object horizontally, that is,
from left to right. It leaves the dimensions of the object and the pixel information
unchanged. It looks as if the image has been reflected along the central vertical
axis of the object.
Flip Vertical: This option reverses the active object vertically, that is, from
top to bottom. It leaves the dimensions of the object and the pixel information
unchanged. It looks as if the image has been reflected along the central
horizontal axis of the object.
Grayscale: Applies grayscale on the image in which the value of each pixel
is a single sample, that is, it carries only intensity information. Images of this
sort, are composed exclusively of shades of gray, varying from black at the
weakest intensity to white at the strongest.
Chromakey Effect: Turn the chromakey effect on and off in which a color
range in the top layer is made transparent, revealing another image behind.
Color: Allows you to choose the color range on which the effect will act. Use
the dropper to chose any color on the image.
Tolerance Level - Allows you to change the tolerance level of the effect. The
bigger the tolerance, the larger the range of colors affected by the effect.
Effect area - Select the area of the image affected by the effect, if all image
or only on the frame.
If you double click on the image the Image Editor opens with more edition
tools.
4.4.10 - Source
The Source Tab allows you to define the origin of the object and
parameterize that same object. In cardPresso you have two major object
classes, the images and the text objects.
On text objects and barcodes, the source can be a print counter, a print
When you have a text or barcode object selected you can use the Source
Tab to set the input options for the object.
On this tab you will define what kind of object it is, how it is updated, under
what condition it will be updated, when it will be updated and the final result.
This feature allows you to add a print counter to your card. It can be updated
automatically and saved with your card file, thus keeping the counter status. You
can also define values, justify and set the number of digits of the counter as
explained further on this manual.
When a text object is selected you can go to the Source Tab and, on the drop
down menu on top, choose the Print Counter option or click on the 'Print
Counter' button on the design toolbar.
When Item Clicked - When you double-click the object it will update the
counter according to all the settings.
Before Print - Count the number of times you send a print order and update
the counter before the printing procedure.
Before Print Card - Count the number of cards you're going to print and
update the counter before each card is printed.
After Print Card - Count the number of cards you printed and update the
counter after printing each card.
Save with Document - Save the settings and counters with the document so
you don't lose any data.
Restart Value - Is the value assumed by the counter when it reaches the
maximum or minimum values. (Min Value < Restart Value < Max Value)
Justified with Zeros - Justify with zeros until the desired number of digits.
Number of Digits - Defines the number of digits used in the counter, you
can justify with zeros.
Font Auto Adjust - Automatically adjust the font size, but only if font point
size is set to auto.
This feature allows you to add a date object to your card. It can be updated
automatically and saved with your card file, thus keeping the date status. You
can also format the date and time as explained further on this manual.
When a text object is selected you can go to the Source Tab and, on the drop
down menu on top, choose the Print Date option or click on the 'Print Date'
button on the design toolbar.
When Item Clicked - When you double-click the object it will update the
date and time.
When Load Document - Every time you open the document it will
automatically update the date object.
Before Print - Update the counter before the printing procedure starts and
all the cards are printed with the same date and time.
Before Print Card - Update date and time before printing each card.
Save with Document - Save the settings and date/time of the last printing
procedure with the document so you don't lose any data.
Format - You can format the date using one of the preset formats available
thru the drop down menu or by creating your own format by clicking on the
pointed button and then write it according with the legend below.
Font Auto Adjust - Automatically adjust the font size, but only if font point
size is auto.
This setting allows you add an object to your card that is updated by
keyboard input. It can be updated automatically, saved with your card file. You
can also choose the data type like explained further on this manual.
When a text object is selected, you can go to the Source Tab and on the
dropdown menu, on top, chose Keyboard Input option.
Title - You can give a name to your object, it will make it easier for further
identification.
When Item Clicked - When you double-click on top of the object it will open
an input window to update.
On EditView - This setting, when chosen, allows you add a new field to a
small internal database, as you'll see further on this manual.
When Load Document - When the card document is loaded this object is
updated.
Before Print - After the print order and before start printing, it will open an
input data window in order to allow you to update the object, after that it will not
be update again until next print order, on the example below was date field.
Before Print Card - Before print each card, it will open an input data
window in order to allow you to update the object, on the example below was
date field.
After Print Card - After print each card, it will open an input window in
order to allow you to update the object for the next card, on the example below
was date field.
Save with Document Save on your card document the last object update.
Data Type On this setting you can define what kind of data your object can
hold.
Data Length - Defines the length of your text line (maximum of 128
characters).
Examples:
Mask Notes
000.000.000.000;_ IP address; blanks are _.
HH:HH:HH:HH:HH:HH;_ MAC address
0000-00-00 ISO Date; blanks are space
>AAAAA-AAAAA-AAAAA- License number; blanks are - and all (alphabetic)
AAAA-AAAAA;# characters are converted to uppercase.
Note that in general Validation Rules cannot be used to check for balanced
brackets or tags. For example, a Validation Rule can be written to match an
opening HTML <b> and its closing </b>, if the <b> tags are not nested, but if
the <b> tags are nested, that same Validation Rule will match an opening <b>
tag with the wrong closing </b>. For the fragment <b>bold <b>bolder</b></b>,
the first <b> would be matched with the first </b>, which is not correct.
However, it is possible to write a Validation Rule that will match nested brackets
or tags correctly, but only if the number of nesting levels is fixed and known. If
the number of nesting levels is not fixed and known, it is impossible to write a
Validation Rule that will not fail.
If you have seen Validation Rules described elsewhere, they may have looked
different from the ones shown here. This is because some sets of characters
and some quantifiers are so common that they have been given special symbols
to represent them. [0-9] can be replaced with the symbol \d. The quantifier to
match exactly one occurrence, {1,1}, can be replaced with the expression itself,
i.e. x{1,1} is the same as x. So our 0 to 99 matcher could be written as ^
\d{1,2}$. It can also be written ^\d\d{0,1}$, i.e. From the start of the string,
match a digit, followed immediately by 0 or 1 digits. In practice, it would be
written as ^\d\d?$. The ? is shorthand for the quantifier {0,1}, i.e. 0 or 1
occurrences. ? makes an expression optional. The Validation Rule ^\d\d?$
means From the beginning of the string, match one digit, followed immediately
by 0 or 1 more digit, followed immediately by end of string.
To write a Validation Rule that matches one of the words 'mail' or 'letter' or
'correspondence' but does not match words that contain these words, e.g.,
'email', 'mailman', 'mailer', and 'letterbox', start with a Validation Rule that
Text Box - The multiline text box is used only if more than one line of input is
required and allows you to input text information. To input a new line the user
must press CTRL+Enter. By pressing only the Enter key will close the text box.
Columns - Define the number of columns of you text box (max: 128)
Rows - Define the number of rows of you text box (max: 128)
Step Value - Define step value when updated, use negative value for
countdown.
Special Value - Is the value the object will assume after reaching the
maximum or minimum values.
Integer Value - Allows you to write any integer value in one line box.
Step Value - Define step value when updated, use negative value for
countdown.
Special Value - Is the value the object will assume after reaching the
maximum or minimum values.
Date - Allows you to write any date value in single line box.
Maximum Date - Set the maximum value to date to avoids introducing later
dates.
Calendar Pop-up - Every time you change settings on date field it pops up
a calendar to easy date manipulation.
Date Format - Helps you set a date value format, you have some
predefined.
Time - Allows you to write any time value in one line box.
Maximum Time - Set the maximum value to date to avoids introducing later
time.
Time Format - Helps you set a time value format, you have some
predefined.
Date and Time - Allows you to write any date and time value in one line box.
Maximum Date - Set the maximum value to date to avoids introducing later
dates.
Maximum Time - Set the maximum value to date to avoids introducing later
time.
Calendar Pop-up - Every time you change settings on date field it pops up
a calendar to easy date manipulation.
Date and Time Format - Helps you set a date and time value format, you
have some predefined.
List - Allows you to create a list, composed by two columns, the first is an
index column and the second is the data column.
Database List - Allows you to create a combobox to select the update data
to your object. This only works if connected to a SQL database.
The SQL Select statement is part of the SQL code and below we describe
some examples in how to use that code, specially how to use the select
statement.
SELECT column_name(s)
FROM table_name
Lets consider the example below, from our internal database, where we
select the position, extension and salary fields, from the employee database.
This is the first step, the second is to set a condition, only consider the records
with the field salary with a value lower than 35000.
Now the selection is made and the condition is set.
User Column - Here you define what column will be listed on the combo
box, as a reference to the Data Column.
Data Column - Define to wish column belong the data that will be shown on
the database list object.
Limit Rows - Setup the maximum rows to be listed on the combo box, to a
maximum of 99.
After we define the User Column as 0 and the Data Column as 1, we define
the column to be listed as the first (the count starts from zero) and the Data
Column as the second and the result will be as shown below.
On your combo box is only listed the position field records (User Column 0) that
matches the condition (salary<35000). And when the position Mail Clerk is
selected the object assume the extension field record of the selected position
6261.
Font Auto Adjust - Automatically adjust the font size, but only if font point
size is auto.
4.4.10.1.4 - Database
There are two ways to add an object linked to a database to the card
document. Open a database and drag and drop the fields like explained further
on this manual or create the object and then connect it to a database. We will
address the last option now.
After creating an object go to the Source Tab and select the Database option.
And the next step is to click on the button 'Connect to a Database'. The
Database Connection Wizard will start allowing you to connect to any database
you want.
After the database is opened, by default the object will be connected to the first
table and first column of your database, like shown on picture below. All you
have to do now is define the table and column that you want your object to be
linked to.
Font Auto Adjust - When you have defined a size for your object it allows
you to choose if you want cardPresso to automatically adjust the font size.
Concatenation - Allows you to add a prefix or a suffix to your data and print
it. While in datatabase mode you can concatenate up to four columns on the
same object and define a prefix separator if needed.
This option allows you to connect an object to another, assuming the same
values with automatic update.
When you chose this option your tab changes, allowing you to chose an object
to link, showing on the list all objects that are on the card space and which is
possible to connect, in this particular case we have a card with three other
objects..
When connected, the object will assume the linked object value and every
time it is updated so is the object.
When you select an image object a new tab is added to properties tabs, the
Image Tab, where you will be able to define your image settings. But the source
tab also changes, allowing you to define the source settings of your image file.
This option sets the image source as the disk. When the object is updated
the browser opens allowing you to pick an image from disk.
To open an object from disk the procedure is simple, just click on the 'Browse
Image' button, add a picture object to your card and a window will open allowing
you to browse for your file.
Like shown on the picture below:
Title - Here you can give a name/title to your image, it will be easier for you
to identify your object later in further operations.
Source - Opens a dropdown list with all cameras or scanners that are
installed on your pc or mac.
When Load Document - Every time you open the card document.
Before Print - Before the printing procedure it will open the interface related
to the source you have chosen.
Before Print Card - Before each time a card is printed it will open the
interface related to the source you have chosen.
After Print Card - After printing each card it will open the interface related
to the source you have chosen.
Save with Document - Save the image with the document so you don't lose
any data, but on the other hand, if you don't want to keep the image for a
smaller card document just chose 'No'.
Format - The image can have a pre-established format, like shown on the
image above, adapting the image to it or a free format, allowing you to keep the
image source format.
Face Detection - When you chose yes, after the image as been acquired
the image editor opens, allowing you to chose the face detection option.
Open Image Editor - You can open the editor every time the image is
updated (yes), never open the editor (no), or open the editor only when an error
is detected (Only when error).
After you add an image to your card, the first thing that opens is the image
editor, but you can change your image source any time you want and a camera
or scanner is one of your options.
After choosing this option, your source pad changes allowing setup of the
camera or scanner options.
Title - Here you can give a name/title to your image, it will be easier for you
to identify your object later in further operations.
Source - Opens a drop down list with all cameras or scanners that are
installed on your pc or mac.
When Load Document - Every time you open the card document.
Before Print - Before the printing procedure it will open the interface related
to the source you have chosen.
Before Print Card - Before each time a card is printed it will open the
interface related to the source you have chosen.
After Print Card - After printing each card it will open the interface related
to the source you have chosen.
Save with Document - Save the image with the document so you don't lose
any data, but on the other hand, if you don't want to keep the image for a
smaller card document just chose 'No'.
Format - The image can have a pre-established format, like shown on the
image above, adapting the image to it or a free format, allowing you to keep the
image source format.
Face Detection - When you chose yes, after the image as been acquired
the image editor opens, allowing you to chose the face detection option.
Open Image Editor - You can open the editor every time the image is
updated (yes), never open the editor (no) or open the editor only when an error
is detected (Only when error).
After choosing the device the interface window will show and wait for you to
add the signature to the device like in the pictures below:
The Topaz device also allows you to have templates for the signature frame. The
Wintab driver has a track pressure setting that according with the pressure
made by the pen, makes the line thinner or thicker.
Like any other image object, cardPresso allows you to use an existing object,
all you have to do is to click on the object and change the source to 'From
Signature Pad' and starts the procedure of signature acquisition.
Source - Opens a dropdown list with all signature devices that are installed
on your computer.
When Load Document - Every time you open the card document.
Before Print - Before the printing procedure it will open the interface related
to the source you have chosen.
Before Print Card - Before each time a card is printed it will open the
interface related to the source you have chosen.
After Print Card - After printing each card it will open the interface related
to the source you have chosen.
Save with Document - Save the signature image with document so you
don't lose any data, but on the other hand, if you don't want to keep the image
for a smaller card document just chose 'No'.
Format - The image can have a pre-established format, like shown on the
image above, adapting the image to it or a free format, allowing you to keep the
image source format.
The Image Editor brings you new tools for image editing, there are many
ways to open the image editor, but to acquire only one, open an image object
and then change the source to 'From Image Editor'.
On the tool bar you can set these settings on your image:
Rotate clockwise - Is the circular motion is one that proceeds in the same
direction as a clock's hands: from the top to the right, then down and then to the
Flip Horizontal - This option reverses the active object horizontally, that is,
from left to right. It leaves the dimensions of the object and the pixel information
unchanged. It looks as if the image has been reflected along the central vertical
axis of the object.
Flip Vertical - This option reverses the active object vertically, that is, from
top to bottom. It leaves the dimensions of the object and the pixel information
unchanged. It looks as if the image has been reflected along the central
horizontal axis of the object.
Color to Grey - Apply gray scale on the image in which the value of each
pixel is a single sample, that is, it carries only intensity information. Images of
this sort, are composed exclusively of shades of gray, varying from black at the
weakest intensity to white at the strongest.
Zoom In - This tool allows you to obtain a larger image, or a closer view.
Zoom Out - This tool allows you to obtain a smaller image, or a farther view.
Export Image - You can save the image as... in many different formats like
png, jpg, bmp, tiff and others.
Image Acquisition - This tools opens the interface related with the image
acquisition source you had chosen.
Open Image File - Opens an image file from your system, including disk,
USB key, memory card or any other source.
Select Image File Path - Allows you to chose your default image file path
from all that you had already used before on your document.
Face Detection
Cut / Crop - On cardPresso crop tool you don't use the traditional handlers,
the visual area is automatically resized to the image object boundaries, to cut/
crop the image all you have to do is to drag or zoom in on the image and every
thing that is on the blur area (gray and black squares) when you click the cut/
crop button, goes away. And the image is automatically adjusted to the object
area.
After the connection is made, if there is no image field, the link is not made
and the list stays like the image below, empty.
If there is only one image field, the cardPresso recognizes it and the link is
automatic.
If more then one then a list will show you the options for you to chose,
like shown below.
DATABASE
If you add a field image, please don't forget to refresh the database.
This option allows you to connect (link) one object to another object,
assuming the same data values with automatic updates.
When you choose this option your tab changes allowing you to choose an
object to link, showing on the list all objects that are on the card document that
you can connect to,
When connected, the object will assume the linked object value and every
time it is updated, the first object will also reflect the data from the linked object.
This option allows you to have two image objects, one at the front of the card
and another at the back of the card, sharing the same data.
4.4.11 - Alignment
The alignment tab allows you to define the object alignment inside the
boundaries.
As you can see you can define vertically from top, middle or bottom and
horizontally from left, middle or right.
When the point size is in auto, on the font tab, it means that the font size justify
the text to the boundaries what makes the horizontal adjustment very small
4.4.12 - Script
There are two different locations where you can write in cardPresso's
design area. One for each object and one for the document. In this chapter we
focus on the object script.
This is an advanced user area, where you can program actions and procedures
in javascript language in order to define settings or update your object.
This drop-menu allows you to define when the actions or procedures must
take place.
And in the space below you can write your lines of code.
Distribution - Allows you to distribute the objects on the card area equitably,
but instead of using the card limits as a reference uses the object boundaries
referring to the last object selected that is marked with blue selection handles.
All other objects will be allocated according to the selection and having as a
reference the last one selected, notice that the reference object is also the
anchor and will not move, all the others will be placed according with the
distribution settings.
In short, the space occupied by the three or more objects will always be the
same, the space between them is the one that will be arranged.
Chapter 5. Database
A database is an organized collection of data. A database is typically
organized to model relevant aspects of reality in a way that supports processes
requiring this information
5.1 - Connection
In cardPresso there are two ways to connect to a Database.
5.1.1 - Configuration
Depending on your cardPresso Edition there are several Database Drivers
at your disposal:
XXS has an internal database with photo connection.
XS has the Direct CSV & TXT File Driver, that can only read the fields in these
databases. Edition of their records isn't possible through cardPresso.
And the Direct Excel File Driver through which cardPresso can edit the fields
and records of the Database.
With these drivers it is also possible to add Links to images and their Folders.
XM can connect to SQLite version 3 and the Direct MS Access File Driver.
From here on it is possible to Alter Tables and in the records add images as
Binary file.
The cardPresso Internal Database (msAccess) becomes available in this
Edition.
XL adds SQLite version 3, Direct MS Access File Driver and the ODBC
Drivers and with them it is possible to connect to any Database with ODBC
Support, like: SQL Server; Oracle; MySQL; as others.
After selecting the Driver you will be prompted to Select or Browse to the
Database.
In the Direct CSV & TXT Driver there are several configuration options,
usually cardPresso Guess function does the required configuration when the
CSV or TXT file are opened.
Since the data stored in the MS Access and the SQLite Databases has a
fixed format, no special configuration is needed. Just browse to the Database
and open it, and select which table you want to import.
The cardPresso Internal Database is a MS Access Database provided with
the cardPresso installer and serves as a Sample and for test purposes.
On the right of the screen, in the Database dockbar, click the Add Column
button to create a new database column:
On the next window, under Column Name write the name of the database
column you want to create.
On the Column Type drop box, select the type of data that will be written.
To finish, click the Save button.
Repeat steps 2 and 3 until you have all the fields you require.
To add a database record, in the Database dockbar, click the Insert record
button, fill the database fields with the information you want, and click the Save
changes button.
You can then use Database Operations to create your own tables and columns
and save them on your cardPresso document.
5.1.1.5 - ODBC
5.1.7 - Properties
It is possible to review the configuration of the Database connection through
the Database Menu and selecting Properties.
The Database Properties are mainly used to check the configurations of the
connection. Do not change them unless necessary.
5.2 - Dockbar
The buttons in the Dockbar ease browsing between records and managing
the Database.
5.3 - Database
As it is with cardPresso Document Objects, the Database Fields can also be
added to the card Layout through Drag & Drop. These Objects will be connected
to the Database Field and update when the field in the database is changed or
when moving between records.
The Database Filter works as an SQL Query and in it there are available the
same options as in the Database Find with the possibility to search with multiple
rules and with a personalized Script.
The Database Filter Tab can also be used to generate the Script for the
Database Filter in the Connection Wizard.
When using the Contains filter, if you are searching with a partial word, you
must use the % symbol on the search term.
Eg: Searching for a word that starts with "card": card%
Searching for a word that ends with "Presso": %Presso
Searching for a word that contains the text "ardPre": %ardPre%
Table View - Opens the Table View tab which lists all the records in a
reader friendly way .
Edit Records - Opens the Edit Records tab provides you with a more
convenient interface to edit each database record.
Here you can also individually select records for when you want to print several
specific records in the database (see more on Printing Selected Records in a
Database).
You can access the Table view through the Database View button, then Table
View option, or through the cardPresso menu View > Database View, then
Table view.
Double-click above a Record to edit it. When doing so, you will be redirected to
the Edit Records tab. When finishing your edition, Save changes and return
to Table view.
When disabled this option allows for higher performance in computers with
slower resources.
The Edit Records view is another powerful tool in cardPresso which allows you
to quickly edit database records, making database management fast and simple.
On the left side of the Edit Records window you can find the columns which
contain text.
On the right side, you can find all the the Image items contained in the
database.
Simply browse the records with the top Database Toolbar until you find the
database record you want to edit, then edit the database record and click the
Save Record button.
Alternatively open the Table view on the Database View (see more on chapter
5.5.2 Edit Records).
3 - Click the Insert Record button on either the Database Toolbar or through
the cardPresso menu Database > Add Record.
Prior to saving you can cancel any changes with the Revert Record Changes
buton:
2 - Open the Database sidebar when working on the Card Design view (see
more on chapter 5.3 Database).
Alternatively open the Edit Records window on the Database View (see more
on chapter 5.5.2 Edit Records).
3 - Use the database toolbar to find the record you wish to edit.
4 - Finally, fill the items with the required data and click the Save Record button
to save the changes.
Prior to saving you can cancel any changes with the Revert Record Changes
buton:
2 - Open the Database sidebar when working on the Card Design view (see
more on chapter 5.3 Database).
Alternatively open the Table view on the Database View (see more on chapter
5.5.2 Edit Records).
3 - Use the database toolbar to find the record you wish to delete.
4 - Click the Delete Record button and when prompted if you want to delete the
record, click the Yes button.
Chapter 6. Printing
Printing your cards is the core function of cardPresso. Within this chapter
we describe the several printing configurations cardPresso provides for printing
and how those settings work with your printer to achieve the best printing
results.
To ensure that the finished card appears as intended you should understand
basic printing principles such as the resolution of your printer or the calibration
and resolution of your monitor. These specifications are provided by the printer
manufacturer and in the display settings of your Operating System.
Make sure you have the latest printer driver and firmware versions for the printer
you have installed.
The computer you wish to print a card from must be connected either to a
local, shared, or network printer and be configured to use that printer.
1. Make sure that you’ve installed the correct printer driver for your printer.
The Print options are arranged into 3 tabs: Print, Settings and Advanced Print
Operations.
6.1 - Print
3. Copies sets the number of copies to print for each print job / record (see
more on Chapter 6.1.2 - Copies)
5. Print Operations allows you to select the operations you wish to run on
each print job (see more on Chapter 6.1.3 - Print Operations.
Click OK to start the print job with your currently selected options.
Print jobs with large databases can be very lengthy and complicated. That's
why cardPresso provides you with several options you can use to your
advantage to, make printing with large databases a much simpler job.
Current Record starts printing from the database record that's currently open.
After selecting which record to start from, Number of records let's you choose
how many subsequent records you want to print besides the starting record
Selected Records in browse view lets you select which records to print,
one by one, by selecting them previously in the Browse Records window in
Database View.
1- Click the Database View button, or choose View > Database View
2 - Select the records you want to print on the Browse Records window, using
the checkboxes.
Conditional Print lets you configure a print rule using a value from the
database records. When printing, cardPresso will search through all records
within the database and will only print the records that comply to the rule you
have configured.
1 - Select the database Column which contains the data to be validated.
2 - Select the condition that fits the print rule you want.
3 - Click OK to print only the database records that follow your print rule.
6.1.2 - Copies
Number of copies lets you set the number of times each card will be
printed.
As an example, a Magnetic Card Type layout would show the following options.
The operations selected in this area are the only ones sent for printing.
Paper Size, selects the paper size supported by the chosen printer.
Print Layout, selects the card model you wish to print to.
In print situations as shown above, in this case to paper, we also provide you
with Orientation (Portrait/Landscape), Columns, Rows, Margins and Spacing
options.
Print Options, shows you the current Driver Properties, select the
Rendering, Advanced options and the Overlay.
6.2.1 - Printer
In this area you can choose which Printer you want to use, its Paper Size
whether it is Letter as used by A4 printers, CR-79, 80, 90 or any size
recognized by the card printer and the card Orientation.
To view the Printers installed on your computer and their Driver version click
CP Printer Drivers.
In the case of paper printers you can print multiple cards in one page.
cardPresso provides you with a simple grid system that you can modify to fit
your printing needs.
Print Layout lets you choose the number of rows, number of columns, top
margin, left margin, vertical and horizontal spacing. As you can see in the
image below.
6.2.3 - Options
The Print Options section contains information and configuration settings
on how the print job is sent to the printer Driver.
The Driver section shows the basic driver info of the printer currently
selected.
Black - configures how the black color is sent to the printer. You can Send as
RGB; Send as Monochrome; Send as RGB and Monochrome; Send
Composite; Send Composite and Monochrome or send as a Separate
Render (default option).
Antialiasing - lets you enable or disable Antialiasing for either the whole card,
Text only and for Images only.By default, the option is active.
Composite black replacement - You can use composite black replacement
with one of the following options: Using the options available: Grayscale (Low,
Medium or High), Color Decrement (Low, Medium or High) Red Increment (Low,
Medium or High).
Black - To obtain the desired results, you can submit the black in RGB;
monochrome; RGB and monochrome; composite; composite and monochrome
and separate render.
Composite black replacement - You can activate composite black
replacement, using the options available: Grayscale (Low, Medium or High),
Color Decrement (Low, Medium or High) Red Increment (Low, Medium or High).
Rotate 180, Rotates the layout by 180º when sending the print job.
Flip Horizontal, Flips the layout horizontally when sending the print job.
Flip Vertical, Flips the layout vertically when sending the print job.
Use Colored Card, Sends the print job optimized for when your card is other
than white.
Overlay/Varnish:
Mode: By default the Overlay is Disabled. Depending on the Printer in use it is
possible to send the Overlay Layout during the print job to the driver by saving it
to an External file or directly to the printer as Separate Page.
By using your own text or one of the options available in CP, it is easier to mark
the records in the database that have been printed, the number of cards printed
for that specific record and/or the print date of the last card.
2 - Type the data you want to store or choose one of the available options CP
provides.
“Set all records as printed” – by clicking this button, all records will be
updated in the column selected in “Automatic Print Status Update” with the value
defined in the combo box (in our example “Your own value”).
“Set all records as not printed” – by clicking this button, all records will be
updated in the column selected in “Automatic Print Status Update” with the
“Reset value”.
6.3.2 - Auto-Print
One of the advanced print features you can use with cardPresso is the
ability to automate print jobs and use external applications to run custom print
jobs. This feature is called AutoPrint.
For these purposes cardPresso allows you to use the Windows Command
Prompt to run print jobs you have previously prepared.
The possibility to use the Command Prompt to run customizable print jobs allows
you to create .bat files with your custom settings and run those .bat files
whenever you need.
You can also use external programs to run custom print jobs, either by running
the cardPresso AutoPrint commands, or by running a previously saved .bat
file.
To work with AutoPrint, the card you are going to use must be previously saved
with your printer settings configured.
(1) Export .bat file: after saving the configured document, to export a .bat file,
with the marked operations, click on “Export .bat file”.
(2) Start/Stop Auto-print: this functionality allows you to have the auto-print
running while the card document is open.
ii. To Stop the auto-print, return to the Print » Advanced Print Operations
window and click Stop auto-print.
Below are the commands used to interact with cardPresso through the
command prompt:
Print Command (/P): to print the card.
The syntax for the /P print command to be used from Run or Command
Prompt is: "c:\Program Files\cardPresso\cardPresso.exe" "c:\cP Test.card" /P
Conditional Print Filter (/FILTER:"data"): add the desired Flag for the
Conditional Print Filter (please note that “Conditional Print” in the Print tab must
be configured).
Continuous printing (/CONTINUOUS:seconds ): condition to automatically
re-query the database for new records to print after “X” seconds delay (default
is 10 seconds). Available from the XL.
Query interval: to configure a different query interval fill this text box.
Set Database Filter (/DBFILTER:"Filter"): define the filter for the database
connection.
Show print dialog window (/SHOWPRINTDIALOG): always show Print Dialog
Box.
Hide main interface (/NOMAINWINDOW): command to do the print job
silently/invisible, that is, only in case of error or when interaction is required (an
item with Update Before Print), a window will be presented.
Note: Before quitting cardPresso go to File » Print » Advanced Print Operations and click on
“Stop auto-print”, otherwise if cardPresso is closed without clicking “Stop auto-print”, the process will
continue running independently of cardPresso and must be closed through the Task Manager.
AutoPrint commands can be run directly either from the Windows Run
dialog box, or from the Windows Command Prompt.
To run an AutoPrint command from the Windows Run dialog box, open the
dialog box through the Windows Menu Start>Run type the AutoPrint command
in the dialog box and click the OK button:
To run an AutoPrint command from the Windows Command Prompt, open the
command prompt through the Windows menu Start>Accessories>Command
Prompt. And type the AutoPrint command in the Command Prompt window:
AutoPrint commands can be stored in a batch file (.bat) for later use. This
way you can create as many batch files as you like, each with it's custom
settings, and run your desired file with the desired settings whenever it's
needed.
You can create a batch file in any regular text editor like Notepad.
Simply create a new text document. Type the AutoPrint commands you want to
run and save the file with the .bat extension.
You can then run the .bat file directly, or through an external program such as
the Windows Task Scheduler.
Chapter 7 - Encoding
The multiple types of encoding available in cardPresso provides the best
flexibility when working with multiple card types.
To ensure a good knowledge base, in this chapter we will further develop the
topic of encoding, addressing each type of encoding and how to perform it
within cardPresso.
7.1 - Barcodes
Barcodes are a staple of today's industry and cardPresso follows through in
this feature as well.
Supporting 1D and 2D barcodes libraries with various customizations allows for
a wide application area.
To create a barcode simply click on the New Barcode or New 2D Barcode
button on the Design Toolbar and then click-drag the new barcode to the size
you want.
7.1.1 - 1D Barcode
A 1D Barcode is the most common barcode type also known as a Linear
Barcode.
7.1.2 - 2D Barcode
A 2D Barcode also know as a matrix code, is an advanced barcode type
which can hold more data per area.
You can then click-drag to place the new barcode with the desired size.
To customize the barcode, select it and click the Barcode separator in the
Properties Dock.
The following options are available:
2 - On the Source tab, to the right, change the Source type to Database
4 - Select the Column which contains the data to be written on the Barcode.
Concatenation allows you to stack up to three database fields within the same
Barcode. This is allows for a much more dynamic and space efficient data
generation when working with barcodes.
Column Prefix adds a text prefix to the data obtained from the selected data
column.
Column selects the database column from which to obtain the data.
The encoded data must still follow each Barcode's format rules.
To create a Script click an empty area of the card design and select the Script
tab in the Properties Dock..
Scripts can also be added to an item by selecting it and clicking the
Script tab in the properties Dock.
On the Script tab you can select when the script should executed and on the
text box, write the script.
Ex: in the example below the QR code being used was given the ID QR.
Result:
Start Sentinel (generally '%') marks where the data to be encoded is going to
begin.
End Sentinel (generally '?') marks where the data to be encoded ends.
ex: %Example^Text?
Where:
This allows you to quickly add information into a magnetic card without any
previous knowledge on magnetic encoding.
When working with databases, having the versatility to add a database item
to a Track is fundamental.
As with any item in cardPresso, each Track contains its own set of properties
which can be used for advanced encoding operations.
To add a database source to a Track:
2 - On the Source tab, to the right, change the Source type to Database
Column Prefix adds a text prefix to the data obtained from the selected data
column.
Usually used for the Field Separator Sentinel
Column selects the database column from which to obtain the data.
To manually configure Macros open the cardPresso menu File > Print
Settings > Print Options > Magnetic Encode > Macros and select User
Defined.
This will allow you to manually type the Start Sentinel and End Sentinel as
shown below. All 3 Tracks must be manually set.
powerful feature allows for even more advanced operations to customize your
encoded data to its full potential.
In cardPresso each Tracks has a unique ID. Namely ISOTRACK1,
ISOTRACK2, and ISOTRACK3 for Track 1, Track 2, and Track 3 respectively.
The data on this item can be manipulated through scripting as with any other
item.
The encoded data must still follow each Track's data type (see more on 7.2 -
Magnetic Stripe).
To create a Script click an empty area of the card design and select the Script
tab in the Properties Dock..
Scripts can also be added to an item by selecting it and clicking the Script tab in
the properties Dock.
On the Script tab you can select when the script should executed and on the
text box, write the script.
Ex: item.ISOTRACK1="Example Text"
customized encoding operations for all the supported contact and contactless
Card Types.
This allows you to manipulate the data stored in your Card, the data in the Card
Design Items and the data stored in your database, if connected to one.
The code varies with each Card Type. cardPresso comes with sample code for
the supported Card Types designed to get you familiar with the basic operations
of each Card Type.
The Encode View is where you view manage the encoded information in
your card and the encoding operations to be performed when encoding to your
cards.
You can access it by clicking the Encode View button, or through the menu
View > Encode View.
This section gives you access to the various sections that manage the encoding
process.
The Encode Model window shows a visual representation of the way data is
stored in each card.
The Data Inspector window shows the data currently being browsed in the
Encode Data window.
The Encode Script window shows the encode commands that run when the
card is encoded.
The Properties window, to the right, has its own set of options in the
Properties section which provide you with convenient information and tools to
make Encoding fast and easy.
You can find the Data Inspector window by clicking the Encode View
button, or clicking View > Encode View.
The information shown on Data Inspector also changes depending on the Card
Type.
The Data Inspector window organizes the information stored in your card in 3
columns:
Block shows the card block currently selected in the Encode Data window.
Hexadecimal shows the hexadecimal value of the data currently stored on the
selected card block.
If the user has changed the value using the Edit button, it will show the new
value entered by the user)
ASCII shows the value of the Hexadecimal field in regular text format.
The Data Inspector window comes with a set of tools that allow you to
quickly view and modify the data stored in your card:
The Edit button allows you to directly modify the information stored in the item
currently selected in the Encode Data window. The Edit button works with
Hexadecimal values.
The information will only be written in the card when you press the Write button.
The Read button allows you to read the information stored in the item currently
selected in the Encode Data window.
The Write button writes in the card the value currently visible in the
Hexadecimal separator of the item currently selected in the Encode Data
window.
The Continuous Read button makes cardPresso repeatedly read the data in
the currently selected item every two seconds.
This allows you to perform several write functions in the Encode Operations
window and immediately see the results on the Data Inspector window.
You can find the Encode Script window by clicking the Encode View
button, or clicking View > Encode View.
The actions written here will then occur each time the card is encoded.
The various Encode Operations also change with each Card Type.
7.3.5 - Properties
The Encode View also has it's own set of Properties tabs located as usual
to the right. It provides you with several separators which contain convenient
information about your card, your printer, your users, your database and
scripts. All with more tools to make your Encoding Operations even smoother
You can find the Encode View Properties tab by clicking the Encode View
button, or clicking View > Encode View.
7.3.5.1 - Preview
The Preview tab provides you with a quick overlook on the card design. You
can swap between the front and the back of the card design preview by clicking
the Front button and Back button respectively.
You can find the Preview tab by clicking the Encode View button, or
clicking View > Encode View and clicking the Prevew tab on the right.
Printer Tools are a powerful set of tools that allow you to manually navigate
your card inside your printer (in printers that support these functions) so you
have more control over how your printer uses your card while writing your
Encode Operations.
The available printer tools vary with the printer modules installed on your printer.
You can find the Printer Tools tab by clicking the Encode View button, or
clicking View > Encode View and clicking the Printer Tools tab on the
right.
Insert card from card input feeder inserts a card positioned in the printer
The Database separator works Encode View exactly the same way as in
the other views. You can browse your records, edit them and drag them into
the Encode Operations window. Making your work with Encode Operations in
cardPresso even easier and faster!
You can find the Database tab by clicking the Encode View button, or
clicking View > Encode View and clicking the Database tab on the right.
Database Filter is yet another strong tool that makes the work-flow on
Encoding Operations much smoother and faster in cardPresso.
You can apply Database Filters on cardPresso so you only see the records
with the information that matters the most to you. Making browsing database
records a much easier and cleaner task.
You can find the Database Filter tab by clicking the Encode View button, or
clicking View > Encode View and clicking the Database Filter tab on the right.
To do so, simply select the column which contains the data you want to filter.
Select the condition to filter which matches your needs.
Insert the value you want to filter
Select Add Condition and click Apply (You can add more filters by selecting
And or Or).
Now when you browse your database records on the Database tab, only those
that follow the condition will show.
Database Find is a quick reference tool that lets you find specific values
throughout your database.
You can find the Database Find tab by clicking the Encode View button, or
clicking View > Encode View and clicking the Database Find tab on the right.
Select the Column in which you want to find a value.
Select the condition that fits your situation.
Insert the value you want to search for.
Use the buttons to navigate through the records which comply with the condition.
7.3.5.6 - Script
The Script separator is the Document script and if you previously added
code, it will be located here. See more on Chapter 4.4.12 - Script.
Chapter 8. Security
Security conscious businesses know it’s essential to monitor who has
access to your information flow.
Let’s imagine you want to allow employees to print ID cards but not alter the
template design. No problem - a password lock on only the design phase allows
card printing without any undesired creative license. Or imagine you want to
restrict who can print ID cards.
design.
Users provides you with tools that allow you to create and manage user logins
for cardPresso. This gives you full control over who has access to cardPresso
and what they can do. With the added ability to create groups, managing large
numbers of users becomes as simple as a single click.
The Users section located in the top left of the Users Vew shows a list with
all the users you currently have configured in cardPresso.
The Groups section shows you a list with all the groups you currently have
configured in cardPresso and it's respective users.
The Auditing section is located in the bottom half of the Users View and it
shows a list of all the actions performed by each user.
You must first enable auditing for the intended users in the User Properties
tab by editing the user (see more on: Chapter 8.2.5 Edit a User).
The Properties tab is located as always to the right of the Users View. It's
contents also change depending on what you are currently doing, whether it's
adding new users and groups or editing their respective settings, all the
information is shown and edited here.
8.2.2 - Users
A User system is a combination of a user name and a password and, if
enabled, are required to access cardPresso. The user name and password
identify each person that accesses cardPresso and determines what they can
or can not do within cardPresso by attributing each user with its own set of
permissions.
The first step to work with users is enabling user logins. You can do this by
accessing the Users View by clicking the cardPresso menu Window >
Users View and in the bottom of the window clicking the Enable user logins
checkbox.
The first time you enable user logins, you will be prompted with the default user
name and password.
The default user name is ADMIN and the default password is admin:
8.2.2.2 - Login
After enabling users logins, when you open cardPresso you will be required
to enter the login credentials on the welcome screen.
With user logins enabled the next step to managing your users is adding
them. You do this by clicking the Add User button found in the Users View
Toolbar.
Doing so will open the new user options in the properties tab where you will be
prompted to fill various fields required to create a new user:
Login: Write the user name the user must insert when logging in cardPresso.
Name: Write the name of the owner of this user name.
Password: Write the password the user must insert when logging in
cardPresso.
Confirm Password: Repeat the password to validate it.
Diable user (cannot login): The user won't be able to log in cardPresso until
this option is disabled (unchecked).
Enable auditing: Every user action within cardPresso will be recorded and
Click Save to save the new user. It will then be available for editing in the
Users section.
A new user will have no permissions until assigned to a Group (see more on
Chapter 8.3.2 Add Group).
To keep a clean and up to date user base you can remove Users that are no
longer needed by selecting the user you want to remove and clicking the
Remove User button found in the Users View Toolbar.
If a user is removed its user name and password will no longer work when
logging in losing all access to cardPresso.
To edit an existing User select the user you want to edit in the Users section
on the Edit Vew:
Once selected, the user's data will be editable in the properties window to the
right:
When done editing, to save the changes click the Save button.
8.2.3 - Groups
cardPresso adds Groups to its User management system to ease editing
large numbers of users.
Here you can add Groups and select each group's specific permissions and
assign them to multiple users.
When a User is assigned to a Group, it inherits all the permissions the Group
currently has. Every change to the group's permissions affects the permissions
of all the users assigned to it.
To add a Group click the Add Group button found in the Users View
Toolbar.
Doing so will open the new group options in the properties tab where you will be
prompted to fill various fields required to create a new group:
Group*: Write the unique name cardPresso will use to identify the group.
Name: Write the name of the Group for easier identification.
Location: Write the name of the location / department / category of the users
assigned to this group.
Users: Select the Users that belong to this group.
Click the Save button to save the group with the selected settings.
*required field
If a group is removed all users assigned to it will lose all permissions the Group
had.
To edit an existing Group select the group you want to edit in the Group
section on the Edit Vew:
Once selected, the groups data and permissions will be editable in the
properties window to the right:
When done editing, to save the changes click the Save button.
8.2.4 - Auditing
The Auditing section in Users View is where you can see every action
performed by any user in cardPresso.
To audit a user you must first Enable Auditing for the intended user in the User
Properties tab by editing the user (see more on: Chapter 8.2.5 Edit a User).
After enabling auditing for a user every future action that user performs in
cardPresso is registered and listed in the Auditing section.
To use this service, one computer must have the cardPresso XXL Edition
licensed and be connected to the same LAN as the other computers. When the
Net License service is activated on this computer, it acts as Server and provides
the license to a total of 15 computers connected to the same LAN.
To use this service, one computer must have the cardPresso XXL lincensed
and be connected to the same LAN as the other computers. When the Net
License service is activated on this computer, it acts as the Server and provides
the license to a total of 15 computers connected to the same LAN.
The cardPresso Net License Service only works on a LAN. It does not
work through the internet.
For best results, the computer with the Net License Service should have a
Static IP Address. The computer acting as the Net License "Server" does not
need to have a Server type Operating System.
2 - In the computer that will run the service and act as the server, open the
cardPresso menu CP>cardPresso License.
3 -In the cardPresso License window, click the Net tab click on the Run as
Application button:
On systems using Windows Firewall, a warning will pop-up, please allow the
cardPresso connection through the Local Area Network.
Some Firewall applications will not show any warnings and automatically
block the License Service, the required permissions are at the end of these
instructions.
This will open a command line window which will show you if the ports are open
and if a cardPresso application is running in the network.
In this example:
192.168.2.138 is the Host computer acting as a Net License server, providing
the license.
192.168.2.136 is the Client computer receiving the license.
4 - Close the cardPressoLS.exe window and click Install as Service
Now you can have up to 16 computers in your Local Area Network, including
the one acting as a server, running cardPresso XXL edition.
2 - Have another computer (Client Computer) connected and to the same local
area network (LAN or Internet).
3 - Use an external application on the Client Computer to send the Print Job
through IP to the server.
To use this service, the Web Print Server computer with the cardPresso XXL Edition
lincensed must be accessible to the Client Computer via IP connection either through a LAN
or an Internet connection.
2 - Add the /PRINTSERVER switch to the shortcut Target after the quotation
mark and click OK:
Your Web Print Server is now running and has a .card file ready to be printed.
When working within a LAN (Local Area Network) the WebPrint Server computer must
be connected to the same network as the Client computer that will send the remote print
jobs.
When working through an internet connection, both the WebPrint Server computer and
the Client computer must be accessible to each other through a TCP/IP connection.
element.
The login element contains the user name and password elements. Each
specific to the user configuration in the cardPresso Web Print Server
application.
These elements are mandatory.
The cardDocument element contains properties and elements with the data
specific to the print job.
Within the cardDocument element we can specify the data to send to each
item in the .card document design by using item elements.
Besides the value to be sent to the item, each item element contains an id
property and a type property.
The id property is used to specify the item in the card design to which we want
to send the data (read more in chapter 4.4.1 - Item).
The Item IDs sent to the Web Print Job must match the IDs of the items on the
.card document file that is to be printed.
The type property specifies if the item we are trying to send data to is a text
item or an image.
When sending Images to the Web Print Server they should follow the Base64
encode scheme (read more here).
This follows a strict structure that must be followed when sending the print job
information to the server.
You can see an in depth explanation of each element and property of the XML
structure in Appendix B.2.2 - Print XML Structure
cardPresso has the ability to save all the data printed using the web print sever
(using a form or a web-based platform that retrieves an XML file).
· If not, it will look for the folder [DATABASE] and if it exists it will save the
SQLite database there.
· If [DATABASE] folder doesn´t exist, it will save the SQLite in the C:\Users
\Your User\AppData\Local\Temp).
Setting Description
driver The name of the database driver (if left empty, the default
printing.sqlite database mentioned above will be used). The possible
values are:
QPSQL – PostgreSQL
QMYSQL – MySQL
QOCI – OCI (Oracle Call Interface)
QODBC – ODBC
QDB2 – DB2
QTDS – TDS
QSQLITE – SQLite
QIBASE – iBase
database The name of the database
host The address of the database server
port The port of the database server
user The user name to use when connecting to the database server
pass The password to use when connecting to the database server
print job id. This id can later be used to request the current status of the print
job.
This can be achieved with a print job status request.
The print job status request follows the same norms as a regular print job, but
instead of sending the cardDocument element, a getJobStatus element is sent
with a printJobId attribute containing the ID of he print job for which the status
is to be returned.
Upon receiving a print job status request the Web Print Server will return a
response (read more on Appendix B.2.6 - Print Server Response )
Below is a sample of the XML structure of a Print Job Status Request which will
return the status of the print job with the ID 5 as specified by the printJobId
element.
<?xml version="1.0" encoding="utf-8"?>
<cardPresso xmlns="http://tempuri.org/wpsRequest.xsd">
<login>
<name>ADMIN</name>
<password>admin</password>
</login>
<getJobStatus printJobId="5"/>
</cardPresso>
The status attribute specifying the current status of the print job.
Status attribute can be one of the following vales:
CREATED
PENDING
PRINTING
DELETED
ERROR
The cardPresso element will also have a status Message element, containing a
detailed message regarding the status.
3 - Before closing the Properties menu, click the "..." button to the right of the
Data Type drop down list.
4 - On the Indexed Image Properties menu click the "...":
When you're done. Click the OK button on the Indexed Image menu. Then click
the OK button on the Properties menu and finally click the Database refresh
button as prompted.
When refreshed, if correctly configured and the database field contains valid
image paths, the database field will now show the images from the folder.