Note: All command "code" will be executed as Admin/"ROOT" apart paru
-command, the AUR-Helper "Paru" (or another one you like) should be installed before you start with printer installation. When you are ready, open a terminal and become "ROOT"/Admin with [code]: sudo -i
, insert your password when asked and be carefully !
pacman -S --needed cups-openrc cups-pdf cups print-manager system-config-printer
- Following [code] will show you the start-time, e.g.
default
rc-update -v show | grep avahi-daemon
rc-update -v show | grep cupsd
- In case one or both the services are not yet added>>
rc-update add avahi-daemon default
rc-update add cupsd default
- You can countercheck if successful with commands in § 2.
rc-status | grep avahi-daemon
rc-status | grep cupsd
- To see all service-s_status alphabetically sorted and in "verbose"-mode use:
rc-status --servicelist -s | sort -n
- To see all service-s not sorted but in "verbose"-mode btw. you can use the "search"-function of terminal after result with keys-combination [SHIFT + CTRL + F] and inserting the name of the service>>
rc-status --servicelist -s
rc-service avahi-daemon start
rc-service cupsd start
- If all going well, recheck the status as in § 4. shown.
rc-service --debug avahi-daemon start
rc-service --debug cupsd start
-
Use the output of above two commands for asking support in the forum
-
Check services
cupsd
andavahi-daemon
are up and running as in § 4. shown !
Note: Use paru
as $USER
and not as $ADMIN
, even don't use sudo
, the app will ask you for the password when is time to install.
paru -S --needed brother-hl3152cdw
- In case you know only the manufacturer or model of your printer, use the search function of AUR-Helper (paru) as follow:
paru brother
paru hl3152cdw
paru hl3152
- Your printer-name or -model can be different !
- System-Settings can be called different depending of your Desktop-Environment.
- I prefer to configure the printes over
systemsettings
. For people that prefer to manage printers over web-browser... inserthttp://localhost:631
in your preferred (web-browser) application.
- Open
systemsettings
/Printers
and click onAdd Printer
, choose your printer and select/follow the recommendations. - Ones the printer is added, you can
Configure
page-size, printing-quality, etc.. - Under menu
Maintenance
you can choose to print a test-page.
- For this follow the instruction as for § 8.1. but... either all printing come to
$HOME
or$USER
or to
/var/spool/cups-pdf/UserName/
. - If by printig of test-page you cannot find the files under
$HOME
or$USER
or you want all PDF-Printing come under/home/UserName/PDF/
or elsewhere...
- Open with an Editor
/etc/cups/cups-pdf.conf
, around line 42 you will find §### Key: Out (config)
. - At end of § add following line:
Out /home/tony/PDF/
orOut /home/${USER}/PDF/
, the result of these two kind of manner to write is the same.
Note:tony
is an example for a "UserName" andPDF
an example for a "FolderName", the folderPDF
(or whatever you like to call it) must be already created by you at prior.
- The whole § look like this:
### Key: Out (config)
## CUPS-PDF output directory
## special qualifiers:
## ${HOME} will be expanded to the user's home directory
## ${USER} will be expanded to the user name
## in case it is an NFS export make sure it is exported without
## root_squash!
### Default: /var/spool/cups-pdf/${USER}
Out /home/${USER}/PDF/
- Don't forget to save/store the modified file in order to take effect!
- In case you want to move/copy the already "printed" files, you can do it with the File-Manager, in case the copied file were in
/var/spool/cups-pdf/UserName/
and after copy you want to delete/remove these... open Terminal and...:
cd /var/spool/cups-pdf/tony/
sudo rm *.*
- Done & Enjoy !