PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD19] printing from preview print outdated report
[WD19] printing from preview print outdated report
Iniciado por guest, 15,jun. 2015 12:11 - 3 respuestas
Publicado el 15,junio 2015 - 12:11
Hi,

I have a customer with a number of workstations, from which one of them is a Win-XP PC. When printing a report from the preview-window often an outdated report is printed, thus not the one in the printpreview! After closing the software and restart it, the report prints as it should. It happens with more (maybe all) reports.

Someone else has such kind of problems and found a solution (except replacing the pc for another - newer- one) ? Could it be i.e. a windows configuring setting somewhere ?
Publicado el 16,junio 2015 - 08:11
Hi Stefan,

I have a similar expierience with printing after preview, but it happens at all computers. (see here)
Publicado el 16,junio 2015 - 09:23
Hello Stefan

Would some combination if iEndPrinting and iEndReport help ?
I know iEndprinting() is for hand coded reports but maybe it clears the print spooler so it might help.

Regards
Al
Publicado el 16,junio 2015 - 13:21
Hi Al,

the help-file mentioned explicitly the following for iEndPrinting():

This function must only be used with the reports created by programming. This function must not be called in the processes of a report created with the report editor of WinDev.

I do not think it would help to call the function before or after printing a report-editor report. I will send the problem to PCSoft, although I can't simulate the problem in a test project.