Ubuntu设置打印机有图形界面和命令行两种方式:
sudo apt update && sudo apt install cups
sudo systemctl start cups
sudo systemctl enable cups
http://localhost:631