Commit 6f475608 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

wineps: Remove no longer used NEXTBAND escape.

parent 9adaca0f
...@@ -166,20 +166,6 @@ INT CDECL PSDRV_ExtEscape( PHYSDEV dev, INT nEscape, INT cbInput, LPCVOID in_dat ...@@ -166,20 +166,6 @@ INT CDECL PSDRV_ExtEscape( PHYSDEV dev, INT nEscape, INT cbInput, LPCVOID in_dat
*obi = *ibi; *obi = *ibi;
return 1; return 1;
} }
case NEXTBAND:
{
RECT *r = out_data;
if(!physDev->job.banding) {
physDev->job.banding = TRUE;
SetRect(r, 0, 0, physDev->horzRes, physDev->vertRes);
TRACE("NEXTBAND returning %s\n", wine_dbgstr_rect(r));
return 1;
}
SetRectEmpty(r);
TRACE("NEXTBAND rect to 0,0 - 0,0\n" );
physDev->job.banding = FALSE;
return EndPage( dev->hdc );
}
case SETCOPYCOUNT: case SETCOPYCOUNT:
{ {
...@@ -477,7 +463,6 @@ INT CDECL PSDRV_StartDoc( PHYSDEV dev, const DOCINFOW *doc ) ...@@ -477,7 +463,6 @@ INT CDECL PSDRV_StartDoc( PHYSDEV dev, const DOCINFOW *doc )
return 0; return 0;
} }
physDev->job.banding = FALSE;
physDev->job.OutOfPage = TRUE; physDev->job.OutOfPage = TRUE;
physDev->job.PageNo = 0; physDev->job.PageNo = 0;
physDev->job.quiet = FALSE; physDev->job.quiet = FALSE;
......
...@@ -3217,7 +3217,6 @@ BOOL WINAPI PrintDocumentOnPrintProcessor(HANDLE pp, WCHAR *doc_name) ...@@ -3217,7 +3217,6 @@ BOOL WINAPI PrintDocumentOnPrintProcessor(HANDLE pp, WCHAR *doc_name)
WARN("Failed to write header\n"); WARN("Failed to write header\n");
goto cleanup; goto cleanup;
} }
data->pdev->job.banding = FALSE;
data->pdev->job.OutOfPage = TRUE; data->pdev->job.OutOfPage = TRUE;
data->pdev->job.PageNo = 0; data->pdev->job.PageNo = 0;
data->pdev->job.quiet = FALSE; data->pdev->job.quiet = FALSE;
......
...@@ -353,7 +353,6 @@ typedef struct { ...@@ -353,7 +353,6 @@ typedef struct {
DWORD id; /* Job id */ DWORD id; /* Job id */
HANDLE hprinter; /* Printer handle */ HANDLE hprinter; /* Printer handle */
LPWSTR doc_name; /* Document Name */ LPWSTR doc_name; /* Document Name */
BOOL banding; /* Have we received a NEXTBAND */
BOOL OutOfPage; /* Page header not sent yet */ BOOL OutOfPage; /* Page header not sent yet */
INT PageNo; INT PageNo;
BOOL quiet; /* Don't actually output anything */ BOOL quiet; /* Don't actually output anything */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment