Bug 5176

Summary: raw prints on windows leaves stray files
Product: ThinLinc Reporter: Pierre Ossman <ossman>
Component: PrintingAssignee: Henrik Andersson <hean01>
Status: CLOSED FIXED    
Severity: Normal CC: hean01, samuel
Priority: P2 Keywords: prosaic, samuel_tester
Version: trunk   
Target Milestone: 4.3.0   
Hardware: PC   
OS: Unknown   
Acceptance Criteria:

Description Pierre Ossman cendio 2014-06-02 13:49:10 CEST
There is nothing in the code that handles raw prints on windows that cleans up the received file, neither on success nor failure.
Comment 1 Henrik Andersson cendio 2014-06-13 16:20:35 CEST
Fixed in commit 29064.
Comment 2 Henrik Andersson cendio 2014-06-16 11:14:44 CEST
Updated in commit 29070.
Comment 3 Samuel Mannehed cendio 2014-10-02 15:23:03 CEST
Looks good, verified with a Windows 7 client using build 4510.

The resulting printout from these commands where slightly different as expected and the temporary file was deleted in both cases:

lpr -o raw testfile -P thinlocal
lpr testfile -P thinlocal