Setting up a print server

I am trying to set up a print server.

The output for cat /etc/cups/printers.conf is the following:

# Printer configuration file for CUPS v2.2.11
# Written by cupsd on 2019-07-21 13:00
<DefaultPrinter Canoni-SENSYSLBP7010C>
UUID urn:uuid:eec85ff6-2867-36fd-406e-ce032ade9ada
Info Canoni-SENSYSLBP7010C
DeviceURI usb://Canon/LBP7010C/7018C?serial=0000A2E1INSN
State Idle
StateTime 1563660521
ConfigTime 1563706784
Type 4
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer

The output for lpc status is the following:

printer is on device 'usb' speed -1
queuing is enabled
printing is enabled
no entries
daemon present

Yet lpr /etc/cups/cupsd.conf does not even send a job to the printer.

I would first like to be able to print right from the server, then print remotely while the printer is connected to the server.

Please help, I’m still fairly new to Linux altogether.

Hi, @kiluanji!

I haven’t tried to configure print server from the command line on print from command line.

As far as I know, by CUPS has a webinterface, by default it’s enabled and at port 631. It can have access to it restricted – again, by default – to be accessible from the localhost only, by it’s easy to configure.

With the use of this webinterface it may be simpler to configure printer and troubleshoot cups/print problems. Just something to consider.