Changes

From SME Server
Jump to navigationJump to search
3,401 bytes added ,  02:23, 26 October 2012
no edit summary
Line 1: Line 1: −
{{Note box|This original version of this information is located [http://mirror.contribs.org/smeserver/contribs/rvandenaker/testing/smeserver-cups/documentation/ here].}}
+
{{Howto}}
 +
----
 +
 
 +
=== Support ===
 +
Although there is a maintainer for this Howto, there is not one location to request or provide support for this Howto.  Here are links to search results for [http://forums.contribs.org/index.php?action=search2&search=%22wiki.contribs.org/Cups%22&sort=id_msg|desc|"wiki.contribs.org/Cups" ] and [http://forums.contribs.org/index.php?action=search2&search=%22wiki.contribs.org/Cups%22&sort=id_msg|desc|"cups" ] in the forums.  You may want to research if others have had issues before continuing.
 +
 
 +
For '''SME Server 8''', CUPS installation can be found [http://wiki.contribs.org/Cups_for_SME_Server_8 here].
    
=== Maintainer ===
 
=== Maintainer ===
Line 34: Line 40:  
Installing CUPS is not difficult and can easily be reversed. These instructions are for both installing and uninstalling CUPS.
 
Installing CUPS is not difficult and can easily be reversed. These instructions are for both installing and uninstalling CUPS.
 
{{Warning box|To succesfully install this contrib you will need to remove a package from the base installation of SME Server}}
 
{{Warning box|To succesfully install this contrib you will need to remove a package from the base installation of SME Server}}
<ol></li><li>Remove e-smith-LPRng with yum
+
<ol><li>Remove e-smith-LPRng with yum</li>
 +
yum remove e-smith-LPRng
   −
  yum remove e-smith-LPRng
+
==== Manual Installation ====
</li><li>Add the 'rvandenaker-cups' repository to yum
+
 
{{Repository|RvandenAker}}
+
{{Note box|The repository referred to in the Repository Installation section is not functional, so please use this manual method to download and install rpms.}}
</li><li>Install cups and friends with yum
+
 
 +
To install all packages
 +
mkdir -p cups_rpms
 +
cd /cups_rpms
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/i386/cups-1.1.22-0.rc1.9.10.rvda.2.i386.rpm
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/i386/ghostscript-8.15.2-0.rvda.1.i386.rpm
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/i386/gimp-print-cups-common-4.2.7-2.rvda.1.i386.rpm
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/i386/gimp-print-cups-de-4.2.7-2.rvda.1.i386.rpm
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/i386/gimp-print-cups-en-4.2.7-2.rvda.1.i386.rpm
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/i386/gimp-print-cups-es-4.2.7-2.rvda.1.i386.rpm
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/i386/gimp-print-cups-fr-4.2.7-2.rvda.1.i386.rpm
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/i386/hpijs-1.7.1-02.rvda.1.i386.rpm 
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/i386/hpijs-ppds-1.7.1-02.rvda.1.i386.rpm
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/noarch/PrintAnalyzer-20030620-02.noarch.rpm
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/noarch/cups-pdfdistiller-20040616-01.noarch.rpm
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/noarch/cups-samba-1.1.19-02.noarch.rpm
 +
  wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/noarch/foomatic-filters-3.0.2-02.noarch.rpm
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/noarch/smeserver-PrintAnalyzer-0.0.1-01.noarch.rpm
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/noarch/smeserver-cups-0.0.1-02.noarch.rpm
 +
wget http://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/noarch/urw-fonts-2.2-6.1.rvda.1.noarch.rpm
 +
yum localinstall *
 +
signal-event post-upgrade;signal-event reboot
   −
<ol><li="a">To install the CUPS printing system:
+
Then follow the instructions in the Installing Printers section below.
   −
yum install cups --enablerepo=
+
==== Repository Installation ====
 +
<li>Add the 'rvandenaker-cups' repository to yum</li>
 +
{{Repository|RvandenAker}}
 +
<li>Install cups and friends with yum
 +
<ol><li="*">To install the CUPS printing system:</li>
   −
</li><li="b">To install the CUPS printing system and the PrintAnalyzer reporting tool:
+
yum groupinstall cups --enablerepo=rvandenaker-cups
 +
<li="*">To install the CUPS printing system and the PrintAnalyzer reporting tool:</li>
 +
yum groupinstall cups-printanalyzer --enablerepo=rvandenaker-cups
   −
yum install cups-printanalyzer --enablerepo=
+
</ol><li>Clean up and reboot. Run the post-upgrade event and reboot your server:
</li></ol>
  −
<li>Clean up and reboot. Run the post-upgrade event and reboot your server:
      
  /sbin/e-smith/signal-event post-upgrade
 
  /sbin/e-smith/signal-event post-upgrade
Line 57: Line 89:  
This step only applies to those who have completed steps 1 through 4, having picked option (a) in step 3, and then decide they want to install PrintAnalyzer!
 
This step only applies to those who have completed steps 1 through 4, having picked option (a) in step 3, and then decide they want to install PrintAnalyzer!
   −
  yum install cups-printanalyzer --enablerepo=
+
  yum groupinstall cups-printanalyzer --enablerepo=rvandenaker-cups
    
  /sbin/e-smith/signal-event cups-upgrade
 
  /sbin/e-smith/signal-event cups-upgrade
Line 93: Line 125:  
Most conversion filters will get their input from the inbuilt pstoraster filter, a filter that converts PostScript to a generic raster format. This filter requires a gs binary with the cups device built in. A suitable ghostscript package is provided and is installed with your cups package. If you only want to use the inbuilt CUPS printer drivers, that's all you need. However, most people will want to install additional printer drivers. To install additional drivers for the en locale (to have English-language PPD's installed) do (this assumes you have added the rvandenaker-cups repository to your yum configuration):
 
Most conversion filters will get their input from the inbuilt pstoraster filter, a filter that converts PostScript to a generic raster format. This filter requires a gs binary with the cups device built in. A suitable ghostscript package is provided and is installed with your cups package. If you only want to use the inbuilt CUPS printer drivers, that's all you need. However, most people will want to install additional printer drivers. To install additional drivers for the en locale (to have English-language PPD's installed) do (this assumes you have added the rvandenaker-cups repository to your yum configuration):
   −
  yum install cups-drivers-en
+
  yum --enablerepo=rvandenaker-cups groupinstall cups-drivers-en
    
Alternatively, substitute "de", "es", or "fr" for "en" to have German, Spanish, or French-language PPD's installed.
 
Alternatively, substitute "de", "es", or "fr" for "en" to have German, Spanish, or French-language PPD's installed.
Line 204: Line 236:  
The PPD adds a new "model" to the CUPS web interface. The PPD that I installed in the example adds the "HP DeskJet 400, Foomatic + cdj500 (en)" model in the "Hewlett-Packard" category. I had to change some of the driver settings (this is done through the "Configure Printer" option on the printers page in the CUPS web interface) before I was able to successfully print a test page. The only "color mode" that worked with my black ink cartridge was "Floyd-Steinberg Gray". I was not pleased with the result of the test page: printing was dead slow and the output quality rather poor. I then installed the PPD for the "pcl3" driver, and that was much better, so I removed the printer that used the "cdj500" driver and kept the "pcl3" printer.</li></ol>
 
The PPD adds a new "model" to the CUPS web interface. The PPD that I installed in the example adds the "HP DeskJet 400, Foomatic + cdj500 (en)" model in the "Hewlett-Packard" category. I had to change some of the driver settings (this is done through the "Configure Printer" option on the printers page in the CUPS web interface) before I was able to successfully print a test page. The only "color mode" that worked with my black ink cartridge was "Floyd-Steinberg Gray". I was not pleased with the result of the test page: printing was dead slow and the output quality rather poor. I then installed the PPD for the "pcl3" driver, and that was much better, so I removed the printer that used the "cdj500" driver and kept the "pcl3" printer.</li></ol>
   −
====Adding a PDF printer through the CUPS web interface
+
====Adding a PDF printer through the CUPS web interface====
 
There are two types of PDF printers you can add: a raw PDF printer and a filtering PDF printer.
 
There are two types of PDF printers you can add: a raw PDF printer and a filtering PDF printer.
   Line 210: Line 242:     
I recommend the filtering PDF printer because it does everything the raw PDF printer does and then some.
 
I recommend the filtering PDF printer because it does everything the raw PDF printer does and then some.
 +
 
===Installing the pdfdistiller plugin===
 
===Installing the pdfdistiller plugin===
    
Either type of PDF printer requires the pdfdistiler plugin for CUPS. Install it with yum (this assumes you have added the 'rvandenaker-cups' repository to your yum configuration).
 
Either type of PDF printer requires the pdfdistiler plugin for CUPS. Install it with yum (this assumes you have added the 'rvandenaker-cups' repository to your yum configuration).
   −
  yum install cups-pdfdistiller
+
  yum --enablerepo=rvandenaker-cups install cups-pdfdistiller ghostscript
 
====Adding a filtering PDF printer====
 
====Adding a filtering PDF printer====
   Line 369: Line 402:  
</li><li>Install the cups-samba package, which provides a freely distributable PostScript driver for Windows NT4/2000/XP, with yum (this assumes you have added the 'rvandenaker-cups' repository to your yum configuration).
 
</li><li>Install the cups-samba package, which provides a freely distributable PostScript driver for Windows NT4/2000/XP, with yum (this assumes you have added the 'rvandenaker-cups' repository to your yum configuration).
   −
  yum install cups-samba
+
  yum --enablerepo=rvandenaker-cups install cups-samba
 
</li><li>Set "use client driver = no" in smb.conf through the UseClientDriver database property.
 
</li><li>Set "use client driver = no" in smb.conf through the UseClientDriver database property.
   Line 434: Line 467:  
====Printing from Linux through a local LPR spooler or standalone lpd client====
 
====Printing from Linux through a local LPR spooler or standalone lpd client====
   −
CUPS provides the cups-lpd daemon for serving lpd clients. There is usually no need to enable this service, but in the rare case that your site does require it, [http://http://mirror.contribs.org/smeserver/contribs/rvandenaker/testing/smeserver-cups/documentation/howtos/hidden-settings.html#cups-lpd here] is how.
+
CUPS provides the cups-lpd daemon for serving lpd clients. There is usually no need to enable this service, but in the rare case that your site does require it, [http://mirror.contribs.org/smeserver/contribs/rvandenaker/testing/smeserver-cups/documentation/howtos/hidden-settings.html#cups-lpd here] is how.
    
=== Additional information ===
 
=== Additional information ===
Line 482: Line 515:  
Please report bugs to the maintainer of the contrib listed at the top as there is no category in the bugtracker for this contrib.
 
Please report bugs to the maintainer of the contrib listed at the top as there is no category in the bugtracker for this contrib.
 
----
 
----
[[Category: Contrib]]
+
[[Category: Howto]]
 +
[[Category: Administration:Printing]]
75

edits

Navigation menu