Penguin
Diff: SambaPDFPrinter
EditPageHistoryDiffInfoLikePages

Differences between version 7 and revision by previous author of SambaPDFPrinter.

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 7 Last edited on Tuesday, December 2, 2003 2:17:44 pm by GreigMcGill Revert
Older page: version 6 Last edited on Wednesday, October 29, 2003 11:09:11 pm by MattBrown Revert
@@ -40,8 +40,12 @@
 rm -f $TEMPFILE3%%% 
  
 /usr/share/printconf/body is just the message you want to email your users. 
 Feel free to experiment with PDFSETTINGS, I have found the /prepress one seems to give the best quality output. 
+  
+Note: For Samba setups using winbind, you will end up with emails going to DOMAIN/user@yourdomain.co.nz. A fix for this (awk/optimisation geeks, condense at will!) is:  
+  
+ADDRESS="`echo $1 | sed -e 's/-A//' | awk -F@ '{ print $1 }' | awk -F/ '{ print $2 }'`@$DOMAIN"  
  
 For your windows clients, just add a postscript printer (any will do - I use Kodak !ColorEase PS - no reason, just out of habit), and point it at \\servername\pdfwriter. 
  
 The job will be emailed to the same name the print job was submitted under, so ensure there are aliases for these if they differ from your email address namespace. This also assumes you have mutt, an mta, and ps2pdf installed. 
The following authors of this page have not agreed to the WlugWikiLicense. As such copyright to all content on this page is retained by the original authors.
  • MarcelNoe
The following authors of this page have agreed to the WlugWikiLicense.

PHP Warning

lib/plugin/WlugLicense.php (In template 'html'):99: Warning: Invalid argument supplied for foreach()

lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument

lib/plugin/WlugLicense.php (In template 'html'):111: Notice: Undefined variable: ignore_authors