Is there a way to run a CMD command with a certain...
# suitescript
m
Is there a way to run a CMD command with a certain script? I need to open the cash drawer on printing receipts, and the printer configurations doesn't work, while the command work using cmd.
c
The only way I can think of doing this is to have a web server running on the machine with the drawer that is configured to execute the script when a certain URL is called. You could then use the NetSuite http api to call it. Doing this sort of thing is obviously intentionally impossibly out of the box for security reasons. Might be some local browser config and plugins you could look at too, but it's such a terrible thing to need to do from NS in the first place. Looking forward to other answers 😂
m
OMG 🙂
c
I'm quite pleased my browser doesn't let random websites run command prompts...
😂 3
m
I get it, I was just confused by it.