[Samba] Problems with printing
Mike
mikestarov at gmail.com
Thu Sep 28 18:26:54 GMT 2006
> When I try to add drivers through windows gui by connecting to samba
> server \\server and printers and faxes I got errror saying
> that the location does not have correct drivers for the printer.
This is correct. I think you are just doing it wrong.
To add drivers you don't connect to printer.
The correct sequence is this: ( direct quote from official HOWTO )
" ... Installation of a valid printer driver is not straightforward. You
must attempt to view the printer properties for the printer to which you
want the driver assigned. Open Windows Explorer, open Network
Neighborhood, browse to the Samba host, open Samba's Printers folder,
right-click on the printer icon, and select Properties.... You are now
trying to view printer and driver properties for a queue that has this
default |NULL| driver assigned. This will result in the following error
message: “ Device settings cannot be displayed. The driver for the
specified printer is not installed, only spooler properties will be
displayed. Do you want to install the driver now?”
Do /not/ click on Yes! Instead, click on No in the error dialog. Now you
will be presented with the printer properties window. From here, the way
to assign a driver to a printer is open. You now have the choice of:
*
Select a driver from the pop-up list of installed drivers.
Initially this list will be empty.
*
Click on New Driver to install a new printer driver (which will
start up the APW).
Once the APW is started, the procedure is exactly the same as the one
you are familiar with in Windows (we assume here that you are familiar
with the printer driver installations procedure on Windows NT). Make
sure your connection is, in fact, set up as a user with printer admin
privileges (if in doubt, use *smbstatus* to check for this). If you wish
to install printer drivers for client operating systems other than
Windows NT x86, you will need to use the Sharing tab of the printer
properties dialog.
Assuming you have connected with an administrative (or root) account (as
named by the printer admin parameter), you will also be able to modify
other printer properties such as ACLs and default device settings using
this dialog. ... "
Bartosz Wegrzyn - maillists wrote:
> Hello,
>
> I set samba using this config:
>
> [global]
>
> workgroup = MYGROUP
> server string = Samba Server
> printcap name = /etc/printcap
> load printers = yes
> printing = cups
> cups options = raw
>
> #guest account = nobody
>
>
> printer admin = blwegrzyn root
>
> log file = /var/log/samba/%m.log
> max log size = 50
>
> security = user
> dns proxy = no
>
> [homes]
> comment = Home Directories
> browseable = no
> writable = yes
>
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> browseable = no
> guest ok = yes
> writable = no
> printable = yes
>
>
> [print$]
> path = /data/printer
> guest ok = yes
> browseable = yes
> read only = yes
> write list = blwegrzyn root wegrzyn
> create mask = 0644
> directory mask = 0755
>
> [data]
> path = /data
> valid users = blwegrzyn wegrzyn
> read only = No
>
>
> I added users blwegrzyn root and wegrzyn using smbpasswd -a
> tool. I can connect to server and browse printers.
>
> When I try to add drivers through windows gui by connecting to samba
> server \\server and printers and faxes I got errror saying
> that the location does not have correct drivers for the printer.
> I used exacly same config with fedora2 and it worked great.
> Now I am using fedora 4.
> I can access data share without any problems.
>
> When I access shares I see also this error:
> [2006/09/24 12:14:29, 0] rpc_server/srv_pipe.c:api_pipe_bind_req(993)
> api_pipe_bind_req: unknown auth type 9 requested.
>
> in samba log file
>
> I am able to add printers , but I cannot add drivers using print$ share. I
> have to use regular windows wizard and add printers manually.
>
> Now, problem,
> When I try to print to this printers it takes very long.
> About 5-7 minutes.
>
> When I do capture on samba server I see traffic on 445 for that time.
>
> Any ideas what am I doing wrong.
>
> Samba version:
> samba-3.0.14a-2
> samba-common-3.0.14a-2
> samba-swat-3.0.14a-2
> system-config-samba-1.2.31-1
> samba-client-3.0.14a-2
>
>
>
> I tried also to upgrade to latest version, but no luck
> same problems
>
>
> Thx
>
>
>
>
>
--
Mike Starov
mikestarov at gmail.com
CME Resource, Inc.
Roseville, CA 95661
www.netce.com
(916) 783-4238
More information about the samba
mailing list