We are seeing the exact same issue printing from the Edge browser with Windows 10 (1709) with the Xerox Pull Print Driver PS v5496.700. Users are able to print using the same driver in Windows 10 (1703).
If I change the driver to a different driver (HP Universal Printing PS v184.108.40.20678) - we do not get the error in Edge. It appears it the issue is releated to the Xerox driver.
After upgraded to Windows 10 - 1709, I couldn't print from Edge with Global Postcript driver 5469.900 and 5548.800.
It gave error: An exptected error occurred in the print driver. Close the current driver window and retry the operation. 045:000:0513.
This error only occurred on Microsoft Edge.
Other applications were printing fine.