Skip to content

rodriwasabi/JSPrintManager-Angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSPrintManager implementation for Angular 8

This is the Angular 8 adaptation of the sample of JSPrintManager you can find here: https://www.neodynamic.com/articles/How-to-print-raw-ESC-POS-commands-from-Javascript/

Example can be found at: ./index.html using ./JSPrintManager

DISCLAIMER: I Am Not An Angular Expert, So I Think This Implementation Is The Simplest Way To Use The Documentation Example In An Angular Context. I used the default template provided by running ng new

Highlights

  • No modifications over original JS files

    • printer/src/assets/js/deflate.js
    • printer/src/assets/js/deflate.js
    • printer/src/assets/js/zip-ext.js
    • printer/src/assets/js/zip.js
  • Declarations added:

    • printer/src/assets/js/JSPrintManager.d.ts
    • printer/src/assets/js/zip.js.d.ts

Things added for Angular version

How to build

Minimal reqs

  • Angular 8, npm and typescript (latest versions)

Build and run

  • Restoring packages. Navigate to ./printer and run: npm install
  • Build ng build
  • Run (to localhost:4200) ng serve

About

JSPrintManager implementation for Angular

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published