Hi I need to get all the logs from a ZTC ZT411-203dpi ZPL printer under tcp connection. I have been trying to get the logs with:
! U1 setvar "device.syslog.enable" "yes"
! U1 setvar "device.syslog.save_local_file" "yes"
! U1 setvar "device.syslog.configuration" "info,local;notice,local;debug,local;emerg,local;alert,local;crit,local;err,local;warning,local;" (to configure the type of logs)
! U1 getvar "device.syslog.entries"
but its always returning an empty string and I don't understand why.
Other commands like this works (but I still cant see the logs of this):
! U1 DO "device.pause" ""
! U1 DO "device.unpause" ""
What am I doing wrong?
1 Replies
The command used to enable the syslog was wrong. To enable/disable device.syslog.enable, use "on" or "off" (not "yes" or "no", which is wrong)