GithubHelp home page GithubHelp logo

supermarcus / airprint-proxy Goto Github PK

View Code? Open in Web Editor NEW
30.0 30.0 4.0 398 KB

Advertise AirPrint printers for network printers located outside the subnet using node. GPL-3.0 licensed.

Home Page: https://www.npmjs.com/package/airprint-proxy

License: GNU General Public License v3.0

JavaScript 100.00%
airprint bonjour dns-sd mdns network-printer

airprint-proxy's Introduction

Hi there ๐Ÿ˜€ you're viewing Marcus's Github profile.

  • โœจ I am an open-source advocate (list of projects).
  • ๐Ÿซ Currently pursuing Computer Science degrees.
  • ๐Ÿ’ฌ Talk to me about mobile software development, embedded systems, and computer networks.

airprint-proxy's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

airprint-proxy's Issues

need additional Info in readme

From README.md it is not clear fo me,
if that library can be installed on iOS (iPhone, iPad) and used there
to connect a network printer (IPP-Protocoll) for printing.
Sadly that network printer is not findable while with iOS AirPrinter-search,
but other systems (Windows,Linux) can print on that printer via WLAN using IPP.

Support overriding the printer DNS IP address

Fantastic project, just what I needed to expose my printer from one network to another via NAT. Windows network printing just worked but Airprint needed this extra helping hand

Just one small feature request: I had to hack addr in resolve.js onLookup to a different IP address, as I am NATing ports to the printer. It would be really great to expose the A record IP address as a command line flag in case it differs from the IP that the local machine running airprint-proxy uses for the printer

Known issues?

Are there any known issues with recent iOS releases?
I would like to use the tool for printers that are in different subnets. They support Airprint and if directly print to them it works, but using airprint-proxy I can see the printer being available, but get an error message when printing.
On the iOS console I can see errors like:

Jul 25 17:52:40 iPhone MobileSafari(PrintKit)[2577] <Notice>: OKI._ipp._tcp.local.: Get-Printer-Attributes failed: Bad Request
Jul 25 17:52:40 iPhone MobileSafari(PrintKit)[2577] <Notice>: No document-format-supported attribute found or no supported formats found.
Jul 25 17:52:40 iPhone MobileSafari(PrintKit)[2577] <Notice>: No mediaColSupported found, defaulting to media-bottom-margin, media-left-margin, media-right-margin, media-size, and media-top-margin.

and

Jul 25 17:52:48 iPhone MobileSafari(PrintKit)[2577] <Notice>: OKI._ipp._tcp.local.: Print-Job successful with warning: Job attributes did not match print document.

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.