I do not see any other way to get the dialogue box if you do not want to use the form. System always prints to the default printer or last used if you setup last used option.
Hi, Paul.
Sounds like you're talking about REST API. And that your are overwriting data with older values if B managed to read record before A finished to update it. Classic conflict resolution ...