
- 180 -
Automatic Print with JOB Files
Usethisfacilityforautomaticun-attendingprintingfromthelabelingsoftware.TheJOBfileisa
plaintextfilewithcommandsthatinstructthelabelingapplicationwhattodoautomatically.Usually
thescenariogoeslikethis:
1. Thesoftwareopensthelabelfile,asdefinedbyLABELcommand.
2. Thesoftwaresetsthevaluesofvariablesonthelabel,asdefinedbySETcommands.
3. Optionally,thesoftwareselectssomeotherprinterforprinting,asdefinedbyPRINTER
command.
4. Thesoftwareprintstherequiredamountoflabels,asdefinedbyPRINTcommand.
TheAutomaticPrintcanbeusedinteractivelyintheapplicationorwithcommand-lineparameter.
TostartAutomaticPrintwithJOBfileinteractively,dothefollowing:
1. Openlabeldesigner.
2. SelectFile->CommandFiles->Print.
3. Browsetothe.JOBfileandclickOpen.
Note:Interactivemodeisusefulfortestingyour.JOBfiles.Ifthereisanysyntaxerrorwiththecom-
mandintheJOBfile,youwillbenotifiedaboutit.
TostartAutomaticPrintwithcommand-lineparameters,dothefollowing:
1. Makesurethesyntaxofyourcommandsinthe.JOBfileiscorrect.
2. Startthesoftwarefromcommandpromptwiththefollowingsyntax:
NLABEL6.EXE<fullpathtoyour.JOBfile>
For example: NLABEL6.EXEc:\MyLabels\PRINT.JOB
YoucanfindthefileNLABEL6.EXEintheBinfolderintheProgramFilesfolderstruc-
ture.
Using JOB Files
JOBfileisoneoptiontoautomatelabelprinting.Whenyoudonotwanttheusertointeractdirectly
withlabeldesignertoprintlabelsusingJOBfilecanhelp.Theprintoperatordoesnotneedtobecon-
frontedwiththelabeldesignerandseealldesignoptionsnotreallyimportantduringtheprint-out.
InsteadaJOBfiledrivestheprintingprocess.
JOBfileisaplaintextfilethatcontainscommands.ThetextcanhaveUnicodeformatting.Thecom-
mandsinstructthelabelprintenginewhatactionsmustbeexecutedtosuccessfullyprintthelabel.
Thecommandsareexecutedinorderfromtoptobottom.Theorderofcommandsisimportant.
TheJOBfilesarecommonlyusedtoautomatelabelprintingprocess.Herearesomeideaswhereto
useJOBfiles:
l Command-lineoptioninthelabelingsoftware.ThesoftwarewillopentheJOBfileand
processthecommandswithin.IflastcommandisQUIT,thesoftwarewillclosewhen
printingcompletes.
Forexample:
c:\ProgramFiles\EuroPlus\NiceLabel6\\bin\NLABEL6.EXEc:\MyJOB\FILE01.JOB
Comentarios a estos manuales