The 2012 program is not Windows 10 compatible. The 2018 program should correct your issue. You may hav to upgrade to the 2015 program before upgrading to the 2018 program. That is what tech support explained to me when I was upgrading.
Resolution for '2012 program issue: 'Unable to preview or print invoices after Windows update.' available: Yes.
The 2012 program issue or error code is a known issue in Quickbooks Online (QBO) and/or Quickbooks. Support for this issue is available either by self-service or paid support options. Experts are available to resolve your Quickbooks issue to ensure minimal downtime and continue running your business. First try to resolve the 2012 program issue yourself by looking for a resolution described in the article. If it is a complex 2012 program issue or you are unable to solve the issue, you may contact us by clicking here or by using other 2012 program support options.
For more information about resolving issues related to 2012 program in Quickbooks/QBO or to get support for the issue 'Unable to preview or print invoices after Windows update.', click the link below: