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
Revision2013-03-22
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
PDF Text Extraction Tolerance Factors79
Data Selector Display Preferences80
Dock and Undock Areas of the Program Window81
Minimize and Customize the Ribbon82
Show or Hide Areas of the Program Window82
Resize the Program Window Area82
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 Page90
Emulation90
Text-Based Emulation Properties91
Line Printer Emulation91
ASCII Emulation92
Comma Separated Value (CSV) Emulation92
Channel Skip Emulation93
Database Emulation93
Export or Import a Database Emulation Configuration95
XML Emulation96
PDF Emulation96
User-Defined Emulation96
Associate a Sample Data File with a Document97
Metadata97
Setting Up a Document105
Set Up a Document105
Cacheable Execution Options110
FreeForm Caching110
FreeForm 2 Caching111
VPSCaching112
VDXCaching112
PPDSetup114
Add or Remove PPDs114
Refresh the PPD Lists115
Specify Job Infos115
Normal Page119
Overlay Page119
Virtual Page120
Execution Order of Pages120
Advanced Paper Handling120
Associate Attachments with a Page121
Add or Remove Overlays121
PlanetPress Design Objects123
View or Edit the Properties of an Object123
Basic Attributes123
Repeat124
Snapping Points126
Manipulation126
PlanetPress Talk Before and PlanetPress Talk After127
Preview options127
Line Repeat and Data Overflow127
Snapping Points128
Object Preview Window129
Text and Box Object130
Borders130
Color131
Text131
Apply a Style to Text in a Text Object132
Set Tabs133
Adjust Alignment and Lines Per Unit settings134
Spell Check Text in a Text Object135
Use the Thesaurus137
Change the Width of the Text Object in the Text Area138
Use Variables in a Text Object138
Data Selection Object140
Data140
Lines140
Archive/Email/Fax141
Text-Based Data Selections142
Database Data Selections143
XMLData Selections144
PDFData Selections145
Edit Text-Based Data Selection Size145
Modifying and Updating Images180
Color Management and Matching181
PostScript Attachments183
Delete a Resource184
Conditions187
Conditions187
Global Conditions187
Local Conditions187
Line Conditions187
Create or Remove a Line Condition188
PlanetPress Supports Global Variables in the Global Function Library Manager189
Create a Global Condition190
View or Edit the Properties of a Global Condition192
Apply or Remove a Global Condition192
Use a Global Condition as a Variable192
Combine Global Conditions192
Override a Global Condition195
Delete a Global Condition195
Create, Edit, or Delete Local Conditions195
Verify a Condition196
Add a Global Function196
View or Edit a Global Function196
Delete a Global Function197
PlanetPress Talk199
Variable PlanetPressTalk Properties199
The PlanetPress Talk Editor201
PlanetPress Talk Editor Features202
Debugging Features203
Code Execution in the Editor203
Enter a New Program in the Editor205
Import or Export a Program205
Save a Program205
Print a Program205
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 List206
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 Images209
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 After213
Creating and using Runpages214
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
Create a Global Variable225
View or Edit a Global Variable226
Delete a Global Variable226
System Variables with Local Scope228
System Variables with Global Scope228
System Objects with Global Scope229
Current System Object229
Runpage232
Using Foreign Language Text with PPtalk232
Learning PlanetPress Talk236
Integrate PlanetPress Talk into Documents237
Define and Assign Values to Variables237
Select Data238
Use Functions as Arguments238
Debug Scripts238
Tips and Tricks238
Code Samples239
Print a variable number of copies of a page based on a value in the datastream239
Store two lines of input data on one line of the data page240
Print a line of text on odd-numbered pages241
Determine the proper page to print based on the width of the data in the data page241
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
Move a Document between PlanetPress Design Installations676
Trigger676
How a Variable Content Document Runs on a Printer677
Phase 1: Data Reading677
Phase 2: Global Condition Resolution677
Phase 3: Document Page Printing677
Techniques for Inserting Triggers677
Trigger Syntax678
Trigger Syntax for Documents Installed on a Hard Disk679
Trigger Syntax for Documents Installed in RAM679
Trigger Syntax for Documents Installed in Flash Memory679
Run a Document Installed on a Printer680
Run a Document Installed in a PlanetPress Suite Workflow Tool680
Run a Document that Uses a Database Emulation680
Run Several Documents as a Single Job681
Troubleshoot Execution Problems681
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 Viewer690
Work with Objects691
Work in the Text Properties of a Text Object692
PlanetPress Talk Editor692
General693
Show or Hide Areas of the Editor693
Expand or Collapse Groups in the Commands Area693
Work in the Code Area694
Use Command Name Completion/Argument Insertion694
Undo Commands694
Work with Selections694
Add/Remove Comments695
Indent Code695
Search695
Jump to a Specific Line695
Use Bookmarks695
Execute a Program695
Debug Code696
Print the Script696
Converted Document696
About Documents696
About Document Elements697
About Data Selections698
About Objects698
PPD File698
PP7 File698
PTZ File699
PTK File699
About Resources699
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 fontwhen 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 font size 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 fontappears 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.