Both have 8KB of RAM, so the buffer sizes can be the same. If you limit the line length to 128 bytes, which is likely pretty realistic, you could probably buffer at least 32 lines.
I don't recommend making the buffer too large. That way the printer will take longer to respond to manual commands. In my experience, a buffer larger than 8 commands seems not to have any added value.