From a0d5033e8c2192f0e0efde285a24ad9a28d64c70 Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Thu, 5 Jun 2008 15:18:41 +0200 Subject: Samba3-HOWTO: Add improvements/fixes. These improvements/fixes were reported by Pete Boyd in bug #4203. Karolin (This used to be commit 497196e713b05901f02a46755bce6a63734dcf4c) --- docs-xml/Samba3-HOWTO/TOSHARG-CUPS-printing.xml | 59 ++++++++++++------------- 1 file changed, 29 insertions(+), 30 deletions(-) (limited to 'docs-xml') diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-CUPS-printing.xml b/docs-xml/Samba3-HOWTO/TOSHARG-CUPS-printing.xml index 9b12e4cac5..50d2f6b32e 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-CUPS-printing.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-CUPS-printing.xml @@ -185,11 +185,10 @@ libcups.so.2 => /usr/lib/libcups.so.2 (0x40123000) All Printers /var/spool/samba no - yes yes no yes - root, @ntadmins + root, @ntadmins, @smbprintadm @@ -230,11 +229,10 @@ libcups.so.2 => /usr/lib/libcups.so.2 (0x40123000) All Printers /var/spool/samba - yes yes no yes - root, @ntadmins + root, @ntadmins, @smbprintadm A special printer with his own settings @@ -242,7 +240,6 @@ libcups.so.2 => /usr/lib/libcups.so.2 (0x40123000) sysv lpstat echo "NEW: `date`: printfile %f" >> /tmp/smbprn.log ; echo " `date`: p-%p s-%s f-%f" >> /tmp/smbprn.log ; echo " `date`: j-%j J-%J z-%z c-%c" >> /tmp/smbprn.log ; rm %f - no no no yes @@ -402,7 +399,9 @@ libcups.so.2 => /usr/lib/libcups.so.2 (0x40123000) - The second method is recommended for use over the first. + The second method is recommended for use over the first as it reduces the + administrative efforts and prevents that different versions of the drivers + are used accidentally. @@ -765,7 +764,7 @@ application/octet-stream application/vnd.cups-raw 0 - deficiencies. GhostscriptESPESP GhostScript Therefore, ESP Ghostscript was developed as an enhancement over GNU Ghostscript, with lots of bug-fixes, additional devices, and improvements. It is jointly maintained by developers from - CUPS, Gimp-Print, MandrakeSoft, SuSE, Red Hat, and Debian. It includes the cups device + CUPS, Gutenprint, MandrakeSoft, SuSE, Red Hat, and Debian. It includes the cups device (essential to print to non-PS printers from CUPS). @@ -992,7 +991,7 @@ application/postscript ai eps ps string(0,%!) string(0,<04>%!) application/postscript, the other is application/vnd.cups-postscript. While application/postscript is meant to be device-independent, job options for the file are still outside the PS file content, embedded in - command-line or environment variables by CUPS, application/vnd.cups-postscript may have + command line or environment variables by CUPS, application/vnd.cups-postscript may have the job options inserted into the PostScript data itself (where applicable). The transformation of the generic PostScript (application/postscript) to the device-specific version (application/vnd.cups-postscript) is the responsibility of the CUPS @@ -1136,7 +1135,7 @@ text/plain application/postscript 33 texttops filename - (optionally) The print request file (if missing, filters expected data + (optionally) The print request file (if missing, filters expect data fed through stdin). In most cases, it is easy to write a simple wrapper script around existing filters to make them work with CUPS. @@ -1328,7 +1327,7 @@ text/plain application/postscript 33 texttops rastertohp rastertoprinter rastertoprinter -Gimp-Print +Gutenprint CUPS ships with quite a variety of raster drivers for processing CUPS raster. On my system, I find in /usr/lib/cups/filter/ the following: rastertoalps, rastertobj, rastertoepson, rastertoescp, rastertopcl, @@ -1336,7 +1335,7 @@ text/plain application/postscript 33 texttops rastertodymo, rastertoescp, rastertohp, and rastertoprinter. Don't worry if you have fewer drivers than this; some of these are installed by commercial add-ons to CUPS (like rastertoturboprint), and others (like - rastertoprinter) by third-party driver development projects (such as Gimp-Print) + rastertoprinter) by third-party driver development projects (such as Gutenprint) wanting to cooperate as closely as possible with CUPS. See the Raster to Printer-Specific Formats illustration. @@ -1512,8 +1511,8 @@ text/plain application/postscript 33 texttops file. If you have such a PPD installed, the printer shows up in the CUPS Web interface with a foomatic namepart for the driver description. cupsomatic is a Perl script that runs - Ghostscript with all the complicated command-line options - autoconstructed from the selected PPD and command line options give to + Ghostscript with all the complicated command line options + autoconstructed from the selected PPD and command line options given to the print job. @@ -1533,7 +1532,7 @@ text/plain application/postscript 33 texttops generation of them, still in heavy use out there) are not meeting the Adobe specifications. You might also suffer difficulties when you try to download them with Point'n'Print to Windows clients. A better - and more powerful successor is now in a stable beta-version: it is called foomatic-rip. To use + and more powerful successor is now available: it is called foomatic-rip. To use foomatic-rip as a filter with CUPS, you need the new type of PPDs, which have a similar but different line: @@ -1735,7 +1734,7 @@ application/octet-stream application/vnd.cups-raw 0 - file. Therefore, CUPS should autoconstruct a filtering chain, which delivers as its last output the specified MIME type. This is then taken as input to the specified rastertoprinter filter. After - the last filter has done its work (rastertoprinter is a Gimp-Print + the last filter has done its work (rastertoprinter is a Gutenprint filter), the file should go to the backend, which sends it to the output device. @@ -1898,7 +1897,7 @@ application/octet-stream application/vnd.cups-raw 0 - would still show all pages of the original PDF). The file then passes the pstops - filter that applies the command-line options: it selects pages + filter that applies the command line options: it selects pages 2-5, 7, and 11-13, creates the imposed layout two pages on one sheet, and inserts the correct duplex command (as defined in the printer's PPD) into the new PostScript file; the file is now of PostScript MIME @@ -1951,7 +1950,7 @@ application/octet-stream application/vnd.cups-raw 0 - pstops duplex printing The file then passes the pstops filter that applies - the command-line options: it selects the pages 2-5, 7, and 11-13, + the command line options: it selects the pages 2-5, 7, and 11-13, creates the imposed layout two pages on one sheet, and inserts the correct duplex command (oops &smbmdash; this printer and PPD do not support duplex printing at all, so this option will @@ -2011,9 +2010,9 @@ application/octet-stream application/vnd.cups-raw 0 - - The Gimp-Print Project + The Gutenprint Project (GPL, free software) provides around 140 PPDs (supporting nearly 400 printers, many driven - to photo quality output), to be used alongside the Gimp-Print CUPS filters. + to photo quality output), to be used alongside the Gutenprint CUPS filters. @@ -2037,7 +2036,7 @@ application/octet-stream application/vnd.cups-raw 0 - Foomatic/cupsomatic (LPGL, free) from Linuxprinting.org provide PPDs for practically every Ghostscript - filter known to the world (including Omni, Gimp-Print, and HPIJS). + filter known to the world (including Omni, Gutenprint, and HPIJS). @@ -2271,7 +2270,7 @@ PostScript, PCL, or PJL commands for the target printer. Printer driver GUI dial CUPS can load, without any conversions, the PPD file from any Windows (NT is recommended) PostScript driver and handle the options. There is a Web browser interface to the print options (select http://localhost:631/printers/ and click on one -Configure Printer button to see it) or a command-line interface (see man +Configure Printer button to see it) or a command line interface (see man lpoptions or see if you have lphelp on your system). There are also some different GUI front-ends on Linux/UNIX, which can present PPD options to users. PPD options are normally meant to be evaluated by the PostScript RIP on the real PostScript printer. @@ -2481,7 +2480,6 @@ Prior to running cupsaddsmb, you need the settings in All Printers /var/spool/samba no -yes setting depends on your requirements yes no @@ -2493,7 +2491,7 @@ Prior to running cupsaddsmb, you need the settings in yes no yes -root +root, @smbprintadm @@ -3061,7 +3059,8 @@ CUPS/Samba server: After a few seconds, there should be a new printer in your client's local Printers folder. On Windows XP it will follow a naming convention of PrinterName on SambaServer. (In my current case it is infotec_2105 on kde-bitshop). If -you want to test it and send your first job from an application like Winword, the new printer appears in a +you want to test it and send your first job from an application like Microsoft Word, +the new printer appears in a \\SambaServer\PrinterName entry in the drop-down list of available printers. @@ -3557,7 +3556,7 @@ driver in step 6. This command must succeed before you can proceed. -Tell Samba which printer should use these driver files (<command>setdriver</command>). +Tell Samba which printer should use these driver files (<command>setdriver</command>). rpcclientsetdriver @@ -4119,8 +4118,8 @@ Speaking of the different driver development groups, most of the work is current models. -Gimp-Print - Gimp-Print &smbmdash; a free software +Gutenprint + Gutenprint &smbmdash; a free software effort, started by Michael Sweet (also lead developer for CUPS), now directed by Robert Krawitz, which has achieved an amazing level of photo print quality (many Epson users swear that its quality is @@ -5050,9 +5049,9 @@ service first (renamed to File & Print Sharing for MS Networks -Win XP-SP1 +Windows XP SP1 -Win XP-SP1 introduced a Point and Print Restriction Policy (this restriction does not apply to +Windows XP SP1 introduced a Point and Print Restriction Policy (this restriction does not apply to Administrator or Power User groups of users). In Group Policy Object Editor, go to User Configuration -> Administrative Templates -> Control Panel -> Printers. The policy is automatically set to Enabled and the Users can only Point and Print to @@ -5068,7 +5067,7 @@ possible. How are you doing it? I bet the wrong way (it is not easy to find out, though). There are three different ways to bring you to a dialog that seems to set everything. All three dialogs look the same, yet only one of them does what you intend. You need to be Administrator or -Print Administrator to do this for all users. Here is how I do in on XP: +Print Administrator to do this for all users. Here is how I do it on XP: -- cgit