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
  • 27,064
  • 61
  • 75
  • 116
yazan
  • 367
  • 1
  • 5
  • 20
  • I dont know if that exist in cmdlet , cuz I searched inside the cmdlet and I didn't find any thing – yazan Sep 07 '17 at 08:12

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,149
  • 2
  • 14
  • 15