About Neodynamic WebClientPrint for PHP

Print raw data and files on the client-side from PHP Websites.

WebClientPrint for PHP is a lightweight and plugin-free solution for Client-side Printing scenarios for Windows, Linux, Raspberry Pi (Linux ARM) and Mac clients. It is designed for PHP Website projects including support for PHP MVC Frameworks like Laravel. With the WebClientPrint solution, you can easily send raw data, text and native commands to printers installed at the client machine without showing or displaying any print dialog box. You can also print common file formats like PDF, TXT, DOC, XLS, JPG, PNG, TIFF (Multipage), and many more.

WebClientPrint for PHP Features

  • Cross Platform Client - Any Client platform can print from your ASP.NET Website. It supports Windows, macOS / OS X, Linux and Raspberry Pi (Linux ARM) devices. Very small footprint clients without external dependencies.
  • Raw Data Printing - Send any raw data supported by the client printer like Epson ESC/P, HP PCL, PostScript, Zebra ZPL and Eltron EPL, and more. Shipping labels generated by postal services like UPS, FedEx, USPS, DHL as well as PRN files are also supported.
  • Advanced PDF Printing - Print PDF files without requiring Adobe Reader or any other external software. Advanced Printing settings include Tray Name, Paper Size, Print Rotation, Pages Range, Auto Rotate, Auto Center, and more.
  • Print Images and Docs - In addition to print raw commands, you can also use WebClientPrint solution to send and print known file formats like TXT, DOC/x, XLS/x, JPG, PNG, TIFF (Multipage), and more. TXT, PNG, JPG and BMP are natively supported; others will require external software like Word, Excel, LibreOffice, etc.
  • Advanced DOC Printing - Print DOC files silently with Advanced Printing settings including Password-protected files, manual Duplex, Pages Range, and more NOTE: For Windows clients only. Requires Microsoft Word 97+.
  • Advanced XLS Printing - Print XLS files silently with Advanced Printing settings including Password-protected files, Pages Range, and more. NOTE: For Windows clients only. Requires Microsoft Excel 97+
  • Print Files With Password Protection - Print Password Protected PDF, DOC and XLS files. The password protected file is set at server side and the password to unlock it is embedded into the file encrypted with RSA as part of the metadata file.
  • Print Files With Encryption - Encrypt and Print PDF, TXT, JPG & PNG files! WebClientPrint uses RSA + AES encryption. The file to print is encrypted in the server side and stored at the client machine disk. At printing time, WCPP will decrypt the file in system memory to print it.
  • Print to Any Printer - Print to any brand and type of client printers! Thermal Label Barcode printers, POS receipt printers, Impact printers, Ticket printers, RFID printers, Dot-Matrix and more.
  • Tray and Paper Size - If the printer is installed in the client system through a Printer Driver, then you can specify to which Tray Name to send the print job and specify a Paper Size if desired. The file formats supported by this feature are PDF, JPEG, PNG, BMP & TXT.
  • Get Printers Info - Besides getting the list of installed printers available in the client machine, you can also get further details like DPI Resolution, PortName, Is Connected, Is Shared, Is Local, Is Network, Duplex, as well as the list of supported Papers and list of trays/bins.
  • Printer Communication - Client Printers Connectivity support: installed Windows printers (for USB connection), Shared Printers, Parallel Port (LPT) or Serial Port RS-232 (COM) as well as IP/Ethernet Network printers. On Linux and Mac OS, any kind of printer installed through CUPS is supported.

WebClientPrint is a Client-Server solution

  • The Server-side component - The WebClientPrint.php file contains classes that are used in your PHP website to generate "Client Print Jobs". A Client Print Job allows you to specify:
  • The Client-side component - The WebClientPrint Processor (WCPP) utility that needs to be installed at the client machine just once. WCPP is a lightweight native app (without any dependencies) that processes all the "Client Print Jobs" generated by the server-side component.

Printing File Formats Requirements

  • Windows Clients:
    • DOC, DOCX (Microsoft Word is required)
    • XLS, XLSX (Microsoft Excel is required)
    • PDF (Natively supported)
    • TIF (Natively supported)
    • TXT (Natively supported)
    • JPEG (Natively supported)
    • PNG (Natively supported)
    • BMP (Natively supported)
    • Printer Support - You can print files to local installed printers ONLY! Parallel, Serial and IP/Ethernet printers are NOT supported for printing files but for printing raw commands.
  • Linux, Raspberry Pi & Mac Clients:
    • DOC, DOCX (LibreOffice is required)
    • XLS, XLSX (LibreOffice is required)
    • PDF (Natively supported)
    • TIF (Natively supported)
    • TXT (Natively supported)
    • JPEG (Natively supported)
    • PNG (Natively supported)
    • BMP (Natively supported)
    • Printer Support - You can print files to any installed printers through CUPS system.

Supported Image Formats

  • Windows or OS/2 Bitmap File (*.BMP)
  • Dr. Halo (*.CUT)
  • DirectDraw Surface (*.DDS)
  • ILM OpenEXR (*.EXR)
  • Raw Fax format CCITT G3 (*.G3)
  • Graphics Interchange Format (*.GIF)
  • High Dynamic Range (*.HDR)
  • Windows Icon (*.ICO)
  • Amiga IFF (*.IFF, *.LBM)
  • JPEG-2000 codestream (*.J2K, *.J2C)
  • JPEG Network Graphics (*.JNG)
  • JPEG-2000 File Format (*.JP2)
  • Independent JPEG Group (*.JPG, *.JIF, *.JPEG, *.JPE)
  • JPEG XR image format (*.JXR, *.WDP, *.HDP)
  • Commodore 64 Koala format (*.KOA)
  • Multiple Network Graphics (*.MNG)
  • Portable Bitmap (ASCII) (*.PBM)
  • Portable Bitmap (BINARY) (*.PBM)
  • Kodak PhotoCD (*.PCD)
  • Zsoft Paintbrush PCX bitmap format (*.PCX)
  • Portable Floatmap (*.PFM)
  • Portable Graymap (ASCII) (*.PGM)
  • Portable Graymap (BINARY) (*.PGM)
  • Macintosh PICT (*.PCT, *.PICT, *.PIC)
  • Portable Network Graphics (*.PNG)
  • Portable Pixelmap (ASCII) (*.PPM)
  • Portable Pixelmap (BINARY) (*.PPM)
  • Adobe Photoshop (*.PSD)
  • Sun Rasterfile (*.RAS)
  • RAW camera image (CRW/CR2, NEF, RAF, DNG, MOS, KDC, DCR, etc)
  • Silicon Graphics SGI image format (*.SGI)
  • Truevision Targa files (*.TGA, *.TARGA)
  • Tagged Image File Format (*.TIF, *.TIFF)
  • Wireless Bitmap (*.WBMP)
  • Google WebP image format (*.WEBP)
  • X11 Bitmap Format (*.XBM)
  • X11 Pixmap Format (*.XPM)