PDFViewerApp is a Progressive Web Application (PWA) designed to provide seamless PDF viewing and printing capabilities. It leverages the EJS PDF Viewer for rendering PDF documents and integrates with ESC/POS printers for efficient printing. Built using C# and Angular, this application ensures a responsive and user-friendly experience across devices.
- View PDF documents directly in the browser.
- Print PDFs using ESC/POS-compatible printers.
- Responsive design for desktop and mobile devices.
- Offline support through PWA functionality.
- Clone the repository:
git clone https://github.com/phyoeisan-dev/PDFViewerApp.git
- Navigate to the project directory:
cd PDFViewerApp
- Install dependencies and build the project:
@syncfusion/ej2-angular-pdfviewer
@angular/pwa
build asp.net core web api project in visual studio and copy file under aspdonetcorewebapi
1. Open your browser and navigate to `http://localhost:4200`.
2. Upload a PDF file to view and print.
## Requirements
- Compatible ESC/POS printer
## Contributing
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.