As of version 3.1.x we added new HPT and JSX printer drivers for SCS spool files. In this blog we will describe how and when to use them.
HPT - Host Print Transform
HPT driver is type of RAW driver but instead of receiving EBCDIC SCS based raw stream, data will be in PCL - ASCII/ANSI format suitable for PCL printers. Even this is legacy approach not generally needed by our system, some clients require printing of RAW data directly to printer. This comes in handy when integrating POS printers with our mobile application as POS printers requires raw text printing feature with embedded printer commands in data stream.
To use HPT driver, printer writer device on host system has to be configured properly with TRANSFORM parameter set to YES as shown on image below. Other parameters must be set to proper SCS conversion driver like *HP5 to generate PCL 5 stream.
If there is no proper IBM conversion for POS based printers one can use *WSCST conversion driver with custom WSCST object to generate pure ASCII/ANSI text spools. Other printer commands have to be inside SCS spool file.
NOTE: For more advance configuration, please refer to IBM manuals about WSCST - Workstation Configuration Objects and how to use them to generate proper SCS conversion for other types of printers.
Code should be copied to the server in configuration folder at
Full code example is available on our git hub page here.
And samples of rendered spools... here