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?