I have a printer connected to my Ubuntu 14.04 desktop which I share with other computers in my network using Samba. This setup works correctly with Ubuntu machines as well as Windows 8 machines. However I have a windows 7 laptop which detects the printer on the network and configures it but when I print something it prints out a bunch of text Similar to
@PJL COMMENT USERNAME="xyz"
@PJL COMMENT DOCNAME="Test Page"
@PJL SET COPIES=1
@PJL SET COLORMODE=MONO
.......
It prints the similar thing no matter what I print. Also I had installed Fedora 23 some time ago on the machine and setup the printer with it and in that setup the windows 7 machine could print without problems. However Fedora comes with it's own set of problems and going back to it isn't an option.
The printer is Samsung ML 2161. I have the drivers for it installed on the Windows machine and it obviously work on Ubuntu.
Any pointers as to what is wrong here?
It sounds like you may need a newer version of Samba.
Ubuntu 14.04's default PPAs include Samba4.1. Here's my server's feedback on
sudo apt-get install samba
:So it appears that samba4.1's PPA comes with Ubuntu 14.04.
Here's the Samba 4.3 PPA: https://launchpad.net/~exekias/+archive/ubuntu/samba43.
Install the PPA, then you should be able to get Samba 4.3.
Try purging your current samba install and reinstalling.