个人工具

“UbuntuHelp:PrintingCupsWebInterface”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的3个中间版本)
第4行: 第4行:
 
This guide is intended for Xubuntu and other users who cannot log into the CUPs web interface and would like to change their printer configuration with CUPs.
 
This guide is intended for Xubuntu and other users who cannot log into the CUPs web interface and would like to change their printer configuration with CUPs.
 
== Setting Up CUPs Web Interface ==
 
== Setting Up CUPs Web Interface ==
First we need to add cupsys to the shadow group. In terminal type:
+
First you need to add yourself to the <code><nowiki>lpadmin</nowiki></code> group. In terminal:
 
<pre><nowiki>
 
<pre><nowiki>
sudo adduser cupsys shadow
+
sudo usermod -aG lpadmin <username>
</nowiki></pre>
+
Next you need to add youself to the lpadmin group. In terminal:
+
<pre><nowiki>
+
sudo adduser <yourusername> lpadmin
+
 
</nowiki></pre>
 
</nowiki></pre>
 
Last thing is to restart CUPs. This can be done by typing:
 
Last thing is to restart CUPs. This can be done by typing:
 
<pre><nowiki>
 
<pre><nowiki>
sudo /etc/init.d/cupsys restart
+
sudo /etc/init.d/cups restart
 
</nowiki></pre>
 
</nowiki></pre>
 
into the terminal.
 
into the terminal.
 
To get to the CUPs web interface open up [http://localhost:631/] in your web browser. When asked for a user name and password you can use you log-in user-name and password.
 
To get to the CUPs web interface open up [http://localhost:631/] in your web browser. When asked for a user name and password you can use you log-in user-name and password.
 
== Why you can't log into CUPs web interface in Ubuntu ==
 
== Why you can't log into CUPs web interface in Ubuntu ==
...
+
See http://www.cups.org/doc-1.1/sam.html#13_4
== Printer Tweaking using [[UbuntuHelp:LpOptions|LpOptions]] ==
+
== Printer Tweaking using LpOptions ==
 
[[UbuntuHelp:LpOptions|LpOptions]]
 
[[UbuntuHelp:LpOptions|LpOptions]]
 
----
 
----
[[category:CategoryDocumentation]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年11月17日 (二) 20:24的最新版本

Introduction

This guide is intended for Xubuntu and other users who cannot log into the CUPs web interface and would like to change their printer configuration with CUPs.

Setting Up CUPs Web Interface

First you need to add yourself to the lpadmin group. In terminal:

sudo usermod -aG lpadmin <username>

Last thing is to restart CUPs. This can be done by typing:

sudo /etc/init.d/cups restart

into the terminal. To get to the CUPs web interface open up [1] in your web browser. When asked for a user name and password you can use you log-in user-name and password.

Why you can't log into CUPs web interface in Ubuntu

See http://www.cups.org/doc-1.1/sam.html#13_4

Printer Tweaking using LpOptions

LpOptions