I've got a multi-function printer/scanner device Samsung SCX-3405W and noticed that after first page is printed in CUPS scanner stops responding. It appears to be caused by quirk for all Samsung printers:
# All Samsung devices (https://bugs.launchpad.net/bugs/1032456)
0x04e8 soft-reset
Not really sure why it was applied so broadly but after disabling it printing works perfectly fine as well as scanning.