
- 190 -
Forprinter_namealwaysusethesystemprinternameasisdisplayedinthestatuslineinthelabel
designapplication.SystemprinternamesareusuallythesameastheprinternamesinPrintersfolder
fromControlPanel,butnotalways,sopayattention.Theydifferonlywhenyouareusingnetwork-
connectedprinters,whenyoushoulduse"\\SERVER\SHARE"syntaxandnotaprinterfriendly
name.
PRINTJOBNAME
PRINTJOBNAME<job_name>
SpecifiestheprintjobnamethatwillbeusedinprintmanagerwhenusingPRINTcommand.After
printingthenameisreturnedinnormalstate.Usethisoptiontoeasierdistinguishbetweendifferent
printingjobsintheWindowsspooler.
Ifvariablevaluecontainsspacecharactersorcommas,youhavetoenclosethetextinquotation
marks(e.g.PRINTJOBNAME"Labelforprinting").
QUIT
Thiscommandstopsthelabelingprogramafterprinting.Theapplicationisclosed.
RETURN
Thiscommandreturnsfocustothemainlabelingprogramaftertheprintingcompletes.
SESSIONEND
Thefunctionclosesdatastream.
SESSIONPRINT
SESSIONPRINTquantity[,skip]
Yousendthedatastreamtoprinterusingthisfunction.YoucanusemultipleSessionPrintcommands
oneafteranotherandjointheminsingledatastream.Thestreamisnotcloseduntilthecommand
SessionEndoccurs.ThemeaningofquantityandskipparametersisthesameaswithNiceCommand
PRINT.
Note:Makesurethequantityisprovidedasthenumericvalue,notstringvalue.Donotenclosethe
valueinthedoublequotes.
SESSIONSTART
Allthreecommands(SessionStart,SessionPrint,SessionEnd)areusedtogether.Ifordinarycommand
SessionPrintisused,everytimeacompletedatastreamforprinterissent.Ifyouwanttojoinmul-
tiplePrintcommandsintoonedatastream,youcanusethecommandSessionStartfollowedwithany
numberofSessionPrintcommandsandintheendusethecommandSessionEnd.Thestreamisnot
closeduntilthecommandSessionEndoccurs.
Thesecommandsofferawayofoptimallabelprinting.Itisnotnecessarytogenerateacomplete
datastreamforeachprintsession,youcanjoinmoresessionsinonestream.
Important for the session printing:
l Youcannotchangethelabeltemplatewithinasession
l YoucannotusecommandsSETDATABASEandSETTABLEwithinasession
Comentarios a estos manuales