Open Bug 1001294 Opened 10 years ago Updated 2 years ago

After printing job I am trying to read .shd files to get count of total printouts, while reading I am getting error. This issue is only with mozilla not others.

Categories

(Toolkit :: Printing, defect)

28 Branch
x86
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: dbgoyal, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36

Steps to reproduce:

1. After printing .shd & .spl file comes in C:\Windows\System32\spool\PRINTERS folder.
2. Using VB.net I am moving those files to different location.
3. After moving I am trying to read .shd file to get print count by using below mention code:EMFRecord = New EMFSpoolfileReader.EMFSpoolfileReader
                    EMFRecord.GetTruePageCount(filename)
4. After reading I am storing count in a seperate text file locally and deleting .shd & .spl file.



Actual results:

While reading I am getting error says: "A generic error occurred in GDI+.The process cannot access the file '00005.SPL' because it is being used by another process."
and my program is abnormally terminated there. At the same time I checked in other browser(chrome) it is working as per our expectation.


Expected results:

.spl file should not get blocked by any other process so that it can readable and will get expected result.
Component: Untriaged → Printing
Product: Firefox → Toolkit
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.