
- 191 -
l Youcannotchangetheprinter(PRINTERcommand)withinasession
l Youmustsetvaluesforallvariablesfromthelabelwithinasession,evenifsomeofthe
variableswillhaveemptyvalues
l WhenyoutesttheJOBfilesthatusesessionprinting,thecommandFile->Command
Files->PrintPreviewdoesnotwork
SET
SETname=variable_value,[,step[,quantity_of_repetition]]
Nameisthenameofthevariabledefinedonthelabel.Ifthevariableisn'tonthelabel,anerrorwill
occur.StepandQuantity_of_repetitionareoptionparameter.Theseparameterstelltheincrement
ofthevariableandthenumberofthelabelsbeforechange.
IfVariable_valuecontainsspacecharactersorcommas,youhavetoenclosethetextinthetextqual-
ifiermarks.Bydefaultthetextqualifierisadoublequotecharacter,butyoucanuseanyotherchar-
acter(refertothecommandTEXTQUALIFIER).
Ifyouwanttoassignmulti-linevaluetoavariable,usethesyntax"\r\n"toencodenewlinechar-
acter."\r"isreplacedwithCR(CarriageReturn)and"\n"isreplacedwithLF(LineFeed).Both,
CRandLF,representnewlinecharacterinWindowsoperatingsystem.
Note:Becarefulwhensettingvaluestovariablesthatprovidedataforpicturesonthelabel,asback-
slashcharactersmightbereplacedwithsomeothercharacters.
Forexample,ifyouassignavalue"c:\MyPictures\raw.jpg"tothevariable,the"\r"willbereplaced
withCRcharacterandthefinalresultisthis:
c:\MyPictures
aw.jpg
Note:YoucannotusethecommandSETtosetthevaluetothevariableofthetypeGlobal.Values
ofglobalvariablescannotbesetfromoutsideofthelabeldesigner.
SETDATABASE
SETDATABASE<database_name>=<value>
database_name The name of the currently used database as defined in the program.
value The name of the new table that should be used as data source.
Thiscommandallowsyoutousesomeotherdatabasewiththelabelfileandnottheone,thatwas
connectedtothelabelfileatdesigntime.
Thisotherdatabasewillonlybeusedwhenprintinglabels,thelabelfilewillremainintactwithcon-
nectiontotheoriginaldatabase.
SETPRINTPARAM
SETPRINTPARAMparamname=value
Thiscommandallowsyoutosetadvancedprintparametersbeforeprinting.
CurrentlysupportedPARAMNAMESare:
PAPERBIN Use it to specify from which tray the paper
Comentarios a estos manuales