SDB:Printing via Windows NT,2000,XP Server not possible

Şuraya atla: kullan, ara


Version: 8.2

Symptom

When you try to print from a Linux client by way of a Windows NT-based server an d configure this with YaST, the YaST test page etc. cannot be printed.

Cause

In order to be able to access a printer connected to a Windows NT-based server, the workgroup also has to be specified. However, this cannot be done in the YaST dialog.

Solution

Use YaST to configure the respective printer and fill in the available fields.

Save your settings without printing a test page.

Now open the file

/etc/cups/printers.conf

and look for entries such as the following:

DeviceURI smb://USERNAME:PASSWORD@HOSTNAME/QUEUE

Customize the individual entries manually by editing the line as follows:

DeviceURI smb://USERNAME:PASSWORD@WORKGROUP/HOSTNAME/QUEUE

or as follows:

sed s#smb://USERNAME:PASSWORD@HOSTNAME/QUEUE#smb://USERNAME:PASSWORD@WORKGROUP/HOSTN AME/QUEUE# /etc/cups/printers.conf ">" /etc/cups/printers.conf.new

(Enter all of this in one line)

mv /etc/cups/printers.conf /etc/cups/printers.conf.old

mv /etc/cups/printers.conf.new /etc/cups/printers.conf

<keyword>CUPS,Samba,Windows,NT,XP,2000,drucker,drucken</keyword>