Bug 254331: Cannot print in black & white again, only color. r=bzbarsky, sr=roc

This commit is contained in:
kjh-5727%comcast.net 2004-09-03 16:39:34 +00:00
Родитель 5e8ad2c046
Коммит 504746186f
4 изменённых файлов: 12 добавлений и 10 удалений

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

@ -432,6 +432,7 @@ NS_IMETHODIMP nsDeviceContextSpecGTK::Init(nsIPrintSettings *aPS,
mToPrinter = !tofile;
mCopies = copies;
mIsPPreview = aIsPrintPreview;
mCancel = PR_FALSE;
}
return rv;

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

@ -101,11 +101,11 @@ public:
protected:
nsCOMPtr<nsIPrintSettings> mPrintSettings;
PRBool mToPrinter : 1; /* If PR_TRUE, print to printer */
PRBool mIsPPreview : 1; /* If PR_TRUE, is print preview */
PRBool mFpf : 1; /* If PR_TRUE, first page first */
PRBool mGrayscale : 1; /* If PR_TRUE, print grayscale */
PRBool mCancel : 1; /* If PR_TRUE, user cancelled */
PRPackedBool mToPrinter : 1; /* If PR_TRUE, print to printer */
PRPackedBool mIsPPreview : 1; /* If PR_TRUE, is print preview */
PRPackedBool mFpf : 1; /* If PR_TRUE, first page first */
PRPackedBool mGrayscale : 1; /* If PR_TRUE, print grayscale */
PRPackedBool mCancel : 1; /* If PR_TRUE, user cancelled */
int mOrientation; /* Orientation e.g. Portrait */
char mCommand[PATH_MAX]; /* Print command e.g., lpr */
char mPath[PATH_MAX]; /* If toPrinter = PR_FALSE, dest file */

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

@ -407,6 +407,7 @@ NS_IMETHODIMP nsDeviceContextSpecXlib::Init(nsIPrintSettings *aPS,
mToPrinter = !tofile;
mCopies = copies;
mIsPPreview = aIsPrintPreview;
mCancel = PR_FALSE;
}
return rv;

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

@ -101,11 +101,11 @@ public:
protected:
nsCOMPtr<nsIPrintSettings> mPrintSettings;
PRBool mToPrinter : 1; /* If PR_TRUE, print to printer */
PRBool mIsPPreview : 1; /* If PR_TRUE, is print preview */
PRBool mFpf : 1; /* If PR_TRUE, first page first */
PRBool mGrayscale : 1; /* If PR_TRUE, print grayscale */
PRBool mCancel : 1; /* If PR_TRUE, user cancelled */
PRPackedBool mToPrinter : 1; /* If PR_TRUE, print to printer */
PRPackedBool mIsPPreview : 1; /* If PR_TRUE, is print preview */
PRPackedBool mFpf : 1; /* If PR_TRUE, first page first */
PRPackedBool mGrayscale : 1; /* If PR_TRUE, print grayscale */
PRPackedBool mCancel : 1; /* If PR_TRUE, user cancelled */
int mOrientation; /* Orientation e.g. Portrait */
char mCommand[PATH_MAX]; /* Print command e.g., lpr */
char mPath[PATH_MAX]; /* If toPrinter = PR_FALSE, dest file */