打开https://192.168.31.99:631/admin/
选择添加打印机,然后添加你的打印机
设置打印机信息
不用勾选“分享此打印机”
这里需要一个打印机驱动相关的PPD file,默认列表里没有lenovo
Get a PPD File From the Manufacturer
The printer configuration tool also allows you to provide a PPD file directly. Some manufacturers provide these files for their printers. You may find them on the printer’s driver disc, on the manufacturer’s download site for that printer, or included in the Windows driver itself if the printer is a PostScript printer.
Look around the manufacturer’s website or on the driver disc for the PPD file. You can also consider downloading the Windows driver and attempt to open it in a file-extraction program. Yes, even if it’s an .exe file, you may be able to open it up and dig around to see if you can find a PPD file. This may requier the cabextract tool.
You could also consider performing a web search for the name of the printer and “PPD file” to see if other people have successfully located a PPD file that will work for the printer. If you have a PPD file, you can install it from the printer configuration interface.
—— https://www.howtogeek.com/215235/how-to-install-printer-drivers-on-linux/
卡在了ppd文件这一项,
未完待续
参考:
Wikipedia - ppd file: https://en.wikipedia.org/wiki/PostScript_Printer_Description
sspai-树莓派添加打印机:https://sspai.com/post/40997
树莓派用cups添加打印机:https://www.howtogeek.com/169679/how-to-add-a-printer-to-your-raspberry-pi-or-other-linux-computer/