From console or a ssh shell run:

$ sudo cupsctl _remote_admin=1
$ 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
$ 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.
> 
> 

-- 
Dario Lesca
(inviato dal mio Linux Fedora 20 con Gnome 3.10.4)

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to