Re: Configuring a printer on a server without a GUI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>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@xxxxxxxxxxxxxxxxxxxxxxx
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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux