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
VPSCaching111
VDXCaching112
PPDSetup113
Add or Remove PPDs113
Refresh the PPD Lists114
Specify Job Infos114
Associate Attachments with a Document114
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 Images174
Color Management and Matching175
PostScript Attachments177
Delete a Resource178
Conditions181
Conditions181
Global Conditions181
Local Conditions181
Line Conditions181
Create or Remove a Line Condition182
PlanetPress Supports Global Variables in the Global Function Library Manager183
Create a Global Condition184
View or Edit the Properties of a Global Condition186
Apply or Remove a Global Condition186
Use a Global Condition as a Variable186
Combine Global Conditions186
Override a Global Condition189
Delete a Global Condition189
Create, Edit, or Delete Local Conditions189
Verify a Condition190
Add a Global Function190
View or Edit a Global Function190
Delete a Global Function191
PlanetPress Talk193
Variable PlanetPressTalk Properties193
The PlanetPress Talk Editor195
PlanetPress Talk Editor Features196
Debugging Features197
Code Execution in the Editor197
Enter a New Program in the Editor199
Import or Export a Program199
Save a Program199
Print a Program199
Exit the PlanetPress Talk Editor200
Show or Hide the Commands Area or Spy List200
Adjust the Sizes of the Commands Area, Code Area and Spy List200
Expand or Collapse Command Groups201
Enter Commands in the Editor201
Use Command and Variable Name Completion202
Dynamic Images203
PlanetPress Talk Expressions for Dynamic Images that Reference Image Resources203
PlanetPress Talk Expressions for Dynamic Images that Reference External Images203
Physical Location of Dynamic Images204
Host-Based or Printer-Based Document Execution204
Image Format205
Summary of Execution Environments205
Examples of PlanetPress Talk Expressions that Resolve to Pathnames206
Image Name and Pathname Resolution in Dynamic Images207
Custom Data Selections207
PlanetPress Talk Before and After207
Creating and using Runpages208
Convert an Object to PlanetPress Talk209
PlanetPress Talk Basics211
Assumed Knowledge211
PlanetPress Talk211
PlanetPress Talk Terminology213
The Elements of PlanetPress Talk213
PlanetPress Talk Syntax214
Data Types216
Variables218
Create a Global Variable219
View or Edit a Global Variable220
Delete a Global Variable220
System Variables with Local Scope222
System Variables with Global Scope222
System Objects with Global Scope223
Current System Object223
Runpage226
Using Foreign Language Text with PPtalk226
Learning PlanetPress Talk230
Integrate PlanetPress Talk into Documents231
Define and Assign Values to Variables231
Select Data232
Use Functions as Arguments232
Debug Scripts232
Tips and Tricks232
Code Samples233
Print a variable number of copies of a page based on a value in the datastream233
Store two lines of input data on one line of the data page234
Print a line of text on odd-numbered pages235
Determine the proper page to print based on the width of the data in the data page235
Language Reference237
Language Reference (Alphabetical)237
PPDs and PostScript617
CallPPD (procedure)617
PassThrough (procedure)618
RunPS (procedure)618
SelectMedia (procedure)618
Program Control619
Exit (procedure)619
For… EndFor (procedure)620
If … ElseIf… EndIf (procedure)621
Repeat... Until (procedure)623
Search … EndSearch (procedure)623
StopJob (procedure)624
Conversion Tables625
ASCII Conversion Table626
Points to Inches or Centimeters628
Points to Inches629
Points to Centimeters631
Line Height as a Function of Lines Per Unit (LPU)632
Line Height as a Function of Lines Per Inch632
Line Height as a Function of Lines Per Centimeter632
Tools and Utilities635
The Image Downloader635
Adjust the Image Quality Options637
Virtual Drive Manager639
Access Manager639
To open the Access Manager640
To add a new entry in the list640
To modify permissions641
SOAPAccess641
To add a new SOAPuser642
To define or change the permissions for a SOAP User642
Managing Documents and Printers645
Obtain Information from a Printer645
Delete Documents or Files on the Printer645
Printer Firmware Version646
Control Versions of a Document646
Adjust Printer Settings647
Form Cache648
Remove Background Color648
Named Colors649
Create a Graybar Report650
The Hex Viewer652
Date and Time Format654
Previews of Documents that Use ASCII Emulation660
Preview a Capture-Ready document661
Print a Document Preview661
Print Using a Windows Driver662
Printing Using a Windows Driver664
Generate a Soft Proof664
Convert a Document and Save It to a File666
Install a Document667
Install a document on one or more printers667
Send the document to one or more local PlanetPress Workflow servers668
Save a PTK or PTZfile to send to a remote PlanetPress Workflow installation669
Send a document to PlanetPress iWatch or a UNIX or Linux CodeHost BrightQ print spooler system:669
Perform a Batch Conversion and/or Installation670
To use the Batch Send To wizard670
Move a Document between PlanetPress Design Installations670
Trigger670
How a Variable Content Document Runs on a Printer671
Phase 1: Data Reading671
Phase 2: Global Condition Resolution671
Phase 3: Document Page Printing671
Techniques for Inserting Triggers671
Trigger Syntax672
Trigger Syntax for Documents Installed on a Hard Disk673
Trigger Syntax for Documents Installed in RAM673
Trigger Syntax for Documents Installed in Flash Memory673
Run a Document Installed on a Printer674
Run a Document Installed in a PlanetPress Suite Workflow Tool674
Run a Document that Uses a Database Emulation674
Run Several Documents as a Single Job675
Troubleshoot Execution Problems675
Keyboard Shortcuts679
PlanetPress Design General679
Exit PlanetPress Design679
Use the Help System679
Show or Hide Areas of the Program Window680
Work with Hierarchies680
Work in the Document Structure Area680
Work with Documents680
Preview and Install Documents681
Work with Pages681
Adjust the Zoom682
Use Basic Editing Commands682
Work in the Data Pane682
Work with the Data File683
Work with Data Selections683
Use the Hex Viewer684
Work with Objects685
Work in the Text Properties of a Text Object686
PlanetPress Talk Editor686
General687
Show or Hide Areas of the Editor687
Expand or Collapse Groups in the Commands Area687
Work in the Code Area688
Use Command Name Completion/Argument Insertion688
Undo Commands688
Work with Selections688
Add/Remove Comments689
Indent Code689
Search689
Jump to a Specific Line689
Use Bookmarks689
Execute a Program689
Debug Code690
Print the Script690
Converted Document690
About Documents690
About Document Elements691
About Data Selections692
About Objects692
PPD File692
PP7 File692
PTZ File693
PTK File693
About Resources693
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.