It may be a problem in VFP.
In articles "Q134888 - BUG: GDI Memory Not Released in Windows 95 After Memory Error", "Q108717 - BUG: Resource Manager Error When Printing Lots of Fonts" I have found that "FoxPro is not properly releasing graphics device interface (GDI) resources under Windows". Probably you should quit and restart a VFP application after printing a certain number of reports.
>I use this kind of code
>
>sele (aliasname)
>scan
> for i = 1 to number_of_copies
> if i = 1
> set printer to name Printername(1)
> else
> set printer to name Printername(2)
> endif
> report form reportname to printer noconsole
>endscan
>
>now it happens that after a certain number of step i get an error of memory lackness.
>I suppose it depends on the program manager of the printers
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement