KevinGong2013 / Printer

Swift ticket printer framework for ESC/POS-compatible thermal printers.
Apache License 2.0
144 stars 72 forks source link

The result print out is empty #39

Open sandipermata opened 4 years ago

sandipermata commented 4 years ago

Hi KevinGong,

i have try created new project and implemented this library. when i searching the printer, the printer found and success connected. i have issue when i try to print out, the result on the paper is empty.

detail my printer my printer : Thermal receipt printer model: PRJ CX-58B Interface : USB+BT2.0+BT4.0 Brand : Panda

how to fix this issue ?

umairgillani94 commented 3 years ago

having same issue any solution found?

KevinGong2013 commented 1 year ago

let receipt = Receipt(.🖨️58(.ascii))
<<~ .style(.selectsCharacterFont(.c))
<<< "testing1"
<<< "testing2"
<<< "testing3"
<<< "testing4"
<<~ .page(.print)

Try this code.