Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD20] Star TSP100 Open Cash Drawer/Cut Receipt (2 replies)

$
0
0
Currently I use this code to open the drawer, but it also feeds and cuts a tiny blank receipt. I have yet to find an escape code that will open the drawer without feeding and cutting.
// Tell receipt printer to open cash register
iEscape(Charact(7))
iEndPrinting()
I can fix it with the Bart's solution: [27130.foren.mysnip.de]. This would involve changing printer properties to no cut and then issues a second escape command for cutting when printing a receipt. However, I would rather not have to set the printer properties. Does anyone know if there is a different escape code I can use to open the drawer? Or if there is a way to programmatically set cutting properties for a printer?

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>