If someone needs this function, you can use the code in the following post 
@kevin
Thank you very much for sharing the complete functional code,
This function can replace the QM printing function
https://www.quickmacros.com/forum/showth...8#pid34848

@kevin
Thank you very much for sharing the complete functional code,
This function can replace the QM printing function
https://www.quickmacros.com/forum/showth...8#pid34848