Printing with Wine issue

I spent hours figuring it out but finally the solution was simple.
Wine looks at a file called “/etc/printcap” and list the available printers from there.
When you install a new printer, it will be added to the same file name, but in different location “/var/run/cups/printcap” , therefore the /etc/printcap needs to be deleted and create a new link of the same name to the other location so wine can see printers.

Simply do the following commands:

sudo rm /etc/printcap sudo ln -s /var/run/cups/printcap /etc/printcap

now when you go to wine’s notepad, you will see that printers are there.
If you are having problems installing the printer, that is a different issue.