Archive for 2023年2月28日


一、安装打印服务及工具
pacman -S cups system-config-printer

二、启动打印服务
systemctl enable –now cups

三、安装DEB包转换工具
yay -S debtap

四、同步下各仓库信息
debtap -u

五、转换DEB包为ARCH可用的格式
debtap com.lanxum-ga30_1.0.0-21235_amd64.deb

六、安装GA3032dn驱动
pacman -U com.lanxum-ga30-1.0.0-1-x86_64.pkg.tar.zst

七、用system-config-printer添加网络打印机,或者http://localhost:631在administration页面添加

PS:立思辰A4激光黑白打印机GA3032dn驱动下载
https://www.cgprintech.com/product/348.html

@echo off

set /p KZM=请输入文件扩展名(以回车结束):
set /p XG=请输入要修改的文字(以回车结束):
set /p JG=请输入要改成的文字(若是删除则直接回车,以回车结束):

for /f “delims=” %%i in (‘dir /b /a-d “*.%KZM%”‘ ) do (
set tmp=%%i
setlocal EnableDelayedExpansion
set “tmp=!tmp:%XG%=%JG%!”
ren “%%i” “!tmp!”
endlocal
)

pause>nul