Hi, I need to open CashDrawer everytime a Ticket Report is sento to an Epson POS
printer. The only thing the Epson needs is an 'A' character sent to the printer
using the font named "control". This font shows in any app in windows once the
Epson driver is previously selected as Print Device.
But is doesn´t show in the Font List in the ReportManager Editor.
I tried opening the .rpt in clarion and writing directly in the 'A' record, the
font name as "control" and nothing happens.
Has anybody open an Epson cash drawer with FRB?
Othoniel
|
Othoniel,
I am using standard Clarion
FONTDIALOG([title] ,typeface [,size] [,color] [,style] [,added]
) procedure with omitted [,added]
parameter in FRB.
added - An integer constant
or variable that specifies adding screen or printer fonts, or both, to the list
of available fonts. Zero (0) adds screen fonts, one (1) adds printer fonts, and
two (2) adds both. If omitted, only Windows registered fonts are
listed.
Since you have Epson driver installed on your computer, please
run following test program at your computer and see if this FONTDIALOG
allows to select your "control" font. Please, try with different Added parameter (0, 1, 2, omitted) and let us
know the result.
PROGRAM MAP END FontName STRING(32) FontSize LONG FontColor
LONG FontStyle LONG Added LONG(2) CODE
IF FONTDIALOG('Select
font',FontName,FontSize,FontColor,FontStyle,Added)
MESSAGE(FontName,'Selected font
name') END
Thank
you, --- Oleg Fomin oleg@fomin.info
|