GithubHelp home page GithubHelp logo

namcoder / xp58 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zn4rk/xp58

0.0 0.0 0.0 10 KB

CUPS filter for thermal printer Xprinter XP58 IIH - xp58 driver

License: MIT License

Makefile 3.71% Shell 7.37% C 88.93%

xp58's Introduction

Deprecated in favor of zj-58

Please use that instead!

XP58

CUPS filter for thermal printer Xprinter XP58IIH.

First of I would like to give a big shoutout to @klirichek for making the filters for Zjiang. Since the hardware in both the machines are basically the same he did 99% of the work for me.

I've only tested this on my Mac (Yosemite 10.10.2), but I can't imagine it won't work on Linux as well.

Installation

To get this up and working, just clone the repository into a folder and run make.

You need to make sure that you have cups installed. If you are compiling on linux, you probably need to run sudo apt-get install libcups2-dev libcupsimage2-dev to get the required header files. These are included on MacOSX.

After that you should have the binary file for the filter, and you can either manually place them;

The xp-58.ppd should live in /usr/share/cups/model/xprinter.
And the filter (rastertoxp58) should on macosx live in /usr/libexec/cups/filter or on (some) linux based systems: /usr/lib/cups/filter.

Or you can run the corresponding installation file for your system.

sudo sh ./install-mac
sudo sh ./install-linux (not tested, but should work)

Cups

Go to http://localhost:631/ and follow the instructions for activating the WebGUI.

After that you can follow the Linux Driver instructions that are shipped with the device. Or download them from here.

Notes

I'm not great at C. I've just modified the script provided by @klirichek and made it work on MacOSX. It probably won't work on Linux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.