Hi Rick,
>> I finally started the app as a service and VOILA... works every time! Probably a permissions problem but I don't know why permissions would allow it to work then fail after an install.
Services run under different user permissions to your user. This would imply that it is user-account related. Maybe to do with default printers, but since I've not run into this issue, it's not really possible for me to give a definitive answer.
>> I really think you should look into this
it's hard to look into a problem that manifests on your machine, and not anywhere else. It suggests it's realted to how your machine is configured. Default printers being the most obvious candidate, bearing in mind that default printers are different for each user.
>> as it might be the cause of some of the other problems people are having esp. with secwin updates.
I'm not seeing any evidence at all that this is related to Secwin. Secwin doesn't go near the printer code.
>> I am moving from development machine and installing/removing as a service on another machine for testing. Sort of inconvenient and I expect others aren't doing this.
I've not heard of anyone doing that - perhaps that's a clue?
>> but I think others might be seeing the same type of thing when they use secwin and the secwin files get updated.
secwin tables are just tables. If you have a general issue reading / writing tables then clearly permissions can play a role. But it's very unlikely that your machine permissions have "targeted" the secwin tables, as distinct from other tables.
I know none of the above is terribly helpful to you, but in order to solve the root printing problem I think you can ignore Secwin as being a red herring.
cheers
Bruce