Skip to content

πŸ–₯ [Python] [CLI] CLI tool that allows changing Zebra printers password. (python)

License

Notifications You must be signed in to change notification settings

angelside/zebra-password-changer-cli-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.

About

πŸ–₯ [Python] [CLI] CLI tool that allows changing Zebra printers password. (python)

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages