The parameters used for printer management in Linux are very useful tools that will help you save time and improve document management that you have in the print queue.
In order for you to become a true expert in handling this system, you need to know what these Linux commands are., how they work and which ones should be used in each situation.
This information can be found in the following paragraphs of this post, in which also We will mention the main commands to manage printers from a Linux environment. Check out.
What are Linux printer management commands and what are they for?
The commands for printer management are parameters used in a Linux terminal to configure and manage software, printing hardware, and jobs that are sent to peripheral devices. Namely, Through these elements you will be able to inform the printer what you want to doIf you want to clear the print queue, send a document to print or find out the ink level it has.
You will also be able to cancel documents, print a complete file and even adding or deleting a new printer, among other actions. These commands are always used with the name of the printer and with arguments that specifically indicate what action these protocols should perform. The syntax is
COMANDO [nombre de la impresora] [nombre del archivo que deseas imprimir].
Learn about the best commands to manage printers from the Linux terminal
Here are the commands to manage printers from a terminal with Linux operating system:
You will have to use
lpto send a document to print, since with this command you can know the path of the device.
- In order to know the status of the printer you will have to use
lpc. On the other hand, if you want to check the operating status of it and find out if it is ready to print you must write
lpstat, which you can also use when you need to restart the printer.
- When you want change the IP address of your printer, you will have to use the command
lpadmin. This can also be used when you need to add a new printer.
- In case you want cancel pending jobs you will have to enter the command in the terminal
cancel. But if what you are looking for is to delete a document from the print queue, you will have to use
- In order to know which directory the queued jobs are hosted in you must use
- You will have to use
lfto indicate which path will be used to record the printing errors.
- The command
rmis used for know the name of the printing system that is done remotely. So you should use the command
rpto know the name of that remote printer.
- Is used
pimpto indicate to which printer to send the jobs.
- A very useful command that you should know how to handle is
escputilin which you will know the level of ink that the printer has.
If you have any questions, leave them in the comments, we will answer you as soon as possible, and it will also be of great help to more members of the community. Thanks! 😉