<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=4>Serge:</FONT></DIV>
<DIV><FONT face=Arial size=4>in your code i believe that you did one read of 
your whole input file, and then you emitted that to the dc with textout. 
textout's use  is actually (x,y,string).</FONT></DIV>
<DIV><FONT face=Arial size=4>hence one line got printed (actually the whole file 
got printed but truncated!!!!)</FONT></DIV>
<DIV><FONT face=Arial size=4>you will have to detect all the end of lines and 
loop a whole lot of dc.textouts</FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV><FONT face=Arial size=4>Robin</FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV><FONT face=Arial size=4>your code:</FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV>dc = <B 
style="COLOR: black; BACKGROUND-COLOR: #ffff66">win32ui</B>.CreateDC()<BR> 
          dc.CreatePrinterDC()<BR>        
dc.SetMapMode(4)        # This is 
UI_MM_LOENGLISH<BR>        # With this map 
mode, 12 points is 12*100/72 units = 
16<BR>        font = <B 
style="COLOR: black; BACKGROUND-COLOR: #ffff66">win32ui</B>.<B 
style="COLOR: black; BACKGROUND-COLOR: #a0ffff">CreateFont</B>({'name' : 
'Arial', 'height' : 16})<BR>        
dc.SelectObject(font)<BR>        
f=open("./Reports/Report.txt","r")<BR>        
memory=f.read()<BR>        
f.close<BR>        
memory.split('\n')<BR>        
dc.StartDoc("./Reports/Report.txt")<BR>        
dc.StartPage()<BR>        
dc.TextOut(10,10,memory)<BR>        
dc.EndPage()<BR>        
dc.EndDoc()<BR></DIV></BODY></HTML>