From 727857871baa2d74df0e2c78550385fad8ce99f4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 19 Mar 2003 15:05:41 +0000 Subject: Regenerate (This used to be commit a4057885405a2dd5f78592f9a6da7f071b486fd0) --- docs/faq/faq-printing.html | 181 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 181 insertions(+) create mode 100644 docs/faq/faq-printing.html (limited to 'docs/faq/faq-printing.html') diff --git a/docs/faq/faq-printing.html b/docs/faq/faq-printing.html new file mode 100644 index 0000000000..cfe93d8ee8 --- /dev/null +++ b/docs/faq/faq-printing.html @@ -0,0 +1,181 @@ + +Printing problems
Samba FAQ
Prev 

Chapter 7. Printing problems

7.1. setdriver or cupsaddsmb failes

setdriver expects the following setup: + +

you are a printer admin, or root. this is the smb.conf printer admin group, not the Printer Operators group in NT. I've not tried the latter, but I don't believe it will work based on the current code.
printer admins has to be defined in [global]
upload the driver files to \\server\print$\w32x86 and win40 as appropriate. DON'T put them in the 0 or 2 subdirectories.
Make sure that the user you're connecting as is able to write to the print$ directories
Use adddriver (with appropriate parameters) to create the driver. note, this will not just update samba's notion of drivers, it will also move the files from the w32x86 and win40 directories to an appropriate subdirectory (based on driver version, I think, but not important enough for me to find out)
Use setdriver to associate the driver with a printer

The setdriver call will fail if the printer doesn't already exist in +samba's view of the world. Either create the printer in cups and +restart samba, or create an add printer command (see smb.conf doco) +and use RPC calls to create a printer. NB the add printer command MUST +return a single line of text indicating which port the printer was +added on. If it doesn't, Samba won't reload the printer +definitions. Although samba doesn't really support the notion of +ports, suitable add printer command and enumport command settings can +allow you pretty good remote control of the samba printer setup.


PrevHome 
Features  
\ No newline at end of file -- cgit