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
Data Selector Display Preferences79
Dock and Undock Areas of the Program Window80
Minimize and Customize the Ribbon81
Show or Hide Areas of the Program Window81
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 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 Options109
FreeForm Caching110
FreeForm 2 Caching111
VPSCaching112
VDXCaching112
PPDSetup113
Add or Remove PPDs114
Refresh the PPD Lists114
Specify Job Infos114
Associate Attachments with a Document115
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 Images178
Color Management and Matching179
PostScript Attachments181
Delete a Resource182
Conditions185
Conditions185
Global Conditions185
Local Conditions185
Line Conditions185
Create or Remove a Line Condition186
PlanetPress Supports Global Variables in the Global Function Library Manager187
Create a Global Condition188
View or Edit the Properties of a Global Condition190
Apply or Remove a Global Condition190
Use a Global Condition as a Variable190
Combine Global Conditions190
Override a Global Condition193
Delete a Global Condition193
Create, Edit, or Delete Local Conditions193
Verify a Condition194
Add a Global Function194
View or Edit a Global Function194
Delete a Global Function195
PlanetPress Talk197
Variable PlanetPressTalk Properties197
The PlanetPress Talk Editor199
PlanetPress Talk Editor Features200
Debugging Features201
Code Execution in the Editor201
Enter a New Program in the Editor203
Import or Export a Program203
Save a Program203
Print a Program203
Exit the PlanetPress Talk Editor204
Show or Hide the Commands Area or Spy List204
Adjust the Sizes of the Commands Area, Code Area and Spy List204
Expand or Collapse Command Groups205
Enter Commands in the Editor205
Use Command and Variable Name Completion206
Dynamic Images207
PlanetPress Talk Expressions for Dynamic Images that Reference Image Resources207
PlanetPress Talk Expressions for Dynamic Images that Reference External Images207
Physical Location of Dynamic Images208
Host-Based or Printer-Based Document Execution208
Image Format209
Summary of Execution Environments209
Examples of PlanetPress Talk Expressions that Resolve to Pathnames210
Image Name and Pathname Resolution in Dynamic Images211
Custom Data Selections211
PlanetPress Talk Before and After211
Creating and using Runpages212
Convert an Object to PlanetPress Talk213
PlanetPress Talk Basics215
Assumed Knowledge215
PlanetPress Talk215
PlanetPress Talk Terminology217
The Elements of PlanetPress Talk217
PlanetPress Talk Syntax218
Data Types220
Variables222
Create a Global Variable223
View or Edit a Global Variable224
Delete a Global Variable224
System Variables with Local Scope226
System Variables with Global Scope226
System Objects with Global Scope227
Current System Object227
Runpage230
Using Foreign Language Text with PPtalk230
Learning PlanetPress Talk234
Integrate PlanetPress Talk into Documents235
Define and Assign Values to Variables235
Select Data236
Use Functions as Arguments236
Debug Scripts236
Tips and Tricks236
Code Samples237
Print a variable number of copies of a page based on a value in the datastream237
Store two lines of input data on one line of the data page238
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
Language Reference241
Language Reference (Alphabetical)241
C128 (function)538
Char (function)539
CurToStr (function)539
ExpandString (function)539
Field (function)540
FieldName (function)540
FloatToStr (function)541
Get (function)541
If (function)542
IntToStr (function)542
Left (function)543
LowerCase (function)544
Mid (function)544
Right (function)545
StringReplace (function)546
Strip (function)546
Trim (function)547
TrimLeft (function)547
TrimRight (function)548
UpperCase (function)548
xmlGet()548
Boolean549
Add (function)549
Eq (function)550
Find (function)551
GE (function)551
GT (function)552
If (function)552
IsNumber (function)553
IsPageEmpty (function)553
LE (function)554
LT (function)554
NE (function)555
Not (Boolean operator function)556
Or (Boolean operator function)556
XOr (Boolean operator function)557
Procedures (by category)558
Debugging558
Breakpoint (procedure)559
OutputDebugString (procedure)559
Variables559
Define (procedure)559
Put (procedure)560
Set (procedure)561
Global Functions561
@name (function/procedure)561
Function @name (procedure)562
Conversion Tables629
ASCII Conversion Table630
Points to Inches or Centimeters632
Points to Inches633
Points to Centimeters635
Line Height as a Function of Lines Per Unit (LPU)636
Line Height as a Function of Lines Per Inch636
Line Height as a Function of Lines Per Centimeter636
Tools and Utilities639
The Image Downloader639
Adjust the Image Quality Options641
Virtual Drive Manager643
Access Manager643
To open the Access Manager644
To add a new entry in the list644
To modify permissions645
SOAPAccess645
To add a new SOAPuser646
To define or change the permissions for a SOAP User646
Managing Documents and Printers649
Obtain Information from a Printer649
Delete Documents or Files on the Printer649
Printer Firmware Version650
Control Versions of a Document650
Adjust Printer Settings651
Form Cache652
Remove Background Color652
Named Colors653
Create a Graybar Report654
The Hex Viewer656
Date and Time Format658
Document Output and Preview661
About Previewing and Printing661
Preview a Document On Screen661
Previews of Documents that Use ASCII Emulation664
Preview a Capture-Ready document665
Print a Document Preview665
Print Using a Windows Driver666
Printing Using a Windows Driver668
Generate a Soft Proof668
Convert a Document and Save It to a File670
Install a Document671
Install a document on one or more printers671
Send the document to one or more local PlanetPress Workflow servers672
Save a PTK or PTZfile to send to a remote PlanetPress Workflow installation673
Send a document to PlanetPress iWatch or a UNIX or Linux CodeHost BrightQ print spooler system:673
Perform a Batch Conversion and/or Installation674
To use the Batch Send To wizard674
Move a Document between PlanetPress Design Installations674
Trigger674
How a Variable Content Document Runs on a Printer675
Phase 1: Data Reading675
Phase 2: Global Condition Resolution675
Phase 3: Document Page Printing675
Techniques for Inserting Triggers675
Trigger Syntax676
Trigger Syntax for Documents Installed on a Hard Disk677
Trigger Syntax for Documents Installed in RAM677
Trigger Syntax for Documents Installed in Flash Memory677
Run a Document Installed on a Printer678
Run a Document Installed in a PlanetPress Suite Workflow Tool678
Run a Document that Uses a Database Emulation678
Run Several Documents as a Single Job679
Troubleshoot Execution Problems679
Keyboard Shortcuts683
PlanetPress Design General683
Exit PlanetPress Design683
Use the Help System683
Show or Hide Areas of the Program Window684
Work with Hierarchies684
Work in the Document Structure Area684
Work with Documents684
Preview and Install Documents685
Work with Pages685
Adjust the Zoom686
Use Basic Editing Commands686
Work in the Data Pane686
Work with the Data File687
Work with Data Selections687
Use the Hex Viewer688
Work with Objects689
Work in the Text Properties of a Text Object690
PlanetPress Talk Editor690
General691
Show or Hide Areas of the Editor691
Expand or Collapse Groups in the Commands Area691
Work in the Code Area692
Use Command Name Completion/Argument Insertion692
Undo Commands692
Work with Selections692
Add/Remove Comments693
Indent Code693
Search693
Jump to a Specific Line693
Use Bookmarks693
Execute a Program693
Debug Code694
Print the Script694
Converted Document694
About Documents694
About Document Elements695
About Data Selections696
About Objects696
PPD File696
PP7 File696
PTZ File697
PTK File697
About Resources697
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.