PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → how to print a report directly to a printer
how to print a report directly to a printer
Iniciado por guest, 07,ene. 2015 13:32 - 2 respuestas
Publicado el 07,enero 2015 - 13:32
Hello,
I am using webdev 20 and I want to print a report directly to the printer of a web user. Can anyone help me with this?
Best regards,
Kozeta
Publicado el 07,enero 2015 - 14:25
Hi

that is NOT possible directly and that's a good thing... Imagine if any web site could start your printer just like that....brrrrrr


So, the usual way is to print as pdf and let the user decide between saving and printing.

If you really need to print directly, you can do it by using a JAVA applet for that (that you can code in windev)... But that means that your users will have to authorize JAVA and your applet on their browser, so that is basically a solution valid only for intranet cases

Best regards
Publicado el 07,enero 2015 - 20:24
Thank you very much! There is no problem for me, I prefer to print it as pdf. I just have to explain my users why my program can't do it and "the other" program can.