Hello @test_test test_test ,
Thank you for your question and reaching out.
I believe there is no direct Windows PowerShell or cmd for this type of configuration in Printer. you can handle it by using Printer API using ESC/POS command , However its all depends Printer manufacturer
Below is Microsoft reference example for Epson ESC/POS.
https://learn.microsoft.com/en-us/windows/uwp/devices-sensors/epson-esc-pos-with-formatting
-------
--If the reply is helpful, please Upvote and Accept as answer--