Windows shared network printer issue in ubuntu 18.04

Windows shared network printing issue in ubuntu 18.04.

- printers are installed in windows 8 machine and shared.
- when try to find the network printer from ubuntu 18.04 using the ip of windows machine then it is showing an error 
"no network printer found"

- even, when we found the shared folders using smbclient command then it will showing an error


smbclient -L 192.168.1.20
output:
syslog option deprecated,
Enter WORKGROUP\root's password:

    Sharename       Type      Comment
    ---------       ----      -------

    ADMIN$          Disk      Remote Admin
    Backup          Disk     
    bk              Disk     
    bkp             Disk     
    C$              Disk      Default share
    Canon UFR II Color Class Driver Printer   Canon UFR II Color Class Driver
    Canon-LBP2900-toc64 Printer   Canon LBP2900
    Canon2900       Printer   \\MUIN-KHAN\Canon-LBP2900
    D$              Disk      Default share
    Data            Disk     
    HP-LaserJet-M1005 Printer   \\KESHA\Hewlett-Packard-HP-LaserJet-M1005
    IPC$            IPC       Remote IPC
    libjack         Disk     
    print$          Disk      Printer Drivers
    raj             Disk     
    Users           Disk     
Reconnecting with SMB1 for workgroup listing.
Connection to 192.168.1.20 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
Failed to connect with SMB1 -- no workgroup available


it is showing an error as showing in bold letter.

even if are checking the syslog then it will be like,

Jul 26 10:01:03 localhost dbus-daemon[712]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jul 26 10:01:03 localhost systemd[1]: Started Hostname Service.
Jul 26 10:01:20 localhost python: io/hpmud/jd.c 93: unable to read device-id
Jul 26 10:01:20 localhost python: io/hpmud/jd.c 745: invalid ip 192.168.1.20
Jul 26 10:01:20 localhost hp-makeuri: hp-makeuri[13665]: error: Device not found



Solution:

First: Ubuntu does not install a smb.conf in 18.04 so I suggest you install the samba client package:

Code:
sudo apt install smbclient
Second: Then edit /etc/samba/smb.conf and right unser the workgroup = WORKGROUP line add this line to change the default:
Code:
client max protocol = NT1
Third: Install samba packages.
Code:
apt-get install samba
and reboot.... Yes reboot..
fourth: Install CUPS:
Code:
apt-get install cups; apt-get install cups-bsd 

fifth: Install python3-smbc:
Code:
apt-get install python3-smbc
 Now try to find network printer from system-config-printer 

it works !!!

Comments

  1. Get the compatible software by navigating to the 123.hp.com/setup web page!

    ReplyDelete
  2. If you need to add Epson xp 235 wifi setup to a wireless network then in that case on the printer machine press the home button further press the arrow on the printer then as you see the wi- fi set up option press the OK button. If in case you are still in need of more information or help then ask for it from the experts.

    ReplyDelete
  3. Thank you again for all the knowledge you distribute,Good post. I was very interested in the article, it's quite inspiring I should admit. I like visiting you site since I always come across interesting articles like this one.Great Job, I greatly appreciate that.Do Keep sharing! Regards, best barcode label printer

    ReplyDelete
  4. I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work. cheap rdp

    ReplyDelete
  5. Awesome article, it was exceptionally helpful! I simply began in this and I'm becoming more acquainted with it better! Cheers, keep doing awesome! best inkjet printer

    ReplyDelete
  6. If Epson XP 446 setup is to be done then for that the user should unpack and remove all the tapes as well as sheets from the machine further the user should turn on the power button on the laptop after that should insert the CD in the laptop, if you are still looking for more information or help then, in that case, it is advisable that the user gets connected with the certified Epson printer technical team.
    Epson Printer Help UK

    ReplyDelete

  7. HP refers to Hewlett Packard, which is a multinational American based company that has a wide variety of products including HP Printer Service Number +1-484-414-5443. we are third party service provider

    ReplyDelete

Post a Comment

Popular posts from this blog

Error while connecting RDP "an authentication error has occurred the token supplied to the function is invalid".

Rename printer from command line in ubuntu.