KM and Printer

Is there a way to create a Macro to make a printer cycle power through?

Can you do it manually using macOS? If so, yes. If no, then perhaps tell us what printer so we can read the manual.