Windows computers can only print test pages to shared Ubuntu printer

Solution 1:

In Linux stop sharing the printer through Samba.

Share it through CUPS instead: go to http://localhost:631/ and there will be spoe "Share printers" checkbox.

On Windows add a Network printer, and don't search for it; add manually this address:

http://servername_or_IP:631/printers/printer_name

printer_name is the name shown in the CUPS Web interface for your printer.

You will be prompted to choose the proper model and a driver will be installed. That's it.

Unlike Samba, advanced feature also work now.

Solution 2:

In the print dialog go to: Preferences->Document Options->Advanced Printing Settings-> select "DISABLED" (a drop-box)

It's a HP driver on Microsoft thing.

I have the F2280 (HP Deskjet F2200 Series). Had to disable 2-up printing on an 8-page PDF.

Solution 3:

If he's already printed a test page you can bet samba is already installed. What you may want to play around with is the encoding/protocol. I think you may have to send print jobs in RAW format, or try one of the other formats it offers. I'm pretty sure that is where your problem will lay.