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

ZJ-5870 Thermal Printer #47

Open
wambiditu opened this issue Jan 26, 2019 · 2 comments
Open

ZJ-5870 Thermal Printer #47

wambiditu opened this issue Jan 26, 2019 · 2 comments

Comments

@wambiditu
Copy link

Manufacturer: ZiJiang (but mine is branded AGPtEK, and I have seen others as Esky)
Model: ZJ-5870
I could find no guide online.
Paper Width: 58mm

Based on the test bin files, I conclude:

Bit-Image: yes (without wide or tall)
Graphics: no
Barcode: no
QR-Code: no
PDF417-Code: no
Margins and Spacing: no
Partial Cut: no
Full Cut: no
Underline: light and heavy
Text Width: 1x, 2x, 3x, 4x, 5x, 6x
Text Height: 1x, 2x
Character Encodings: Danish, German, English, Spanish, French
Character Encodings: Irish Gaelic, Hungarian, Icelandic, Russian
Character Encodings: Japanese Katakana Half-width
Character Tables: 0 - CP437, 1 - CP932, 2 - CP850, 3 - CP860, 4 - CP863
Character Tables: 5 - CP865, 16 - CP1252, 17 - CP866, 18 - CP852
I think the Japanese table may not be entirely correct, but it does have the Katakana Half-width.

---
ZJ-5870:
  name: ZJ-5870 Thermal Receipt Printer
  vendor: ZiJiang
  notes: >
      ESC/POS Profile for ZiJiang ZJ-5870 Thermal Receipt Printer,
      which may be branded AGPtEK or Esky,
      and identifies itself as a POS-58 Thermal Printer on selftest.
      This profile is suitable for alphanumberic character mode,
      but is untested on Chinese character mode.
      (Change modes by holding down feed button during power-on
      until the mode LED turns off, then release immediately.)
  features:
    barcodeA: false
    barcodeB: false
    bitImageRaster: true
    bitImageColumn: true
    graphics: false
    starCommands: false
    qrCode: false
    pdf417Code: false
    highDensity: false
    pulseStandard: true
    pulseBel: false
    paperFullCut: false
    paperPartCut: false
  colors:
    0: black
  fonts:
    0:
      name: Font A
      columns: 32
  media:
    width:
      mm: 48
      pixels: 384
  codePages:
    0: CP437
    1: CP932
    2: CP850
    3: CP860
    4: CP863
    5: CP865
    16: CP1252
    17: CP866
    18: CP852
...
@mike42
Copy link
Collaborator

mike42 commented Jan 29, 2019

Thanks for posting @wambiditu

The code page list is much shorter than POS-5890, also by Zjiang, did you get these by printing a test page?

@wambiditu
Copy link
Author

When I printed the printer test page by holding down the feed button during power-on, it told me that it could do many different code pages. However, when I compared what characters were actually printed under those conditions (using one of the bin test files, and also under my own testing) I discovered that most of those code pages were simply copies of one of the first listed code pages, and didn't actually do anything differently. So I omitted those from the list.

(Unfortunately, yesterday I managed to turn my 5870 into a smoking melted ashtray due to a buffer overflow, under which condition this printer seems to simply freeze up while continuing to heat the print head forever. Hopefully the 5890 I ordered has either a larger buffer, or a safer response to this situation. Regardless, I'll handle overflows better myself.)

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

2 participants