He encontrado el siguiente problema en la clase TPrinter.
El método EndPage contiene lo siguiente:
Code: Select all
METHOD _EndPage() CLASS TPrinter
if ::hDC = 0
return nil
endif
if ::lMeta
if Len( ::aMeta ) == 0
MsgAlert( "The temporal metafile could not be created",;
"Printer object Error" )
else
#ifndef __CLIPPER__
::hDCOut := DeleteEnhMetaFile( CloseEnhMetaFile( ::hDCOut ) )
#else
::hDCOut := DeleteMetaFile( CloseMetaFile( ::hDCOut ) )
#endif
if ! File( Atail( ::aMeta ) )
MsgAlert("Could not create temporary file: "+Atail(::aMeta)+CRLF+CRLF+;
"Please check your free space on your hard drive "+CRLF+;
"and the amount of files handles available." ,;
"Print preview error" )
endif
endif
else
EndPage( ::hDC ) // Esta función no exite
endif
return nil