Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] ESC/POS Firmware 1.06 vs 03.01 #1313

Open
samuelT2 opened this issue Mar 12, 2024 · 2 comments
Open

[QUESTION] ESC/POS Firmware 1.06 vs 03.01 #1313

samuelT2 opened this issue Mar 12, 2024 · 2 comments

Comments

@samuelT2
Copy link

Hi

I use your project since a couple of years for a project of myself where we print some stuff via a Raspi Zero to an EPSON TM-P20.
Epson just released a new version of this printer, EPSON TM-P20II. The prints stopped working on the new printer - my guess is, it's the new firmware (see picture attached).

There's a tech reference for ESC/POS commands (https://download4.epson.biz/sec_pubs/pos/reference_en/escpos/index.html), but I have a hard time finding the reason, why exactly my prints do not work again.

May I ask you, if you have an idea, in which direction I should search? I can provide further project info, logs or whatever is needed anytime.

Thank you in advance!
Sam

WhatsApp Bild 2024-03-07 um 21 03 43_2fd7baba

@samuelT2
Copy link
Author

I can print to my new printer with eg. echo "hello" > /dev/rfcomm0. But when using the same printer path for a new fileconnector, I get this as an output:
Screenshot 2024-03-12 140100

@samuelT2
Copy link
Author

Even when I use your example 1:1, I've got the same message:

<?php
/* Call this file 'hello-world.php' */
require 'vendor/autoload.php';
use Mike42\Escpos\PrintConnectors\FilePrintConnector;
use Mike42\Escpos\Printer;
$connector = new FilePrintConnector("/dev/rfcomm0");
$printer = new Printer($connector);
$printer -> text("Hello World!\n");
$printer -> cut();
$printer -> close();

Calling php test.php results in:
Screenshot 2024-03-12 163247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant