3
0
How to setup the default application to use for print.
Sequence to test
- Open Windows Explorer (Win+e)
- Right click on a tiff image
- Select "print" item
- A custom application (for example IrfanView) should do the printout now to physical printer
The print should now go though a specified program the user can setup to print tiff files. Instead, Microsoft Windows sends the tiff file to Windows Photo viewer. If MsPaint is set as default application for this file extension, it sends the tiff file to MsPaint correctly (but MsPaint does do bad image printout without centering image). A custom application should be the solution to print out an specified file extension. How to setup?
What we tried without success
- Open Windows Explorer (Win+e)
- Select "Open with" > "Choose another app"
- Select application with hook "Always use this app to open .tiff files"
- OK
Select custom application (example IrfanView)
Explorer > Print > goes to Windows Photo viewer instead of any custom application.
After check of Registry entry ProgID - still default windows application for print (suggested by @harrymc):
What do you have in the registry at
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.tiff\UserChoice
? – harrymc – 2019-03-18T13:13:04.210I checked
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.jpg\ShellEx\PropertyHandler
with default application GUID in it. I now checked your path and found:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.tiff\UserChoice
with one entry ofHash=5aLtQqOSl74=
, which I have no idea what that is for. – Nasenbaer – 2019-03-18T13:55:20.023If you don't have an entry named
ProgId
then you have not set IrfanView (or other) as the handler for tiff images. – harrymc – 2019-03-18T14:32:43.947Reviewed: There is
ProgId=ACDSee Pro 10.tiff
in my case. But it does not use the value for print. It takes it for open the file only. – Nasenbaer – 2019-03-19T10:28:55.450I updated the question with screenshot attached on bottom. – Nasenbaer – 2019-03-19T10:36:08.510
I guess the print command might be in
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ACDSee Pro 10.tiff\shell\print\command
, but I don't use this software. – harrymc – 2019-03-19T11:09:47.863Well guessed. There are entries in
\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\...
and also a lot withshell
but none of them takes effect to the requested, Windowsprint
context menu as requested. – Nasenbaer – 2019-03-20T08:59:45.007Does this happen when booting in Safe Mode? Try also sfc /scannow to verify Windows integrity.
– harrymc – 2019-03-20T09:04:45.747The problem is common on all computers. The issue comes to the question: how to setup this
print
context menu in Registry. There is always popping up the default Microsoft Photo Viewer print dialog in case it seems no other application is interested to use this menu. Can you use it with any other application by using the registry key of you above? (similar) – Nasenbaer – 2019-03-20T09:31:41.390Try to modify or delete the registry entry of
HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print\command
(export it first for backup). – harrymc – 2019-03-23T21:09:49.033I saw this entry. Default value is
%SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %1
so I changed with my own application"C:\Source\Tools\trunk\EasyPrintHandler\EasyPrintHandler\bin\Debug\EasyPrintHandler.exe" /print %1
. With no change when using print button in Windows Explorer. Still Windows PhotoViewer print opens. That is why I started this ticket. I Monitored with SysinternalsProcess Monitor
but it only reads this Registry Key. Perhaps someone has already working experience with it. – Nasenbaer – 2019-03-25T08:26:20.783I did some exploring - results below. – harrymc – 2019-03-25T10:12:18.447
Did you have a chance to test all the options I gave in my answer? – sancho.s Reinstate Monica – 2019-03-27T12:58:05.590