restart zebra printer via powershell?

1

2

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.

yazan

Posted 2017-09-07T08:06:43.483

Reputation: 147

I dont know if that exist in cmdlet , cuz I searched inside the cmdlet and I didn't find any thing – yazan – 2017-09-07T08:12:29.917

Answers

1

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

Posted 2017-09-07T08:06:43.483

Reputation: 3 244