I have a Epson Stylus P50 usb printer and i need to print many copies (50~100) of some .prn files created via windows.
I cannot alter/convert those files; They need to be printed exactly as they are.
I installed the printer with cups and gutenprint drivers for epson R285 (there is not much difference between the 2 printer models).
My problem is that printing the prn with
lp -d printer_name -n 100 /path/to/file.prn
lpr -P printer_name -# 100 /path/to/file.prn
does not work as expected; Randomly the printer stops, in CUPS I got the error
Unable to write 9640 bytes on printer_name and the jobs queue happens to be cleared automatically.
Sometimes, the printer prints 1~2 copies before stopping, but often it stops with the first copy.
I guess the problem is that Ubuntu expects the printer buffer is bigger than it actually is... but I really do not know.
So, is there a way to increase the printer buffer, or to lower the buffer that Ubuntu expects the printer to have?
Edit: the error happens even giving just 1 copy.