@rsgdynamics
Firstly, sorry to see that you had some outstanding questions. Just to be clear, WordPress provides the forum automatically, and while we (as the developers) do check in with it, there are times when due to holidays, sickness, demands from other projects etc. that we rely on receiving the email notifications. While this forum is usually pretty good at sending email notifications, I personally seem to have not received a few in recent weeks – I did for this question thankfully.
It’s definitely ok to post questions here, but if you need business critical support and a guaranteed response, then please contact the dedicated Star support team for your region, so that it has a dedicated support ticket and can’t be missed.
The standard version of the plugin will only sound a single buzz at the start and/or end of a job. But modifying the code for different buzzer patterns is reasonably easy.
All code you need to modify is in the function “star_cloudprnt_print_order_summary” in order-handler.php.
For the buzz before printing, you should find the following code:
if(get_option("star-cloudprnt-buzzer-start") == "on")
$printer->sound_buzzer(1, 500, 100);
Which you can change, for example to sound the buzzer twice:
if(get_option("star-cloudprnt-buzzer-start") == "on") {
$printer->sound_buzzer(1, 500, 100);
$printer->sound_buzzer(1, 500, 100);
}
You can experiment with the sound pattern by changing the second parameter (duration of the sound in milliseconds) and third parameter (delay before the next sound in milliseconds). This way you can make distinctly different buzz patterns for the start and end sounds. The first parameter represents which circuit the buzzer is connected to, please don’t change it unless you have custom cabling to connect the buzzer.
For the buzz after printing, you will find later in the same function, very similar looking code:
if(get_option("star-cloudprnt-buzzer-end") == "on")
$printer->sound_buzzer(1, 500, 100);
Which you can modify in the same way.