PDA

View Full Version : Xprint and Xprint_Font



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

steinie
16-08-2011, 01:24
Ok, Xprint_font seems to be working with most fonts, but not all.
The font that's not there seems to be Terminal font.
If I use Character Map in system tools, I can see and view Terminal font. However if I go to C:windows/fonts, it's not there!:(
It works in the listbox see above, but not with xprint. strange
I wanted to use this one as it is the only one with the old DOS graphics in the lower 256 Chr set. Any idea about this? Or where I can find the old DOS graphics in another font in the lower 256 set? There are some unicode fonts that may work, but I can't get to the high part of the font. I don't think????

steinie
16-08-2011, 13:43
I found the old DOS font with the box graphics on the web.
It's called video_terminal_screen_regular.ttf If you want to play with it, here it is............:D