No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any
other language or computer language in whole or in part, in any form or by any means, whether it be electronic, mechanical,
magnetic, optical, manual or otherwise, without prior written consent of Objectif Lune Inc.
Objectif Lune Inc.disclaims all warranties as to this software, whether expressed or implied, including without limitation any
implied warranties of merchantability, fitness for a particular purpose, functionality, data integrity or protection.
PlanetPress and PrintShop Mail are registered trademarks of Objectif Lune Inc.
PostScript and Acrobat are registered trademarks of Adobe Systems Inc.
Pentium is a registered trademark of Intel Corporation.
Windows is a registered trademark of Microsoft Corporation.
Adobe, Adobe PDF Library, Adobe Acrobat, Adobe Distiller, Adobe Reader, Adobe Illustrator, Adobe Photoshop, Optimized
Postcript Stream, the Adobe logo, the Adobe PDF logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.
Trademarks of other companies mentioned in this documentation appear for identification purposes only and are the property
of their respective companies.
TitlePlanetPress Design User Guide
Revision2012-01-25
Create a Style29
Apply a Style31
View or Edit the Properties of a Style31
Delete a Style32
Set the Default Style for New Objects and Groups32
Create a MICR Style for Account Information on Cheques33
Arabic Content in PlanetPress Design Documents33
CID-Keyed Fonts34
Double-byte Character Sets34
Encoding Tables34
Why have different encoding tables?35
Encoding Tables in PlanetPress Design35
Edit the Encoding Table for a Style35
Set a Default Encoding Table38
Export an Encoding Table38
Refresh the Font Lists38
Install a PostScript Font in PlanetPress Design39
Overview41
Icons used in this guide41
Other Documentation41
Getting Started43
Environment Considerations43
Terminal Server/Service43
VMWare/ESX43
32-Bit or 64-Bit?43
Network Considerations43
Mapped Drives43
Activate Your Printers44
The Nature of PlanetPress Design44
The PlanetPress Design Program45
Start PlanetPress Design45
The PlanetPress Suite Button45
Open a Document46
Save a Document47
Save and Open a Document Template47
Change the Interface Language47
Exit PlanetPress Design48
The Quick Access Toolbar48
The PlanetPress Design Ribbon49
Rulers Preferences76
Form Pages Preferences77
Compiler Messages Preferences77
Document and Pages Preferences77
Image Resources Preferences78
Data Selector Display Preferences79
Dock and Undock Areas of the Program Window80
Minimize and Customize the Ribbon80
Show or Hide Areas of the Program Window80
Resize the Program Window Area81
Data in PlanetPress Design83
Sample Data File83
Capturing Data85
Capture Sample Data Using the Data Capture Tool85
LPD Input85
Serial Input86
Telnet Input86
Windows Queue Input87
The Data Selector88
Metadata tab89
Data Page89
Emulation90
Text-Based Emulation Properties90
Line Printer Emulation91
ASCII Emulation91
Comma Separated Value (CSV) Emulation92
Channel Skip Emulation92
Database Emulation93
Export or Import a Database Emulation Configuration94
XML Emulation95
PDF Emulation95
User-Defined Emulation96
Associate a Sample Data File with a Document96
Metadata97
Setting Up a Document103
Set Up a Document103
Cacheable Execution Options107
FreeForm Caching108
FreeForm 2 Caching109
VPSCaching110
VDX/PPMLCaching110
PPDSetup111
Add or Remove PPDs112
Refresh the PPD Lists112
Specify Job Infos112
Associate Attachments with a Document113
Normal Page117
Overlay Page117
Virtual Page118
Execution Order of Pages118
Advanced Paper Handling118
Associate Attachments with a Page119
Add or Remove Overlays119
PlanetPress Design Objects121
View or Edit the Properties of an Object121
Basic Attributes121
Repeat122
Snapping Points124
Manipulation124
PlanetPress Talk Before and PlanetPress Talk After125
Preview options125
Line Repeat and Data Overflow125
Snapping Points126
Object Preview Window127
Text and Box Object128
Borders128
Color129
Text129
Apply a Style to Text in a Text Object130
Set Tabs131
Adjust Alignment and Lines Per Unit settings132
Spell Check Text in a Text Object133
Use the Thesaurus135
Change the Width of the Text Object in the Text Area136
Use Variables in a Text Object136
Data Selection Object138
Data138
Lines138
Archive/Email/Fax139
Text-Based Data Selections140
Database Data Selections141
XMLData Selections142
PDFData Selections143
Edit Text-Based Data Selection Size143
Modifying and Updating Images178
Color Management and Matching179
PostScript Attachments181
Delete a Resource182
Conditions185
Conditions185
Global Conditions185
Local Conditions185
Line Conditions185
Create or Remove a Line Condition186
Variables187
PlanetPress Supports Global Variables in the Global Function Library Manager188
Create a Global Condition188
View or Edit the Properties of a Global Condition190
Apply or Remove a Global Condition191
Use a Global Condition as a Variable191
Create a Global Variable191
View or Edit a Global Variable192
Delete a Global Variable192
Combine Global Conditions193
Override a Global Condition196
Delete a Global Condition196
Create, Edit, or Delete Local Conditions197
Verify a Condition197
Add a Global Function197
View or Edit a Global Function198
Delete a Global Function198
PlanetPress Talk199
Variable PlanetPressTalk Properties199
The PlanetPress Talk Editor201
PlanetPress Talk Editor Features202
Debugging Features203
Code Execution in the Editor204
Enter a New Program in the Editor205
Import or Export a Program205
Save a Program205
Print a Program206
Exit the PlanetPress Talk Editor206
Show or Hide the Commands Area or Spy List206
Adjust the Sizes of the Commands Area, Code Area and Spy List207
Expand or Collapse Command Groups207
Enter Commands in the Editor207
Use Command and Variable Name Completion208
Dynamic Images209
PlanetPress Talk Expressions for Dynamic Images that Reference Image Resources209
PlanetPress Talk Expressions for Dynamic Images that Reference External Images210
Physical Location of Dynamic Images210
Host-Based or Printer-Based Document Execution210
Image Format211
Summary of Execution Environments211
Examples of PlanetPress Talk Expressions that Resolve to Pathnames212
Image Name and Pathname Resolution in Dynamic Images213
Custom Data Selections213
PlanetPress Talk Before and After214
Creating and using Runpages215
Convert an Object to PlanetPress Talk215
PlanetPress Talk Basics217
Assumed Knowledge217
PlanetPress Talk217
PlanetPress Talk Terminology219
The Elements of PlanetPress Talk219
PlanetPress Talk Syntax220
Data Types222
Variables224
System Variables with Local Scope225
System Variables with Global Scope225
System Objects with Global Scope226
Current System Object226
Runpage229
Using Foreign Language Text with PPtalk229
Learning PlanetPress Talk233
Integrate PlanetPress Talk into Documents234
Define and Assign Values to Variables234
Select Data235
Use Functions as Arguments235
Debug Scripts235
Tips and Tricks235
Code Samples236
Print a variable number of copies of a page based on a value in the datastream236
Store two lines of input data on one line of the data page237
Print a page n-up238
Print a line of text on odd-numbered pages239
Determine the proper page to print based on the width of the data in the data page239
String538
@ (function)538
C128 (function)539
Char (function)539
CurToStr (function)540
ExpandString (function)540
Field (function)540
FieldName (function)541
FloatToStr (function)541
Get (function)542
If (function)543
IntToStr (function)543
Left (function)544
LowerCase (function)545
Mid (function)545
Right (function)546
StringReplace (function)546
Strip (function)547
Trim (function)548
TrimLeft (function)548
TrimRight (function)548
UpperCase (function)549
xmlGet()549
Boolean550
Add (function)550
Eq (function)551
Find (function)551
GE (function)552
GT (function)552
If (function)553
IsNumber (function)554
IsPageEmpty (function)554
LE (function)554
LT (function)555
NE (function)555
Not (Boolean operator function)556
Or (Boolean operator function)557
XOr (Boolean operator function)558
Procedures (by category)558
Debugging559
Breakpoint (procedure)559
OutputDebugString (procedure)560
Variables560
Define (procedure)560
Put (procedure)561
Set (procedure)561
Global Functions562
Conversion Tables631
ASCII Conversion Table632
Points to Inches or Centimeters634
Points to Inches635
Points to Centimeters637
Line Height as a Function of Lines Per Unit (LPU)638
Line Height as a Function of Lines Per Inch638
Line Height as a Function of Lines Per Centimeter638
Tools and Utilities641
The Image Downloader641
Adjust the Image Quality Options643
Virtual Drive Manager645
Access Manager645
To open the Access Manager646
To add a new entry in the list646
To modify permissions647
SOAPAccess647
To add a new SOAPuser648
To define or change the permissions for a SOAP User648
Managing Documents and Printers651
Obtain Information from a Printer651
Delete Documents or Files on the Printer651
Printer Firmware Version652
Control Versions of a Document652
Adjust Printer Settings653
Form Cache654
Remove Background Color654
Named Colors655
Create a Graybar Report656
The Hex Viewer658
Date and Time Format660
Document Output and Preview663
About Previewing and Printing663
Preview a Document On Screen663
Previews of Documents that Use ASCII Emulation666
Preview a Capture-Ready document667
Print a Document Preview667
Print Using a Windows Driver668
Printing Using a Windows Driver670
Generate a Soft Proof670
Convert a Document and Save It to a File672
Install a Document673
Install a document on one or more printers673
Send the document to one or more local PlanetPress Workflow servers674
Save a PTK or PTZfile to send to a remote PlanetPress Workflow installation675
Send a document to PlanetPress iWatch or a UNIX or Linux CodeHost BrightQ print spooler system:675
Perform a Batch Conversion and/or Installation676
To use the Batch Send To wizard676
Print a Document without Data676
Exclude the Sample Data File from the PP7 File677
Move a Document between PlanetPress Design Installations677
Trigger678
How a Variable Content Document Runs on a Printer678
Phase 1: Data Reading678
Phase 2: Global Condition Resolution678
Phase 3: Document Page Printing678
Techniques for Inserting Triggers679
Trigger Syntax680
Trigger Syntax for Documents Installed on a Hard Disk680
Trigger Syntax for Documents Installed in RAM680
Trigger Syntax for Documents Installed in Flash Memory680
Run a Document Installed on a Printer681
Run a Document Installed in a PlanetPress Suite Workflow Tool681
Run a Document that Uses a Database Emulation681
Run Several Documents as a Single Job682
Troubleshoot Execution Problems682
Keyboard Shortcuts685
PlanetPress Design General685
Exit PlanetPress Design685
Use the Help System685
Show or Hide Areas of the Program Window686
Work with Hierarchies686
Work in the Document Structure Area686
Work with Documents686
Preview and Install Documents687
Work with Pages687
Adjust the Zoom688
Use Basic Editing Commands688
Work in the Data Pane688
Work with the Data File689
Work with Data Selections689
Use the Hex Viewer689
Work with Objects690
Work in the Text Properties of a Text Object691
PlanetPress Talk Editor691
General692
Show or Hide Areas of the Editor692
Expand or Collapse Groups in the Commands Area692
Work in the Code Area693
Use Command Name Completion/Argument Insertion693
Undo Commands693
Work with Selections693
Add/Remove Comments694
Indent Code694
Search694
Jump to a Specific Line694
Use Bookmarks694
Execute a Program694
Debug Code695
Print the Script695
Converted Document695
About Documents695
About Document Elements696
About Data Selections697
About Objects697
PPD File697
PP7 File697
PTZ File698
PTK File698
About Resources698
A style is a specific set of properties that describe how a font is used within a PlanetPress Design object. Styles are created at
the document level and can be used in any object where text is displayed, including data selections, text boxes, human-readable barcode text and business graphics.
While creating your PlanetPress Design document, you can use multiple styles as well as unique fonts for each style. This chapter explains how to create and manage styles, how to install and manage fonts, as well as how to troubleshoot font issues.
Create a Style
To create a style:
1. Do one of the following to display the Style properties dialog box:
l In the Structure area, right-click on the Styles folder and choose Style.
l Choose Home | Style.
The Style properties dialog box appears.
2. If you want to preview the style as you work, click the Preview button to display the Style Preview. Click the Preview
button a second time to hide the Style Preview. You can show or hide the Style Preview at any time as you work in the
Style dialog. As you work the Style Preview updates to reflect any changes you make to the properties in the Style
dialog. See To work in the Style Preview: for help using the Style Preview.
3. In the Style properties dialog box, click Style properties, enter a name for the style, indicate whether or not you
want to set it as the default style, and set the font properties for the style.
Name: Enter a name for the style. Although PlanetPress Design supplies a default name, it is recommended you
choose a name that reflects the purpose of the style. A meaningful name makes it easier to distinguish one style from
another in a document, and thus makes the document easier to design and maintain. Names cannot begin with a
number, and can contain only the following ASCII characters: underscore, upper and lower case letters of the alphabet,
all digits 0 through 9. If you use an underscore in the name, it should not appear as either the first or last character of
the name as this may cause internal conflicts in the software. Names are case-insensitive and must be unique (no two
elements in a document can have the same name). Names can be a maximum of 50 characters in length. Finally, PlanetPress Talk variable and command names are reserved words; you cannot use any of these reserved words as a
name.
Default style: Select to make this style the default style. The default style is the style PlanetPress Design associates
by default with each new object it creates. It is the style that appears by default in the Style box in the Basic attributes
properties of an object when you create that object. The current default style appears in bold in the Structure area.
Font Definition
Font type: Select the type of font for the style. PostScript fonts are strongly recommended to improve printer performance and reduce the file size of a document. The type you select determines the contents and availability of the
remaining options. The Default font type option in the User Options dialog box determines the font type that appears
here by default.
Refresh Fonts List button: Click to refresh the list of available fonts. You use this button if you added fonts to, or
removed fonts from, your PlanetPress Design installation after you began your current PlanetPress Design session.
PlanetPress Design automatically refreshes the list of available fonts each time it starts.
Font name: Select the font you want to use for the style. The Font type you selected determines the contents of this
box. If the font you want to use is a Bold, Italic, or Bold Italic font, you should choose the regular version of the font in
this box, and use the Bold and/or Italic buttons to adjust its Bold and Italic properties. For example, if you want to use
the Helvetica Bold font, select Helvetica in this box, and click the Bold button. This increases the flexibility of the style;
rather than create a new style for each version of the font, you create a single style and adjust the properties as necessary when you reference the style. Note that if the font you select exists in the PPD file of the document (i.e. is
printer-resident), PlanetPress Design does not include the font when it performs a hard copy preview or installation of
the document. If you did not modify the Font type option, the font name that appears by default is the one set in the
Default font name option in the User Options dialog box.
Default attributes
Font size: Select or type the point size for the font. Note that this is the default fontsize for the style. You can override
the default as necessary in various places in PlanetPress Design, including the text in text/box objects, and in PlanetPress Talk using the setstyleext() command.
Bold button: Click to turn the Bold property of the font on or off. When you turn the Bold property on, the style uses
the font selected in the Bold font name box, or, if the Italic property is also on, the font selected in the Bold italic font
name box, of the Advanced Fonts dialog box. The property is on when the button appears recessed.
Italic button: Click to turn the Italic property of the font on or off. When you turn the Italic property on, the style uses
the font you selected in the Italic font name box, or, if the Bold property is also on, the font selected in the Bold italic
font name box, of the Advanced Fonts dialog box. The property is on when the button appears recessed.
Underline button: Click to turn the Underline property of the font on or off. When you turn the Underline property
on, the style underlines the characters of its font. The property is on when the button appears recessed. Note that
spaces may not appear underlined in PlanetPress Design, but that they will be when the document is used to generate
output.
Color box: View the current color for the style. When you select a color in the Color Picker, this box updates to reflect
the selected color.
Color button: Click to select a color for the style using the Color Picker. The Color box displays the selected color for
the style.
Font ratio: Enter a percentage by which you want to shrink or stretch the font spacing. This value adjusts both the
width of each glyph and the spacing between glyphs. This is in contrast to kerning, which modifies the spacing between
characters without modifying the width of characters.
4. If necessary, click Set advanced fonts (the button to the right of the Font name box), and use the Advanced Fonts
dialog box to specify the fonts to use when you set the Bold, Italic, and BoldItalic properties on this style.
Bold font name: Select the font to use when you set the Bold property on this style. You use the Bold button to set
the Bold property. The Font type you selected determines the contents of this box, and the Font name you selected
determines which font appears by default in this box. It is important to select a font from the same family as the font
you selected for the style in the Font name box. For example, if you selected Helvetica in the Font name box, you
should select a Helvetica font (for example, Helvetica Bold) in this box. This ensures all fonts the style references use
the same encoding table, and thus prevents unpredictable results. Note that if the font you select exists in the PPD file
of the document (i.e. is printer-resident), PlanetPress Design does not include the font when it performs a hard copy
preview or an installation of the document.
Italic font name: Select the font to use when you set the Italic property on this style. You use the Italic button to set
the Italic property. The Font type you selected determines the contents of this box, and the Font name you selected
determines which font appears by default in this box. It is important to select a font from the same family as the font
you selected for the style in the Font name box. For example, if you selected Helvetica in the Font name box, you
should select a Helvetica font (for example, Helvetica Oblique) in this box. This ensures all fonts the style references
use the same encoding table, and thus prevents unpredictable results. Note that if the font you select exists in the PPD
file of the document (i.e. is printer-resident), PlanetPress Design does not include the font when it performs a hard copy
preview or an installation of the document.
Bold italic font name: Select the font to use when you set both the Bold and Italic properties on this style. You use
the Italic and Bold buttons to set these properties. The Font type you selected determines the contents of this box, and
the Font name you selected determines which font appears by default in this box. It is important to select a font from
the same family as the font you selected for the style in the Font name box. For example, if you selected Helvetica in
the Font name box, you should select a Helvetica font (for example, Helvetica Bold Oblique) in this box. This ensures all
fonts the style references use the same encoding table, and thus prevents unpredictable results. Note that if the font
you select exists in the PPD file of the document (i.e. is printer-resident), PlanetPress Design does not include the font
when it performs a hard copy preview or an installation of the document.
5. In the Encoding box, select the encoding table you want to use for the font.