Zebra Password Changer CLI is a "blazingly fast 🤣" Python CLI tool that allows changing Zebra printer's web interface password with socket protocol.
No installation, no dependencies, it's pure Python.
CLI app has two parameters: the printer's IP address and the new password (4 digits, only numbers). We don't have to know the current password.
python main.py <IP_ADDRESS> <PASSWORD>
or
chmod +x main.py
./main.py <IP_ADDRESS> <PASSWORD>
successful
> ./main.py <IP_ADDRESS> <PASSWORD>
== Zebra password changer ==
[OK] 172.18.197.202 : password has been changed.
with errors
> ./main.py <IP_ADDRESS> <PASSWORD>
== Zebra password changer ==
[ERROR] IP address is invalid.
[ERROR] Please enter a 4-digit number!
request timeout
> ./main.py <IP_ADDRESS> <PASSWORD>
== Zebra password changer ==
[ERROR] Request timed out while connecting to remote host 172.18.197.2
simple help
> ./main.py help
== Zebra password changer ==
zebra-zpl-send-cli-py
Usage: python main.py <IP_ADDRESS> <PASSWORD (4 digit, only numbers)>
- Simple cli colours
- Argument checks & simple help argument
- Ip address validation
- Password validation
- Request timed-out exception
- ZD 620
- ZD 621
- GK 420d
Before contributing issues or pull requests, could you review the Contributing Guidelines first?
Feel free to open an issue.
💙 If you like this project, give it a ⭐ and share it with friends!
This project is open-sourced software licensed under the MIT license.