PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → Printing on POS printer!
Printing on POS printer!
Iniciado por BigED, ago., 18 2017 11:30 AM - 3 respostas
Membro registado
14 mensagems
Publicado em agosto, 18 2017 - 11:30 AM
I have problems with printing on POS printers with printer (ROM) fonts.

Tested with Epson TM-U88iii and Bixolon STP-103ii with same results.

iConfigure("EPSON TM-T88III Receipt") //for Epson
//iConfigure("BIXOLON STP-103II") //for Bixolon
Trace(Fonlist(fontPrinter)) //just to be sure that FontA11/FontA1x1 is visible to Windev
iCreateFont(1, 9.5, iNormal, "FontA11", iBlack, 0) //for Epson
//iCreateFont(1, 8.5, iNormal, "FontA1x1", iBlack, 0) //for Bixolon
iPrint(iFont(1) + "0 1 2 3 4")
iPrint(iFont(1) + "01234567890123456789012345678901234567890")
iEndPrinting()


Printed result is the always same with WinDEV default font, just the size of the font is changing.

Any clue?
Membro registado
14 mensagems
Publicado em agosto, 25 2017 - 6:52 PM
Anybody?
Membro registado
14 mensagems
Publicado em setembro, 01 2017 - 3:40 PM
Anybody?
Publicado em setembro, 01 2017 - 6:44 PM
Hi

not ALL combinations of font and size are available on all printers, and
if the chosen combination dos not exist, the printer driver chooses
something close.

So try the same font at different sizes (like 8 9 10 11) and see if it
works. If yes, then you know the original combination you chose is not
possible

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 9/1/2017 à 7:40 AM, BigED a écrit :
> Anybody?