About Printer install with terminal
By Sarah Rodriguez •
You can please tell me the command how can i install printer with terminal. But i can ask my friends he can tell me we are only install with printer GUI.
11 Answer
You need to find the PPD for your printer and install it (the /lpd/ dir is not created by default on Ubuntu; so if it is not yet there create it).
sudo mkdir -p /var/spool/lpd/
sudo dpkg --install {printerfile}.debThe command to add a printer is
lpadminBut you will need to add a lot of options to this command that are specific to your printer. Help will show you:
lpadmin [-h server] -d destination lpadmin [-h server] -x destination lpadmin [-h server] -p printer [-c add-class] [-i interface] [-m model] [-r remove-class] [-v device] [-D description] [-P ppd-file] [-o name=value] [-u allow:user,user] [-u deny:user,user]You will need at least a name and an IP. Without any more information about the printer a detailed answer is unlikely.
lpinfo -mshould show make and modelshortest version:
lpadmin -p '{name}' -v 'socket://{ip}' -m '{make}{model}' -P '{path/to/the/printer.ppd}'
The GUI is a lot easier though. It has several automated settings (like scanning for printers).
0More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"