Coder Social home page Coder Social logo

instax_api's Introduction

instax_api

Build Status Coverage Status

This is a Python Module to interact and print photos to the Fujifilm Instax SP-2 and SP-3 printers.

Install this library

In order to use this library, you will need to be using Python 3

pip3 install instax-api

Usage

$ instax-print --help
usage: instax-print [-h] [-i PIN] [-v {1,2,3}] image

positional arguments:
  image                 The location of the image to print.

optional arguments:
  -h, --help            show this help message and exit
  -i PIN, --pin PIN     The pin code to use, default: 1111.
  -v {1,2,3}, --version {1,2,3}
                        The version of Instax Printer to use (1, 2 or 3).
                        Default is 2 (SP-2).                       

Examples:

  • Printing a Photo to an SP-2 printer: instax-print myPhoto.jpg
  • Printing a Photo to an SP-3 printer: instax-print myPhoto.jpg -v 3
  • Printing a Photo to a printer with a pin that is not the default (1111) instax-print myPhoto.jpg -i 1234

Hints and tips:

  • Make sure you are connected to the correct wifi network, once the printer is turned on, there will be an SSID / WiFi network available that starts with INSTAX- followed by 8 numbers. You'll need to connect to this.
  • If you have a static IP address set up on your computer, you'll need to turn on DHCP before attempting to print, the Instax printer will automatically assign you a new address once you connect.
  • Some Unix based operating systems may require you to use sudo in order to access the network.
  • The printer will automatically turn itself off after roughly 10 minutes of innactivity.
  • The instax-print utility will attempt to automatically rotate the image so that it either is correctly printed in portrait, or landscape with the thick bottom edge of the print on the left. If you wish to print your photos in a specific orientation that differs from this, then it's reccomended that you orient your photo in a tool like GIMP first, then strip out the rotation metadata. Once the rotation metadata has been stripped, the photo will need to be in a portrait orientation relative to the finished print (e.g. thick edge at the bottom).

Install Manually

git clone https://github.com/jpwsutton/instax_api.git
cd instax_api
python3 setup.py install

instax_api's People

Contributors

jpwsutton avatar

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.