1) It moves the BeginDocument to a earlier place in the call change

2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi
This commit is contained in:
rods%netscape.com 2006-02-07 01:13:31 +00:00
Родитель 140807f6fa
Коммит 781005dd5f
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -1651,10 +1651,7 @@ nsDeviceContextSpecWin :: ShowXPPrintDialog(PRBool aQuiet)
if (printerName != nsnull) {
// Gets DEVMODE, Device and Driver Names
rv = GetDataFromPrinter(printerName);
// Set into DevMode Paper Size and Orientation here
SetupPaperInfoFromSettings();
rv = GetDataFromPrinter(printerName, mPrintSettings);
nsMemory::Free(printerName);
} else {