0
0
0xC0CAC01A2018-03-21 17:49:41
Seal
0xC0CAC01A, 2018-03-21 17:49:41

How to add a printer in Ubuntu via command line without UI?

HP LJ 1018 under Ubuntu 14 and 16 prints only if it is first removed each time, then added. The bug is not fixed for years. I want to write a script that removes the printer and then adds it on a new one. How to add (and remove) a printer in Ubuntu via the command line, without the UI?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem Spiridonov, 2018-03-21
@customtema

hpsetup -i

D
Dmitry Shitskov, 2018-03-21
@Zarom

Read documentation or articles on cups
For example, https://docs.oracle.com/cd/E23824_01/html/821-1451...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question