Skip to content

vakata/php-lpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

php-lpd

PHP LPD (virtual printer in PHP)

  • Run example\server.php (CLI should be better), the server listens on 127.0.0.1:515 (change that if needed).

You should be good to go, you can either:

  • Run example\client.php (which works with a lovely class by Mick Sear), change the IP:PORT if needed.

or

  • Install a generic LPR text printer and start printing (if you are printing non-latin characters, please configure your printer with the correct font).

Data sent to the printer is echoed, and then written to a example\dump.txt text file, you can change that in example\server.php.

About

PHP LPD (virtual printer in PHP)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages