-
Notifications
You must be signed in to change notification settings - Fork 0
Add setup script and README to configure Brother HL-L1222(V) print server on Raspberry Pi (openSUSE) #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add setup script and README to configure Brother HL-L1222(V) print server on Raspberry Pi (openSUSE) #32
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,3 +1,30 @@ | ||||||
| ```codex_answers | ||||||
| <!-- placeholder for codex's responses textual data --> | ||||||
| # Brother HL-L1222-V Android Print Server (Raspberry Pi 4B+ / openSUSE Tumbleweed) | ||||||
|
|
||||||
| This repository now provides an executable setup script that configures a Raspberry Pi 4B+ (openSUSE Tumbleweed) as a print server for a USB-connected Brother HL-L1222/HL-L1222-V. | ||||||
|
|
||||||
| ## What this enables | ||||||
| - Android phones on the **same Wi-Fi network** can print through IPP (Mopria-compatible workflow). | ||||||
| - USB Brother printer is shared by CUPS over the local network. | ||||||
| - Firewall and discovery services are configured for LAN printing. | ||||||
|
|
||||||
| ## Important Bluetooth note | ||||||
| Android-to-Raspberry-Pi Bluetooth printing into CUPS is generally not reliable/supported in modern Android/CUPS workflows. The script still enables Bluetooth service for optional experimentation, but the production path is **Wi-Fi IPP**. | ||||||
|
|
||||||
| ## Script | ||||||
| - `scripts/setup_hl_l1222_android_print.sh` | ||||||
|
|
||||||
| ## Run | ||||||
| ```bash | ||||||
| sudo bash scripts/setup_hl_l1222_android_print.sh | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The command
Suggested change
|
||||||
| ``` | ||||||
|
|
||||||
| ## After script completes | ||||||
| 1. Keep printer connected via USB to Raspberry Pi. | ||||||
| 2. Connect Android phone to same Wi-Fi as Raspberry Pi. | ||||||
| 3. Enable Mopria Print Service (or equivalent Android print service). | ||||||
| 4. Add printer with: | ||||||
| - `ipp://<raspberrypi-ip>/printers/Brother_HL_L1222_V` | ||||||
|
|
||||||
| ## Notes | ||||||
| - Script uses CUPS `everywhere` model as default for broad compatibility. | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P3: The README incorrectly documents Prompt for AI agents
Suggested change
|
||||||
| - If you have an official Brother HL-L1222-V Linux PPD/driver package, install it and adjust queue model if desired. | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚩 README instructs sudo but script documents running as normal user
The README at line 34 instructs
sudo bash scripts/setup_hl_l1222_android_print.sh, while the script's own header (line 15-16) says to run as a normal user withsudoused internally. Running the entire script as root meanssudocalls are redundant (harmless) butlpoptions -dat line 373 would set the default printer for root only, not for the normal user who will use the printer. This inconsistency is worth aligning in documentation.(Refers to line 34)
Was this helpful? React with 👍 or 👎 to provide feedback.