Recent

Author Topic: print on a thermal printer for tickets store  (Read 5422 times)

Porfi

  • Newbie
  • Posts: 3
print on a thermal printer for tickets store
« on: February 09, 2016, 07:24:22 pm »
I need to print on a thermal printer for tickets store , the paper size is 80 x 297 mm which is not on the size shown me by default, the question is whether someone has printed by a thermal ticket printer by FreeReports Thanks .

Porfi

  • Newbie
  • Posts: 3
Re: print on a thermal printer for tickets store
« Reply #1 on: February 10, 2016, 11:43:54 am »
solved : it was easy to simply reboot windows and I already recognized the printer and the default paper size. :D :D

Porfi

  • Newbie
  • Posts: 3
Re: print on a thermal printer for tickets store: SOLVED
« Reply #2 on: February 10, 2016, 02:00:45 pm »
solved : it was easy to simply reboot windows and I already recognized the printer and the default paper size. :D :D

mtournay

  • Jr. Member
  • **
  • Posts: 63
Re: print on a thermal printer for tickets store
« Reply #3 on: March 24, 2016, 11:55:12 am »
Hi

Take care that thermal printer have special languagues (like EPL/ZPL for labels or esc/pos for ticket store, etc etc)

I think using freereport or lazreport will render throught gdi. I don't think it's the best solution.

In windows you can use direct printer functions to send text. I've example if you want...
laz 2.06 32b - fpc 3.04 32b - win10 64b

Thaddy

  • Hero Member
  • *****
  • Posts: 14368
  • Sensorship about opinions does not belong here.
Re: print on a thermal printer for tickets store
« Reply #4 on: March 24, 2016, 11:58:32 am »

I think using freereport or lazreport will render throught gdi.

Maybe on windows, but lazreport is definitely cross platform. No issue there.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

mtournay

  • Jr. Member
  • **
  • Posts: 63
Re: print on a thermal printer for tickets store
« Reply #5 on: March 24, 2016, 05:49:58 pm »

I think using freereport or lazreport will render throught gdi.

Maybe on windows, but lazreport is definitely cross platform. No issue there.

By saying GDI i would say graphical, my apologies.
I've already try to print labels on a zebra printer with canvas... so slow !!
with this kind of hardware, direct print is the best way.

You can print RAW data directly to the printer using the printer class (I forget that) instead of using win api directly so it should be crossplatform :)

« Last Edit: March 24, 2016, 09:13:08 pm by mtournay »
laz 2.06 32b - fpc 3.04 32b - win10 64b

 

TinyPortal © 2005-2018