Hi,
What is the command to view connected printers to a machine? I want to print files using lpr but I don't know the printer name. The system has linux fedora 9 installed.
Thanks...
Hi,
What is the command to view connected printers to a machine? I want to print files using lpr but I don't know the printer name. The system has linux fedora 9 installed.
Thanks...
In Mac OS:
cat /etc/cups/printers.conf
It appears to work on centOS also, so
it might work in Fedora as well.
Here's a specific usage where I printed a blank page:
$ sudo cat /etc/cups/printers.conf
Password:
# Printer configuration file for CUPS v1.3.8
# Written by cupsd on 2008-11-30 20:53
<Printer Dell_Laser_Printer_1720dn___Mauib_9s_Computer>
Info Dell Laser Printer 1720dn @ Maui's Computer
....
</Printer>
$ echo | lpr -P Dell_Laser_Printer_1720dn___Mauib_9s_Computer