PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Printing on POS printer!
Printing on POS printer!
Débuté par BigED, 18 aoû. 2017 11:30 - 3 réponses
Membre enregistré
14 messages
Posté le 18 août 2017 - 11:30
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?
Membre enregistré
14 messages
Posté le 25 août 2017 - 18:52
Anybody?
Membre enregistré
14 messages
Posté le 01 septembre 2017 - 15:40
Anybody?
Posté le 01 septembre 2017 - 18:44
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?