Chrome Direct Print (Web App Usage)

“Chrome Direct Print” is abandoned in favor of “WebApp Hardware Bridge
Which support all modern browsers (Chrome, Firefox, Edge),
with better compatibility, performance and serial port support.

Example Usage to call “Chrome Direct Print”
If the extension is not installed, it will fallback to view the PDF.

Continue reading “Chrome Direct Print (Web App Usage)”

Chrome Direct Print (Silent Print with multiple printer support)

“Chrome Direct Print” is abandoned in favor of “WebApp Hardware Bridge
Which support all modern browsers (Chrome, Firefox, Edge),
with better compatibility, performance and serial port support.

The most challenging (and missing) part of Web-based applications (especially internal systems) is printing.
Browsers do not allow silent printing and users demand it heavily.

Chrome Direct Print” bridge the gap between Printer and Web Apps.

** Support Windows, Chrome and PDF only **

Technical Explanations

“Chrome Direct Print” make use of “Native Messaging API” to communicate with processes (aka host).

The “host” is written in Python, which is responsible for enumerating printers,
download PDF documents, and finally calling embed PDF reader to send PDF to printer.

Source Codes

This project is no longer maintained.
Source code here are for reference and study purpose only.

Host: https://github.com/imTigger/chrome-hardware-bridge-host

Chrome Extension: https://github.com/imTigger/chrome-hardware-bridge-app

NSIS Installer: https://github.com/imTigger/chrome-hardware-bridge-installer

Links

Chrome Extension: https://chrome.google.com/webstore/detail/chrome-direct-print/fnfkcaeloalplnglklappfjfjeafakeo

Host: https://s3-ap-southeast-1.amazonaws.com/tiger-workshop-public/Chrome+Direct+Print+Setup.exe

User Manual: https://s3-ap-southeast-1.amazonaws.com/tiger-workshop-public/Chrome+Direct+Print+User+Manual.pdf

Web App Usage: https://blog.tiger-workshop.com/chrome-direct-print-web-app-usage/

[WSL] PHP Development Environment by “Windows Subsystem for Linux” (Part 1)

This article requires Windows 10 (Build Version 1709 [The Fall Creators Update]) or above to work.

Although WSL exists since Version 1607 [Anniversary Update], it’s harder to setup and more buggy.

In this tutorial we will setup this development environment in WSL (In Part 1)
Apache 2.4
MySQL 5.7
PHP 7.2 (Run as FPM)
phpMyAdmin
Composer

With those tools under Windows 10 (In Part 2)
PHPStorm
Bash and Linux CLI tools
PHP Deployer

Continue reading “[WSL] PHP Development Environment by “Windows Subsystem for Linux” (Part 1)”