Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    lp-clientpublic

    Node lp

    node-lp is an adapter to the unix 'lp(1)' command allowing files to be subitted for printing or altering a pending job. This will only work on Linux at the moment however if anyone wants a windows port then that might happen.

    Installation

    Note: you need cups installed to use.

    Node-lp can then be installed via NPM

    npm install lp
    

    Then, require the module

    var Printer = require('lp')
      , lp = new Printer([options])
      ;
    

    Usage

    lp.queue(fileLocation, [options], listener)
    
    lp.queue(buffer, [options], listener)
    
    lp.stop(jobid)
    
    lp.resume(jobid)
    
    lp.hold(jobid)
    

    Licence

    Licensed under the New BSD License

    Keywords

    none

    install

    npm i lp-client

    Downloadsweekly downloads

    3

    version

    0.0.2

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar
    • avatar