HMG PROJECT PRINT EMPTY DOCUMENT WHEN DIALOG PREVIEW PRINTING

Topic Specific Tutorials and Tips.

Moderator: Rathinagiri

Post Reply
juanato
Posts: 44
Joined: Fri Sep 21, 2012 2:42 pm

HMG PROJECT PRINT EMPTY DOCUMENT WHEN DIALOG PREVIEW PRINTING

Post 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.
User avatar
mol
Posts: 3728
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG PROJECT PRINT EMPTY DOCUMENT WHEN DIALOG PREVIEW PRINTING

Post 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
Post Reply