Print data cliente-side

Hi! , There is some way to print data directly to a client-side printer,
i mean ,without generating a file like pdf or .txt.

No, this is generally not possible with all browsers. The generic window.print() function will initiate the same thing as selecting print from menu.

However, in Chrome it is possible to make apps in Chrome, and interact with those apps. So, it is kind of exception to above. Note, this becomes very proprietary and specific, and thus not applicable to most applications.