Giter Site home page Giter Site logo

ezeep / ezeep-js Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 3.0 5.38 MB

A JavaScript library to enable easy and fast printing on any web application using ezeep Blue.

Home Page: https://www.ezeep.com/blue

License: MIT License

HTML 2.24% TypeScript 67.86% SCSS 29.90%
driverless html javascript printing

ezeep-js's People

Contributors

cgoern avatar cgoern-cortado avatar cms-benjamin-schueler avatar gowat-cortado avatar hschell-cortado avatar shery14 avatar tp-shery avatar tp-teman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ezeep-js's Issues

Configurable colorset

A colorset property in the ezp-printing module allows the configuration of custom color sets of the ezeep module.

add language attribute to ezp-printing

language can be set to "de" or "en" and if its set, it overrides the browser language.
(ezeep portal is currently only available in en. If I use the german browser it show a mixed portal with german+english parts)

Non-Interactive component

Allow usage of the ezeep.js npm package as client to trigger print jobs from node.js applications.

if login is hidden, droppping a file should directly take you to printer selection

as it is now, if you log in for the first time, you get sent back to the file drop zone.

how to reproduce

open new incognito browser
login as ezeep user
click on "Print Now"
pick document
-> long moving circle during SignIn
-> sign in doesn't work
perform F5 in the browser
click on "Print Now" again
pick document
-> sign in seems to work
-> window for pick document pops up again
-> picked document is not printed

remark
after picking it again, everything is fine
all following attemps are working

Selection of the default paper format

If no paper format was previously selected for the printer, preselect a paperformat depending on the configuration of the device.

Device is configured using the metric system?
yes --> A4
no --> Letter

gui doesn't show up at all if there are no printers to display

Issue: when you have no printers in your ezeep account, the printing api returns an empty array which leads to the gui after the login not rendering at all.
Expected behavior: the gui should load normally and just show that there are currently no printers to choose from.

Local Print support with File Selection+Drag&Drop

As an ezeep.js integrator, I want to allow my endusers to print files located on their desktops. These files need to be uploaded in order to get printed by ezeep Blue. This feature should be available by using the ezeep.js drop-in component.
Allow to select a file with a file picker by clicking on the ezeep printer area.
Allow also dropping a local file from the users desktop to the ezeep printer icon.
image

Open the print dialog upon file selection or dropping, with the selected/dropped filename on the top of the printer selection dialog.
image

Upon hitting the Print button, start the file upload and start the print process.
image

Implementation details:
Use the Print API requests PrepareUpload and upload to upload a file by a user from the browser. Pass the fileid parameter returned from the PrepareUpload request to the print request.
For File Upload: Evaluate to use https://www.npmjs.com/package/@azure/storage-blob SDK for file upload instead of ezeep Blue API documentation.

Login problem and refresh problem after a couple of hours

[Print Now] Login problem and refresh problem after a couple of hours

steps to do

  • have ezeep account ready
  • open new (incognito) browser
  • login to ezeep
  • click on "Print Now"
  • pick/drop document
    -> login starts
    -> "Sign in" with rolling circle doesn't stop

remark

  • F5 solves the problem
  • the next "Print Now" is working
  • similar behaviour, if you doesn't use "Print Now" for a couple of hours:
  • click on "Print Now"
  • pick/drop document
    -> rolling circle doesn't stop

Print by fileid

implement printing by file id in preparation for the user portal integration

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.