?
Solved

bug in MS photo editor crashes when printing a jpg file

Posted on 2003-02-19
39
Medium Priority
?
3,189 Views
Last Modified: 2012-05-04
I got a 25KB JPG of a warship from a friend.

If I try to print it using Microsoft Photo Editor XP, it crashes.

I tried it on 4 PC's and it crashes on all 4. (Windows 2000 with Office 2000, 2000 with XP, XP with 2000, and XP with XP).  Tried 4 other JPG images and they print fine.

The separate machines print to different printer brands.

Photo editor locks up but not the machine.  I can CTRL ALT DEL and end task without Windows crashing.

I can use Photo Editor to save the image to a .BMP and then print it out fine from photo editor.

I can load the same JPG image into IE or import it into Word and it prints fine.

I applied office 2000 SP1 and SP2 patches and I still receive the same problem.

The attempt on PC4 was from a fresh install of photo editor from the office XP disc into Win2000.

All 2000 machines have SP1 and SP2 installed and have all current updates.

Please test your theory with the actual picture (http://www.digitalforces.com/ships11.jpg)

Your assistance would be greatly appreciated
0
Comment
Question by:andyrosa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 15
  • 12
  • 10
  • +2
39 Comments
 
LVL 43

Expert Comment

by:Steve Knight
ID: 7984355
Prints fine (on PostScript printer to file:) on W2K with Photo Editor 3.01 (from Off 97).

How about if you load into PSP etc. and save out as a JPG again.  Sounds like an illegal or corrupt JPEG file which maybe IE allows but other progs barf on.

See how others go with it...

Steve
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 7984539
It also locked my Photo Editor (XP with Office XP and fully patched.)  I opened it in PhotoShop and re-saved it as a jpg with a file size of 34.4 KB  - It now prints fine.
You can download it here to test: http://www.tekmasters.com/images/ships11.jpg
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 7984542
Sounds like dragon-it is 100% correct :)
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

Author Comment

by:andyrosa
ID: 7989432
shekerra and dragon-it:
thank your for your input.
as you know, I already have a work around (save as bmp using PhotoEditor). Saving it as a jpg does not seem to help.
You would imagine the if the file is OK enough to be displayed by Photo Editor, I could be printed...
At the same time, if it is corrupted, a message would be nice, not 99% CPU.
I sent this info to MS's bug report page a few weeks ago and no response, of course.
I am hoping for a fix (a registry setting, a patch, a switch) Any additional insights?
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 7992477
I've been looking for a JPEG checker to see if it can see any "illegal bits" in a file.... but haven't found anything yet...

The fact that it works in earlier versions (ie. my Off 97 version) kinda suggests an introduced bug or an intolerance to  something that was fine before...

I'll have a dig later!

Steve
0
 

Author Comment

by:andyrosa
ID: 7996096
dragon-it:
That's a great idea.
It is good to know it did not crash on 97 too.
How big is the exe?
It could be just one DLL.
I wonder which DLL's does it use.
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 7996550
Why don't you repair your office installation and see if that helps?  Just go to help menu in word or excel and click on detect & repair.
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 7998075
shekerra,

Would be fair enough except its happening on various machines ... including yours isn't it?!

Got nowhere finding any JPEG checkers.
Photo Editor on mine is:

C:\Program Files\Common Files\Microsoft Shared\PhotoEd\*.*
PHOTOED.EXE     all v3.01
1033\PEINTL.DLL
WATERCOL.DLL
TEXTURIZ.DLL
STAMP.DLL
STAINEDG.DLL
NOTEPAPE.DLL
GRAPHICP.DLL
EMBOSS.DLL
CHALKCHA.DLL
PHOTOED.HLP
PHOTOED.CNT (internationalised descriptions)
PHOTOED.SRG (registry entries)

so realistically it probably only needs PHOTOED.EXE and maybe PEINTL.DLL as the other DLL's are obviously the effects...  size of all of it is 1.8Mb.

Quite willing to ZIP up the directory to save you finding an Office 97 machine if you want to try it...

Steve
0
 

Author Comment

by:andyrosa
ID: 7999292
dragon-it:
my photoed.exe is v 3.0.1.1 (c) 2000 5/3/2000
most likely office 2K.
can you post your exe?
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 8000033
OK zipped directory is in

http://www.dragon-it.co.uk/ee/eefiles.htm

Let us know when you have it... not really on to leave copyrighted material around on my website for the spiders to find...

I suppose at least (if that works) it would prove it is the later versions of Photo Editor that doesn't like the JPEG for some reason and not anything else unrelated on those machines.  Not a lot else mind!

Steve
0
 

Author Comment

by:andyrosa
ID: 8000582
dragon-it:
thank you.
tried it.
Froze!
Makes no sense. Maybe be dll related to printing?
I wonder if it will work for shekerra.
www.digitalforces.com/photoed.zip has mine.
does it work for you?
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 8002503
Hmm, the above ZIP is the same files as I sent you... are they the ones off your machine?

Just tried the image on W2K (Sp2) and a freshly installed Office 2000 (no SP) on amachine that didn't have Office before and still OK.... version of Photo Editor is 3.01 6/3/1999

In that case it was printed to a HP laserjet 4 driver to FILE: since it isn't on the network... might be worth trying a basic print driver like that aswell?

Maybe it is the Office XP (or just later Of 2000 SP) version you have there?

Weird - not like it matters /that/ much either of course but it would be nice to know why, wouldn't it!

Steve
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 8003272
The download didn't do it.  I am frozen with the new application.  I will bet that I would be able to print this on our 8100 at work though.  I only have a DJ 855C here.
0
 

Author Comment

by:andyrosa
ID: 8009587
shekerra:
Let me know.
dragon-it:
sorry. I now posted the 2000 version of PhotoEd.EXE www.digitalforces.com/photoed.zip
let me know.
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 8009829
Fraid that works fine too here!

W2K(Sp3), Office 97 installed, your PhotoEd 3.1.1 and original file... IE5.5 in case that matters!

Steve
0
 

Author Comment

by:andyrosa
ID: 8009881
must be a dll or registry setting.
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 8010043
True. Can't find any related bugs mentioned with PE ... strange isn't it!
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 8010093
Ummm what printers are you all using?
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 8010234
Let's all compare this registry key: HKEY_CURRENT_USER\Software\Microsoft\Photo Editor\3.0\Microsoft Photo Editor
Maybe someone has something a little different?

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Photo Editor\3.0]

[HKEY_CURRENT_USER\Software\Microsoft\Photo Editor\3.0\Conversion]
"Smooth"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Photo Editor\3.0\Crop]
"Corner1"=dword:00000000
"Corner2"=dword:00000000
"Corner3"=dword:00000000
"Corner4"=dword:00000000
"SquareOrRound"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Photo Editor\3.0\File Options]
"JPEG Compression"=dword:0000005a
"Path"="C:\\Documents and Settings\\bev.TECH4USERVICES\\Desktop"
"MRUExportType"=dword:00000001
"MRUImportType"=dword:00000007

[HKEY_CURRENT_USER\Software\Microsoft\Photo Editor\3.0\Microsoft Photo Editor]
"LastFile1"="C:\\Documents and Settings\\bev.TECH4USERVICES\\Local Settings\\Temporary Internet Files\\OLK13A\\image0013.jpg"
"LastType1"="jpg"
"InitialPosition"=" 34,  74,  1027,  733, "
"StatusBar"="1"
"RepaintBg"="1"
"ProgressRate"="200"
"BackColor"=" 0,  0,  0,  0,  0,  0, "
"Show"="1"
"MDIMAX"="1"
"LastFile2"="C:\\Documents and Settings\\bev.TECH4USERVICES\\Desktop\\ships11.jpg"
"LastType2"="jpg"
"Picture Type"=dword:00000003
"Picture Width"=dword:00000384
"Picture Height"=dword:000001f4
"Picture Dpi"=dword:00000064

[HKEY_CURRENT_USER\Software\Microsoft\Photo Editor\3.0\Print]
"Orientation"=dword:00000000
"Print Quality"=dword:0000012c

[HKEY_CURRENT_USER\Software\Microsoft\Photo Editor\3.0\Rotate]
"Angle"=dword:0000002d
"Origin"=dword:00000000
"Function"=dword:00000071

[HKEY_CURRENT_USER\Software\Microsoft\Photo Editor\3.0\Tool Bar]
"Visible"=dword:00000006
"left"=dword:00000026
"top"=dword:00000075



0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 8010754
OK, don't think there is much there that it could be but here's mine:

For the record I have successfully printed using OKI 600ex (HP laserjte IIp), Laserjet 4, and Apple Laserwriter (PS) drivers (some to file:).  Can't get it to crash on Win98, Win2K using Off 97, and /or Off 2k.

Steve

Windows Registry Editor Version 5.00

[HKEY_USERS\S-1-5-21-527237240-764733703-854245398-1000\Software\Microsoft\Photo Editor\3.0]

[HKEY_USERS\S-1-5-21-527237240-764733703-854245398-1000\Software\Microsoft\Photo Editor\3.0\File Options]
"JPEG Compression"=dword:0000005a
"Path"="C:\\"
"MRUExportType"=dword:00000003
"MRUImportType"=dword:00000008

[HKEY_USERS\S-1-5-21-527237240-764733703-854245398-1000\Software\Microsoft\Photo Editor\3.0\Filter]
"SharpenStrength"=dword:00000005

[HKEY_USERS\S-1-5-21-527237240-764733703-854245398-1000\Software\Microsoft\Photo Editor\3.0\Microsoft Photo Editor]
"LastFile1"="C:\\ships11.jpg"
"LastType1"="jpg"
"InitialPosition"=" 271,  25,  580,  734, "
"StatusBar"="1"
"RepaintBg"="1"
"ProgressRate"="200"
"BackColor"=" 0,  0,  0,  0,  0,  0, "
"Show"="3"
"MDIMAX"="1"
"LastFile2"=""
"LastType2"=""
"LastFile3"=""
"LastType3"=""
"LastFile4"=""
"LastType4"=""

[HKEY_USERS\S-1-5-21-527237240-764733703-854245398-1000\Software\Microsoft\Photo Editor\3.0\Tool Bar]
"Visible"=dword:00000006
"left"=dword:00000000
"top"=dword:00000027

0
 
LVL 16

Expert Comment

by:GUEEN
ID: 8011840
If I right-click and copy from http://www.digitalforces.com/ships11.jpg and open photoed and select edit | paste as new image.  There is no problem with printing...
If I do anything else - it eats up 99% of my CPU
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 8011974
I can also open ships11 in PE - select all | copy  | paste as new image - no problem...
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 8011976
I'll try it from a new net. of W2K PC's put in on a client site when I go there Wednesday - that's W2K SP2, Office XP (no SP unless they have rolled it without me...) and see if I can make it crash... and if so what does it!

Steve
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 8011989
I'll try it from a new net. of W2K PC's put in on a client site when I go there Wednesday - that's W2K SP2, Office XP (no SP unless they have rolled it without me...) and see if I can make it crash... and if so what does it!

Steve
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 8012045
This is on XP SP1 - all updates/Office XP all sp updates.
I am quite boggled.  It almost appears to behave like a memory leak for the initial 'normal way of printing.'  But when pasted as 'new image' it prints instantly...
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 8024442
On customer site today.... just tried it on their W2K SP2, Office XP (no SP) Photo Editor.... V 3.0.2.3. Guess what, no crash :-)  I don't suppose you could email the file to the address in my profile in case the way I am downloading is "fixing" the file in some way -- Right click on Link -> Save As is what I've done..

Date & Time of photoed.exe i 15-12-2000, 790,528 bytes.  Will take a copy home in case you want to try it... but I am getting the feeling it is something else completely?

That was to a RICOH Aficio high-end copier/printer (as made here!) and a LexMark laser...

Steve
0
 

Author Comment

by:andyrosa
ID: 8026543
I do think the save AS can make a difference.
I posted it now as www.digitalforces.com/ships11.zip
shekerra:
what method did you use to keep the file 'as pure as possible' (the one that crashes photoed)?
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 8026600
I just did a right-click on the link provided (saved to desktop) - inserted and mailed.
0
 

Author Comment

by:andyrosa
ID: 8026854
I do think the save AS can make a difference.
I posted it now as www.digitalforces.com/ships11.zip
shekerra:
what method did you use to keep the file 'as pure as possible' (the one that crashes photoed)?
0
 

Author Comment

by:andyrosa
ID: 8026869
I do think the save AS can make a difference.
I posted it now as www.digitalforces.com/ships11.zip
shekerra:
what method did you use to keep the file 'as pure as possible' (the one that crashes photoed)?
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 8027292
Hi guys,

The one emailed to me also /doesn't/ crash on my Office 97 here (from bev..., I presume it was you!)....  

Steve
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 8027457
Yes Steve it was me :)
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 8027744
ZIP file... same lark.  No crash!!  Must be pritner driver related?  Did you have any look with generic drivers -> FILE:?

Steve
0
 

Author Comment

by:andyrosa
ID: 8028621
The problem is related to the printer.
When I click File/Print, it crashes.
I changed the default system printer from HP 1100 to Generic/Text.
It now allows me to open the print dialog, and to print (I printed to file to avoid the 300 pages with one heart on each of them)
However, it seems epidemic.  It also crashes with the following W2K standard drivers:
OKIDATA 310 MS on FILE:
HP LaserJet 4/4M PS (postcript) on FILE:
HP LaserJet 4L/4M PS (postcript) on FILE:

dragon-it:
Can you test with either of the above?
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 8028735
Hi,

Haven't got OKIDATA 310MS available in my list but:

HP LJ 4/4M PS driver (standard W2K) : OK still
HP Laserjet 1100 (MS) driver: OK (we have this printer)

Only thing I did notice was the size shows up as 0.30 x 0.24cm in the print dialog box but it still works if I print this size or fit to page etc....

Getting a long way but at the same time absolutely nowhere...

Steve
0
 
LVL 1

Expert Comment

by:PashasKY
ID: 8971484
andyrosa,
No comment has been added lately (146 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Accept andyrosa's answer http:#8028621 and Refund

Please leave any comments here within 7 days.

-- Please DO NOT accept this comment as an answer ! --

Thanks,

PashasKY
EE Cleanup Volunteer
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 8974664
Well I would have suggested splitting between the two persons assisting with andyrosa's question ...
0
 

Accepted Solution

by:
YensidMod earned 0 total points
ID: 9045653
Question is PAQ'd and points refunded.

YensidMod
Community Support Moderator @Experts Exchange
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 9049703
I agree with dragon-it but yensidmod determined otherwise :)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a serious pitfall that can happen when deleting shapes using VBA.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question