On 11/10/2014 10:19 PM, Dario Lesca wrote:
From console or a ssh shell run:
$ sudo cupsctl _remote_admin=1
After installing cups (not part of minimal), I got:
# cupsctl _remote_admin=1
cupsctl: Unable to connect to server: Bad file descriptor
$ sudo firewall-cmd --permanent --add-port=631/tcp
$ sudo firewall-cmd --add-port=631/tcp
Then point your browser to
https://ip.of.our.host:631/admin and add your
printer.
Or to work only from command line use lpstat, lpinfo and lpadmin.
Some example:
$ sudo lpinfo -m -l
# lpinfo -m -l
lpinfo: Bad file descriptor
Oh, this is the F21-arm beta. So if these are suppose to work, I need
to go take it to the testing lists.
$ sudo lpadmin -E -p laser1 -v socket://my.prin.ter.ip:9100 -m
./driver.ppd
Hope this (and some man type and search engines) help
Il giorno lun, 10/11/2014 alle 17.15 -1000, Robert Moskowitz ha scritto:
> I have a server here that has no GUI installed.
>
> No gnome, xfce, or any other. And I want to install a printer. It is
> an HP8610 and I have the url for it. I strangely thought that
> system-config-printer would work, but that also requires more than just
> a text window as I get:
>
> # system-config-printer
> Unable to init server: Could not connect: Connection refused
> Unable to init server: Could not connect: Connection refused
> Unable to init server: Could not connect: Connection refused
>
> (system-config-printer.py:15388): Gtk-WARNING **: cannot open display:
>
>
> Oh, yes, no monitor at ALL. Only a serial console or SSH terminal.
>
>