Thanks. Reistalled cups-printer and now I managed to get .prn files as output, which can be opened by document viewer and looks like pdf, but "landscape" type of pages are turned counterclockwise, as if it went through the printer. Any way how to convert it to PDF and rotate clockwise back to landscape?