Changing Printer Name in Multiple IWP Files
If you experience issues in InSpec Classic after a printer has been changed, please test the following procedure on a single file before performing a bulk edit of all programs and make sure to keep a backup of the files just in case.
In order to change the printer of multiple InSpec programs, we recommend the following procedure:
create a backup of all InSpec programs
open all InSpec programs in Notepad++
Use “Replace All in All Opened Documents” like shown in the image below:
Save all files, close Notepad++ and open the files with InSpec
The printer name is stored in the following format:(AutoRptPrn "HPA8D0BC.hsd1.ca.comcast.net (HP OfficeJet 5200 series)")
You can find out the proper printer command by opening an InSpec file that was changed manually.
please make sure to set the correct encoding in the editor if not done automatically:
Unicode text, UTF-16, little-endian text, with very long lines, with CRLF line terminators
This can be seen/changed in notepad++