Penguin
Diff: SambaPrinting
EditPageHistoryDiffInfoLikePages

Differences between version 18 and predecessor to the previous major change of SambaPrinting.

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

Newer page: version 18 Last edited on Sunday, August 28, 2005 9:31:13 pm by JohnMcPherson Revert
Older page: version 17 Last edited on Tuesday, November 23, 2004 4:37:51 pm by JohnMcPherson Revert
@@ -155,6 +155,26 @@
 * Gotchas: For one of my drivers, it wouldn't let me upload a Win95/98 driver. No idea why, but it refused to let me do this. In the end, I right clicked on the background of the printers control panel app, and went to server properties, then manually added the printer driver there. I then removed and re-added the printer, and it now recognises the new driver. 
  
 Its also worth pointing out that for the APW to work, you NEED NT or 2K drivers for the printer, even if you only want to share to Win98 Clients. 
  
+!!! Linux clients printing to Windows XP machine  
+This can probably be done via some [GUI] tool, but I only tried via the CommandLine.  
+  
+1) Make sure the file <tt>/usr/lib/cups/backend/smb</tt> exists.  
+If not, do </tt> ln -s / ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb</tt>  
+  
+2) get the right driver. For me, the Epson 460 Colour printer that is attached to the WinXP machine needs the escp2-460.ppd file in the cupsys-driver-gimpprint-data Debian package. I don't know if I really need this, or if cups/winxp is smart enough to convert arbitrary print data to the correct format.  
+  
+3) I created the print queue via <tt>lpadmin -p Shared_Epson smb://ip.ad.dre.ss/shared_name -P esdp2-460.ppd</tt>  
+  
+4) Restart cups, and manually enable the queue:  
+<tt>cupsenable Shared_Epson</tt>  
+  
+5) when printing, cups told me that the printer wasn't accepting jobs.  
+Turns out I had to do <tt>cupsaccept Shared_Epson</tt> as well. How stupid.  
+  
+6) Now when trying to print, cups logged an NT_STATUS_ACCESS_DENIED error when contacting the WinXP machine. The solution to this (as found  
+[here|http://www.flux.org/pipermail/linux/2004-April/015230.html]) is to add a username in the URI, so <tt>smb://guest@ip.ad.dre.ss/shared_name</tt> and restart cups.  
+  
+7) wasn't that nice and straight-forward?  
 ---- 
 Part of CategoryPrinting