NicelLabel 2017 Automation Sample – Command Files does not work

Issues related to NiceLabel installation and activation

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
zieglemi
Enthusiast
Posts: 19
Joined: Mon May 14, 2018 2:10 pm

NicelLabel 2017 Automation Sample – Command Files does not work

Post by zieglemi » Fri Jun 22, 2018 11:59 am

issue: no output on printer with simple Nicelabel "Automation Sample - Command Files"



i just tried to load load the following Automation Sample with command files located in folder : \c:\Users\Public\Documents\NiceLabel 2017\Automation\Samples\Command files\

result: trigger is excecuting without error but attached printer is not printing (testprint after printerdriver installation works fine)

my preparations:
  • installed current trial nicelabel 2017 Plattform
    installed printerdriver for my example Zebra GK420d (i checked other drivers as well)
    adjust sample files
    execute trigger
BUT no label is printed out!

attached the modified excample files and here the content of the job file: Myprint.job

Code: Select all

LABEL "labelGK420.nlbl"
SET code="12345"
SET article="FUSILLI"
SET ean="383860026501"
SET weight="1,0 kg"
;PRINTER "Production01"
; Because the PRINTER command is commented out,
; the label will print to the printer as defined
; in the label template, which is 'default system printer'
PRINTER "ZebraGK420d"
PRINT 1
any help would be appreciated
regards michael
Attachments
Command files.misx
(2.79 KiB) Downloaded 130 times

User avatar
Saso
NiceLabel
NiceLabel
Posts: 2963
Joined: Mon Sep 04, 2006 8:09 am
Contact:

Re: NicelLabel 2017 Automation Sample – Command Files does not work

Post by Saso » Fri Jun 22, 2018 12:52 pm

The job file seems just fine from the syntax point of view.
The error is elsewhere...

In Automation Builder, open the trigger properties, then click Run Preview button in the ribbon.
Browse for the .JOB file and see it on-screen what would be the result of printing.
If you see label preview, your configuration and label are just fine.

Try to pause the print queue, save the job file (for Automation to detect a trigger) and see if Automation creates print job at all.
If you see a print job in the spooler, Automation did its job correctly.

Under which user account do you run Automation Service. If you run it under "Local System" account, Automation will not have access to network resources (shared folders, shared printers).
Saso Fleiser
Senior Technical Product Specialist

zieglemi
Enthusiast
Posts: 19
Joined: Mon May 14, 2018 2:10 pm

Re: NicelLabel 2017 Automation Sample – Command Files does not work

Post by zieglemi » Fri Jun 22, 2018 1:09 pm

@Label preview is working fine!

@pause printer: i paused printer ... i see NO job in the windows spooler

@Automation service run with MY domain account
any ideas?

zieglemi
Enthusiast
Posts: 19
Joined: Mon May 14, 2018 2:10 pm

Re: NicelLabel 2017 Automation Sample – Command Files does not work

Post by zieglemi » Mon Jun 25, 2018 9:37 am

this simple test for automation is still not working for me

do someone have any hints what could be the cause?

is there a possibility to set a kind of "debug level logging"?

zieglemi
Enthusiast
Posts: 19
Joined: Mon May 14, 2018 2:10 pm

Re: NicelLabel 2017 Automation Sample – Command Files does not work

Post by zieglemi » Mon Jun 25, 2018 11:01 am

NOW it works!

what was the solution:

restart of the windows 2016 server ...

User avatar
Saso
NiceLabel
NiceLabel
Posts: 2963
Joined: Mon Sep 04, 2006 8:09 am
Contact:

Re: NicelLabel 2017 Automation Sample – Command Files does not work

Post by Saso » Tue Jun 26, 2018 9:00 am

Thanks for sharing the solution.
"If all other fails, restart the Windows." ;-)
Saso Fleiser
Senior Technical Product Specialist

Post Reply