Skip to content

Latest commit

 

History

History
98 lines (63 loc) · 3.39 KB

README.md

File metadata and controls

98 lines (63 loc) · 3.39 KB

Zebra Password Changer CLI

maintenance-status Python Linux Windows License

Zebra Password Changer CLI is a "blazingly fast 🤣" Python CLI tool that allows changing Zebra printer's web interface password with socket protocol.

📦 Installation

No installation, no dependencies, it's pure Python.

🔨 Usage

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>

📋 Sample results

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)>

💥 Features

  • Simple cli colours
  • Argument checks & simple help argument
  • Ip address validation
  • Password validation
  • Request timed-out exception

🎯 Tested Zebra printer models

  • ZD 620
  • ZD 621
  • GK 420d

🤝 Contributing

Before contributing issues or pull requests, could you review the Contributing Guidelines first?

💬 Questions?

Feel free to open an issue.

🤩 Support

💙 If you like this project, give it a ⭐ and share it with friends!

🏛️ License

This project is open-sourced software licensed under the MIT license.