Page 1 of 1

HMG PROJECT PRINT EMPTY DOCUMENT WHEN DIALOG PREVIEW PRINTING

Posted: Mon Oct 12, 2020 1:59 pm
by juanato
Hello all.

I have some trouble when I put @ PRINT using DIALOG PREVIEW /START PRINTDOC metacomands.

The code is the same in a litle project and work fine... bout when this code is added to a big HMG project, onky PDF funciones create files in pdf format and all the code with SELECT PRINTER DIALOG TO creates empty documents. I work in hybrid mode, using console for debugging and graphic mode for dat view.

Is incompatible the functions for printing with some directives like this ?



Thanks in advance.

Pd.- Also GRIDPLUS cannot print any data when the Grid is fully of them, but can export to XLS and CSV without problem, but not printing any.

Re: HMG PROJECT PRINT EMPTY DOCUMENT WHEN DIALOG PREVIEW PRINTING

Posted: Tue Oct 13, 2020 6:06 am
by mol
Did you place in your code all pairs:
start printdoc
start printpage
end printpage
end printdoc
?
Empty pages occur when are not finished by end printpage