Problems with printer page format in cups

view story

http://unix.stackexchange.com – I'm setting up print server for custom thermal printer on Raspberry Pi running Linux Debian and I have strange problem. If I print test page it prints ok, same with web page from firefox, but when I try print from google chrome or google cloud printing (I set up cloud printing server), half of page is cut, like there's wrong width defined. In pdf viewer when I just click 'Print' it prints in wrong format, but when I enter in printer properties (just enter and close, no changes!) it prints ok. I made ppd file for this printer manually, but it looks ok compared to other ppds. (HowTos)