cannot find any shared printers on network

Hi guys,

I’m trying to access shared printers on my company network, but I couldn’t.

I absolutely can view all computers on workgroup and view all shared folders, but there’s no printers. I also tried to detect printers from both YaST and http://localhost:631, but still no result.

Below is my /etc/smb.conf

[global]  
  workgroup = WORKGROUP
  netbios name = suseserver
  name resolve order = bcast lmhosts wins host
  printing = cups
  printcap name = cups
  printcap cache time = 750
  cups options = raw
  load printers = yes
  use client driver = yes
  map to guest = Bad User


[printers]
  comment = All Printers
  path = /var/tmp
  printable = Yes
  create mask = 0700
  browseable = No
  guest ok = Yes


[print$]
  comment = Printer Drivers
  path = /var/lib/samba/drivers
  write list = @ntadmin root
  force group = ntadmin
  create mask = 0664
  directory mask = 0775

I’m using OpenSUSE 12.2 with KDE 4.9
Thanks for your helps!

I think you are mixing two things. Printers available through SAMBA and printer available through the TCP/IP IPP (Internet Printing Protocol.

SAMBA is used in conjunction with MS Windows systems. When your company network uses Windows (and you talking abouut workgroups, etc. seems to confirm that), you should read SAMBA documentation like that at: openSUSE SuSE Linux HOWTOs and Tutorials by Swerdna

When you are talking about IPP you use CUPS and/or YaST > Hardware > Printer to see if you can configure them (and of course he serving side of those peinters must allow you). Going to localhost:631 brings youu to your lcal CUPS if you have running it.

I still cannot print to windows shared printers on my company network.

I tried smbclient:

smbclient //user_name_here/HPLaser (shared printer name on that computer)
Enter root's password: (typed my root password here)
Domain=[USER_NAME_HERE] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
smb: \>

It seems that I can access to that shared HPLaser printer, right? But I don’t know what to do next.

Thanks!

On 01/29/2013 12:16 PM, n00bvn wrote:
>
> I still cannot print to windows shared printers on my company network.
>
> I tried smbclient:
>
> Code:
> --------------------
> smbclient //user_name_here/HPLaser (shared printer name on that computer)
> Enter root’s password: (typed my root password here)
> Domain=[USER_NAME_HERE] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
> smb: >
> --------------------
>
>
> It seems that I can access to that shared HPLaser printer, right? But I
> don’t know what to do next.
>
> Thanks!
>
>

Look in “network” on the windows computer and you’ll be able to dig the
address out as something like this:

\WINDOWSMACHINE\HPLASER

In Linux goto CUPS at http://localhost:631 in browser.
Add printer using the address above (smb://WINDOWSMACHINE/HPLASER) and
the choice of type is “windows printer via samba”.

Bit more here at bottom of page:
http://opensuse.swerdna.org/susesambaprint.html


Regards
swerdna

It’s seem better for me. After I installed HP drivers, I came to http://localhost:631, added a print, IPP, with uri is: smb://WORKGROUP/machine_name_here/HPLaser, it seem worked. But when I tried to print a test page, I got below error:

laserjet1020-4          root             17408   Tue Jan 29 14:34:21 2013
printer laserjet1020 is idle.  enabled since Tue Jan 29 14:34:21 2013
    File "/usr/lib/cups/backend/smb" has insecure permissions (0104750/uid=0/gid=7).

And in localhost:631, I saw the state of print job is Stopped.

Thanks for your helps!