>Hi,
>
>I try to print directly to a (Escape sequence enabled) customer display connected to the COM-port on my computer, but everytime I try this:
>
>SET PRINT TO COM1
>SET DEVI TO PRINT
>@ 1,1 SAY CHR(12)
>
>the printout goes to my printer on the USB-port.
>
>What am I doing wrong here?
>
>PS: The display does not come with a printer driver.
If you don't find any better way, you can try with 'Generic/Text only' printer driver. It was long time ago, so I don't remember if there are any specific settings except port, but this used to work ok. I was not to happy having to set it as separate PD on each POS, but at the time that was first solution that worked without any problems.
Use ?/??/??? commands to send output rather then @...say
You could also play/try with preparing/copying small txt files directly to display port. There was such solution provided here in one of POS related threads.
You should also look at MsComm32 library.
HTH