Giter VIP home page Giter VIP logo

install-printer_artix-linux's Introduction

Install-Printer_Artix-Linux

Complete & step-by-step procedure

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 !

1. Install prerequisite packages with:

pacman -S --needed cups-openrc cups-pdf  cups print-manager system-config-printer

2. Detect service is installed, added with:

  • Following [code] will show you the start-time, e.g. default
rc-update -v show | grep avahi-daemon

rc-update -v show | grep cupsd

3. Enable service-s with:

  • 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.

4. Check if "daemon-s" are already running (normally avahi-daemon is it).

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

5. If a "daemon" is not yet started, start service-s with:

rc-service avahi-daemon start

rc-service cupsd start
  • If all going well, recheck the status as in § 4. shown.

6. In case of errors by start of service-s, use following command-s:

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 and avahi-daemon are up and running as in § 4. shown !

7. Install Printer-Drivers (in case) from AUR with:

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 !

8. Configure printer-s over systemsettings or http://localhost:631

  • 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... insert http://localhost:631 in your preferred (web-browser) application.

8.1. Configure Hardware-Printer

  1. Open systemsettings/Printers and click on Add Printer, choose your printer and select/follow the recommendations.
  2. Ones the printer is added, you can Configure page-size, printing-quality, etc..
  3. Under menu Maintenance you can choose to print a test-page.

8.2. Configure Software-Printer (Virtual_PDF)

  • 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...
  1. Open with an Editor /etc/cups/cups-pdf.conf, around line 42 you will find § ### Key: Out (config).
  2. At end of § add following line: Out /home/tony/PDF/or Out /home/${USER}/PDF/, the result of these two kind of manner to write is the same.
    Note: tony is an example for a "UserName" and PDF an example for a "FolderName", the folder PDF (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!
  1. 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 !

install-printer_artix-linux's People

Contributors

advantaged avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.