IdealPoint Of Sale
Support
The HiStone HK528 all-in-one has an 80 mm receipt printer built in, a HiStone PM362 on the unit's internal USB. HiStone publishes no Windows driver for it, and IdealPOS needs none: IdealPOS sends the printer its own commands (ESC/POS) through a plain Windows printer. A script sets that printer up in about a minute.
You need:
One zip with two files: RUN_ME_Setup_HiStone_Printer.bat, the one you run, and Setup-HiStoneReceiptPrinter.ps1, the script it starts.
Download the zip on the HK528, or copy it over. Right-click it and choose Extract All…, then use the extracted folder: the script does not run from inside the zip.
Double-click RUN_ME_Setup_HiStone_Printer.bat and answer Yes when Windows asks for administrator rights. If Windows first warns about a file from the internet, choose Run (or More info → Run anyway).
In a window that stays open, the script:
2AAF:2010);USB001) as ReceiptUSB;
In IdealPOS on the HK528, open Terminal Settings → Peripherals (Printer, Cash Drawer, …). In the POS Terminal #… Devices window, click the receipt printer box. The device list opens: press the green refresh arrows so ReceiptUSB (Windows) appears, then press Check next to it.
IdealPOS prints its own test page, which ends with a QR code.
Choose ReceiptUSB (Windows) in the list so it becomes this POS's receipt printer, and add it to the printer groups that should print on it.
Keep the receipt printer code page on 437 or 858 (Support Settings → Devices). The PM362 has no code page 1252, so with 1252 the € sign and accented letters come out wrong; 858 has the € sign, 437 does not. It is one setting for the whole site, so after changing it check that the site's other receipt printers still print correctly.
Restart the PC and press Check next to ReceiptUSB again. If it prints, you are done. If nothing comes out after the restart, see the first point below.
-BootFix: open the extracted folder, type cmd in its address bar and press Enter, then run RUN_ME_Setup_HiStone_Printer.bat -BootFix. It adds a startup task, IdealPOS - restart receipt printer USB, that restarts the printer's USB device 15 seconds after every start of Windows. To remove it later, delete that task in Task Scheduler.
cmd with the right one, for example RUN_ME_Setup_HiStone_Printer.bat -HardwareId "USB\VID_2AAF&PID_2010" (the ID without the part after the last \).Get-PnpDevice -PresentOnly | Where-Object Service -eq usbprint | Format-List FriendlyName, InstanceId, Status; Get-PrinterPort | Where-Object Name -like 'USB*' | Format-Table Name, Description; Get-Printer | Format-Table Name, DriverName, PortName
For when the script cannot run. In PowerShell, run as administrator:
# 1. the printer: note its InstanceId (USB\VID_2AAF&PID_2010\...)
Get-PnpDevice -PresentOnly | Where-Object InstanceId -like 'USB\VID_2AAF&PID_2010*' | Format-List FriendlyName, InstanceId, Status
# 2. its USB port: is there a USB001?
Get-PrinterPort | Where-Object Name -like 'USB*'
# 3. no USB port: restart the printer's USB device (your InstanceId), then run step 2 again
pnputil /restart-device "USB\VID_2AAF&PID_2010\966"
# 4. the printer on that port
Add-PrinterDriver -Name "Generic / Text Only"
Add-Printer -Name "ReceiptUSB" -DriverName "Generic / Text Only" -PortName "USB001"
Then carry on from step 3.