Skip to content

TareqNewazShahriar/print-with-electronjs

Repository files navigation

Electron App

What does this application do:

  • Prints contents of its own application window. Loads and prints external web page.
  • Shows progress on taskbar while loadig the web page.
  • Shows OS level notification when printing is done.
  • Updates the application using an unorthodox update mechanism. It will download the latest binary from the server (not implemented) and then it will execute it; that's it.

contextIsolation (contextBridge) is used. To improve security, Electron team deprecated nodeIntegration flag and contextIsolation will be enabled by default from Electron 12.

How to up n run the project:

Go to project directory and run commands

  • npm install
  • npm start

Screenshots

app-window

Print Output (in PDF)

print-result--app-print-window-printed-to-pdf

print-result--google.com-printed-to-pdf


TareqNewazShahriar

About

An Electron application to print contents of a window or any external web page. It used contextBridge/contextIsolation.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published