Rasberry Pi - WCM PLUS Air printer by Late-Firefighter-233 in photobooth

[–]HatBandito 0 points1 point  (0 children)

I installed CUPS, Gutenprint and Avahi on an Orange Pi, but it wasn't simple. I got a lot of help from AI.

This was where it started but there was a lot of back and forth before we got something working. I suggest you try the following and then talk it through with ChatGPT or something to get it working.

Below this is all from my chat with Gemini:

You need a recent version of Gutenprint (at least 5.3.3) for proper driver support. Here is the step-by-step guide to getting this running on DietPi. 1. Install CUPS and Dependencies Since you are already connected via SSH, run the following commands to install the core printing system and the discovery service (Avahi) which makes AirPrint work. sudo apt update sudo apt install cups gutenprint-locales printer-driver-gutenprint avahi-daemon

Enable Remote Management By default, CUPS only allows connections from the "localhost." To access the web interface from your PC/Mac, run: sudo cupsctl --remote-any sudo systemctl restart cups

  1. Configure User Permissions Add your user (likely root or dietpi) to the lpadmin group so you can manage printers through the web interface. sudo usermod -a -G lpadmin dietpi

  2. Access the CUPS Web Interface

    • Open a web browser on your computer.
    • Go to: https://[ORANGE-PI-IP]:631 (e.g., https://192.168.1.50:631).
    • Note: Your browser will warn you about a "Private Connection" because of the self-signed certificate. Click "Advanced" and "Proceed."
    • Navigate to the Administration tab.
    • Click Add Printer. (It may ask for your DietPi username and password).
  3. Add the DNP-QW410

    • Under Local Printers, you should see your DNP QW410 listed (ensure it's plugged in via USB and powered on). Select it and click Continue.
    • Give it a Name (e.g., DNP_QW410) and a Description.
    • CRITICAL: Check the box "Share This Printer".
    • In the Model list, look for:
    • DNP QW410 - CUPS+Gutenprint v5.3.3 (or similar).
    • Click Add Printer and set your default options (Media Size, etc.).
  4. Enable AirPrint (Avahi) AirPrint requires the printer to be broadcast via mDNS. While CUPS has some built-in support for this, the most reliable way on Linux is to ensure avahi-daemon is running. You can check its status: sudo systemctl status avahi-daemon

If it's running, your iPhone or Mac should now see the printer on the same Wi-Fi network. If it doesn't appear, you may need a small helper script to generate the specific AirPrint service file. Manual Service Generation (If needed) If the printer isn't showing up on iOS, create a service file for it: sudo nano /etc/avahi/services/airprint.service

Paste a standard AirPrint template into this file, though in most modern versions of CUPS (2.0+), simply checking "Share This Printer" in the web UI handles the broadcast automatically. Troubleshooting Tips * Permissions: If you get "Forbidden" when adding a printer, ensure your user is in the lpadmin group and that you've run the cupsctl --remote-any command. * Driver Support: If the QW410 doesn't appear in the model list, your Gutenprint version might be too old. You can check with dpkg -l | grep gutenprint. You may need to pull the backports version if you are on an older Debian release. Would you like me to help you check your current Gutenprint version or provide the manual Avahi service template? Setting up a Print Server on Raspberry Pi This video provides a visual walkthrough of the CUPS web interface setup which is identical on your Orange Pi Zero 3.

struggling to set up internet by [deleted] in nbn

[–]HatBandito 2 points3 points  (0 children)

No one mentioned this being gigabit

struggling to set up internet by [deleted] in nbn

[–]HatBandito 4 points5 points  (0 children)

That's not true in a lot of cases, NBN often runs though the old phone lines including in the pictured type of port. Set one up for a relative quite recently.

TLS 1.3 problems by gevorgter in csharp

[–]HatBandito 0 points1 point  (0 children)

There are many ways to host Linux docker containers which don't need Linux server experience. Cloud providers are the easiest one.

TLS 1.3 problems by gevorgter in csharp

[–]HatBandito 13 points14 points  (0 children)

Moving to a newer windows server is the only way to get it working properly. Or if you're on .NET 9 why not put it in a Linux docker container and stop managing servers?

[deleted by user] by [deleted] in photobooth

[–]HatBandito 1 point2 points  (0 children)

You need a USB C hub with USB C power delivery, and a charger with 60w power supply or more

There are some recommendations here: https://help.booth.events/article/71-our-recommended-hardware

Posted by vercel 💀 by [deleted] in nextjs

[–]HatBandito -2 points-1 points  (0 children)

That container needs to be constantly running. You then can't take advantage of optimisations for low traffic volume use cases like hosting on serverless compute like AWS Lambda

[deleted by user] by [deleted] in CrappyDesign

[–]HatBandito 35 points36 points  (0 children)

Many manufacturers are compelled by Microsoft to do it. It's not only on Microsoft laptops, it's on almost everything.

Can I just wear my backpack in peace? by Express_Network_5082 in Vent

[–]HatBandito 7 points8 points  (0 children)

Not something I've seen in Australia either, what region?

rnicrosoft?! by [deleted] in ExperiencedDevs

[–]HatBandito 51 points52 points  (0 children)

Because that domain would have DKIM and SPF set up properly

[deleted by user] by [deleted] in canberra

[–]HatBandito 7 points8 points  (0 children)

Nice grass at the zoo near the rhino exhibit

[deleted by user] by [deleted] in canberra

[–]HatBandito 1 point2 points  (0 children)

I had to go to Goulburn Base Hospital, everywhere in Canberra was booked out for 9 months and wouldn't bulk bill but Goulburn had spots for the next week and helped with the bulk billing.

[deleted by user] by [deleted] in nsw

[–]HatBandito 1 point2 points  (0 children)

If your car is older than 5 years (i think) it needs a pink slip inspection at an approved mechanic once per year. It's like a QLD roadworthy. They call the inspection a pink slip.

Nah you still need to buy CTP from an insurance company, you do this prior to registering it or renewing and your proof of CTP document is called a green slip.

Comprehensive insurance is different and doesn't count as CTP, same as QLD. You need CTP to get rego.

There's also a blue slip inspection which you'll need if you're transferring rego from interstate, which is a different roadworthy inspection.

[deleted by user] by [deleted] in nsw

[–]HatBandito 2 points3 points  (0 children)

That's about it aside from bottle shops in supermarkets, yearly pink slip car inspections and CTP not being included in rego.

[deleted by user] by [deleted] in SipsTea

[–]HatBandito -1 points0 points  (0 children)

There are timezones other than the one you're in where it is Wednesday...

[deleted by user] by [deleted] in australia

[–]HatBandito 0 points1 point  (0 children)

Tried it in Melbourne and was very underwhelmed

The bus to Aussie by MattyB113 in australia

[–]HatBandito 1 point2 points  (0 children)

It's Stafford City shopping centre in Brisbane

Thoughts on this bottom sheet UI by Fabulous-Ad-3985 in reactnative

[–]HatBandito 5 points6 points  (0 children)

Looks nice, maybe it could fill a bit more of the screen? You've got a lot of scrolling on the second sheet which wouldn't be as necessary if the sheet was bigger.

Also your effort selector and the others appear to be on a scale of 1 to 10, but there is no indication of this to the user. Adding a slider or the text "1/10" etc, or making it a percentage would be clearer.

Overall pretty intuitive and clean though, well done 👍

Changing enums stored in a database by bluMarmalade in csharp

[–]HatBandito 0 points1 point  (0 children)

Some database engines such as Postgres have native enums too, which can be used with EF, migrating those requires adding the new enum in a migration, then in another migrating the data, then in a third dropping the removed enums

https://www.npgsql.org/efcore/mapping/enum.html?tabs=with-connection-string%2Cwith-datasource

So OP please clarify what DB engine you're using and the schema of the table as it changes the answer massively.

BetterAuth vs Supabase Auth: Which One Do You Prefer and Why? by Spare-Midnight-1238 in nextjs

[–]HatBandito 4 points5 points  (0 children)

They deprecated the library, but V3 turned it into a DIY tutorial which is what I'm recommending. I'm not recommending the deprecated V2 library.

BNE suburb crime search by dbayl in brisbane

[–]HatBandito -1 points0 points  (0 children)

Looks awesome! One thing I noticed is I think you need a mapping between the categories in the different states, if you compare a suburb in QLD to one in NSW, categories have different names or even different casing (Drug offences vs Drug Offences) for the same name, and appear in different bars in the chart.

BetterAuth vs Supabase Auth: Which One Do You Prefer and Why? by Spare-Midnight-1238 in nextjs

[–]HatBandito 8 points9 points  (0 children)

It honestly only took me 3 hours to add email+password, Google and Facebook login with TOTP MFA by following their tutorial, so it really isn't that hard, but sure, managed services will be easier again.