
PTBurnSDK Page43of68
©2011PrimeraTechnology,Inc.PrimeraisaregisteredtrademarkandBravoisatrademarkofPrimeraTechnology,Inc.Allothertrademarks
arethepropertyoftheirrespectivecompanies.
5.2 Merge Printing
MoreinformationregardingmergeprintingcanbefoundinSection2.1.40.
ThisisanotherexampleofcreatingaSureThing.STDdocumenttemplateforreplaceabletext&
photos.
BelowarethestepsusedtocreatethefileMySureThingFile.STDanditsassociatedMergetext
filecalledMyMerge.CSV(thesefilesarelocatedinthe\Client\SureThingMergeSample\folder):
1.Createacomma‐delimitedtextfilewithatitle/nameforeachreplaceableitem.Youcanuse
anywordprocessingapplicationorExcel.Besuretosavethetextfileinatextformat(notina
proprietarywordprocessingformat).SavewithUnicodeencodingifyouhave2‐byte
charactersoryoucanuseANSIencodingiftherearenotany2‐bytecharacters.
Inthisexample,thenames/titlesofthereplaceableitemsare:MyText,MyPic1,MyPic2,
MyPic3.Then,addtheactualtextandphotonamesyouwanttobeinsertedintothe.STD
documentatprinttime.Inthisexample,Iwantedittosay"Joe'sPhotos",andIwantedthree
imagestobeinserted:Pic1.jpg,Pic2.jpg,andPic3.jpg.Savethisfile.(Notethatyoucanmodify
theMergefilejustbeforeprinttimetoallowyoutoreplacethetext&photoswithanything
youwant,oryoucanusetheMergeFieldkeyinyourJRQtoletPTBurnreplacethetext).The
fileextensiondoesnothavetobe.csv;itcouldbesomethingelselike.txt.
2.OpenSurethingandstartanewdesign.Youcanaddanystaticinformationatthistime‐‐for
example,text,pictures,andbackgroundsthatdonotchangefromdisctodisc.
3.ClickonInsert/SetMergeFile.Browseandselectthefileyoucreatedinstep1.
4.Setuptheprintdatetobeautomaticallysetatprinttime:
ClickonInsert/InsertMergeField.ThenclicktheSpecialFieldstab.ThenchoosePrintDate
fromtheFieldType.
5.Setupthereplaceabletextfield:
ClickonInsert/InsertMergeField.Youshouldseethetitlescreatedinstep1.Chooseanyof
thereplaceabletextvalues‐‐MyTextinthisexample(weareonlycreatingonereplaceabletext
item
inthisexample).
6.SetupthereplaceablePhotos:
ClickonTools/ObjectTools/PictureTool.Marquisarectangle(youcanchangesize/position
later)andthenchecktheMerge:checkbox.
YouwillseealistofFieldNameswiththetitlesthatyoucreatedinstep1.Choosetheimage
youwant:
MyPic1inthisexample.
RepeatthisforMyPic2andMyPic3.
7.ClickonthePreview...buttonintheupper‐rightcornerofSureThing.Youshouldseethe
correcttextandphotos.
Comentarios a estos manuales