3

I want to restart zebra printer via command line , not the printjob , i want restart the device remotely there is cmdlet in PowerShell for restart the servers,The Restart-Service cmdlet sends a stop message and then a start message to the Windows Service.

I want like this command for restart printer.

fixer1234
  • 28,064
yazan
  • 397
  • 1
  • 5
  • 20

1 Answers1

2

You can reset a ZPL printer by sending it the command ~JR. From the ZPL II Programming Guide:

~JR Power On Reset
Description The ~JR command resets all of the printer’s internal software, performs a power-on self-test (POST), clears the buffer and DRAM, and resets communication parameters and default values. Issuing a ~JR command performs the same function as a manual power-on reset.

In Windows you can use one of the following commands, depending on the port used and other requirements: COPY, ECHO, PRINT, LPR. In powerShell, you may be able to use out-printer.

hdhondt
  • 4,374