I don't know if this is a Samba bug or not, but it seems like it.
I have program thats only can print out two max papers via Samba, but when I try to send the printing job directly via Cups then it can print out more then two papers.
But if i print with Microsoft Word and Exel it works with more then two papers via Samba.
I have been trying to locate the problem in the Samba log but I can't see if it talks with cups or not tried to change log level with out any success.
I could send some logs, if ill get to know how to log it.
But the logs from Cups tells me it only gets two printing jobs from samba.
can you please send a sample document to reproduce it, the name&version of the application from which you printed, the samba config and eventually the cups printer config?