steinie
15-08-2011, 21:18
I'm trying to Xprint a list box that has Terminal font, but all I get is the defult font that is in memory.:( See Images. here is some code.
Case %but_print
XPRINT_Attach(PrinterName)
XPRINT_Font("Terminal", 10 , 0)
XPRINT $CRLF
For i = 1 To 51
LISTBOX Select hDlg, %lst_box, i
LISTBOX Get Text hDlg, %lst_box To buffer
XPRINT_Font("Terminal", 10, )
XPRINT buffer & $CRLF
Next i
XPRINT_Close
End Select
Why is there not a graphics print for - Dialog, Listbox, Canvas, Textbox etc......
73957396
Case %but_print
XPRINT_Attach(PrinterName)
XPRINT_Font("Terminal", 10 , 0)
XPRINT $CRLF
For i = 1 To 51
LISTBOX Select hDlg, %lst_box, i
LISTBOX Get Text hDlg, %lst_box To buffer
XPRINT_Font("Terminal", 10, )
XPRINT buffer & $CRLF
Next i
XPRINT_Close
End Select
Why is there not a graphics print for - Dialog, Listbox, Canvas, Textbox etc......
73957396