You must be connected to a Windows-based computer to complete this procedure.
Related topics
About printing to your Macintosh printers from the Windows-based computer
Make your Macintosh printers available to the Windows-based computer
I cannot print from a Windows-based program to my Macintosh printer.