865 views|2 replies

17

Posts

0

Resources
The OP
 

BIGTREETECH PI development board Raspberry Pi 3B replaces wireless printing container [Copy link]

 

The printer at home is an old antique that cannot connect to the Internet. Every time I print a document, I have to move my computer to the printer. If it is a mobile phone or tablet, it is even more troublesome. I have to transfer it to the computer first and then...

As the hub of the smart home, the Raspberry Pi needs to be powered on 24 hours a day, so you can simply deploy a remote print server on it, connect it to the printer for a long time and place it next to it. You can print online in the future. It is very convenient and supports Android, iOS, and PC.

Connect to the Raspberry Pi using ssh

First create three folders

sudo mkdir -p ~/hass/airprint ~/hass/airprint/config ~/hass/airprint/services

Enter a long string of commands... Here, for ease of understanding, enter them in this way

The name parameter is the name of the container, -v is the path to the volume, -e is the username and password, and finally the image used by the container

sudo docker create \
> --name=airprint \
> --restart=always \
> --net=host \
> -v ~/hass/airprint/config:/config \
> -v ~/hass/airprint/services:/services \
> -v /var/run/dbus:/var/run/dbus \
> -e CUPSADMIN="admin" \
> -e CUPSPASSWORD="admin" \
> firilith/airprint

Then start the container

docker start cups

Access the IP address + 631, you can access the web interface normally

Add a Printer

After adding, copy the IP address in the address bar. Follow the steps below to add the configured wireless printer to your computer.

Click Share on iOS and find the printer.

This post is from Domestic Chip Exchange

Latest reply

Raspberry Pi can also be played like this,   Details Published on 2023-8-10 07:30
 
 

1665

Posts

0

Resources
2
 

Raspberry Pi can also be played like this,

This post is from Domestic Chip Exchange

Comments

Hey, drain the Raspberry Pi  Details Published on 2023-8-10 09:39
 
 
 

17

Posts

0

Resources
3
 
Hot Ximi Show published on 2023-8-10 07:30 Raspberry Pi can also be played like this, great

Hey, drain the Raspberry Pi


This post is from Domestic Chip Exchange
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list