
Build instructions for Magicard CUPS Driver
-------------------------------------------

1. Make sure the printer is not connected to the machine.

2. Ensure Required Components are Installed 

    sudo apt install build-essential cmake
    sudo apt install libcups2-dev

3. Extract tarball, for example

    tar -xf magicard_ltd-linux_driver.tar.gz

4.Move to the extracted directory, for example

    cd magicard_ltd-linux_driver

5. Build Code

    sudo cmake .

    sudo make

6. Install the Driver

    sudo make install

7. Open CUPS

    Open a browser
    Navigate to http://localhost:631/printers

8. Install the printer

    Plug the printer to the machine using USB
    Refresh the browser page, the printer should appear, this may take a little while.
