INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Visual Eiffel Library.", "Win32 API: Printing and Print Spooler Functions"
project: "Visual Eiffel Win32 Library"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: winlib
class WAPI_PRINTING_AND_PRINT_SPOOLER_FUNCTIONS
inherit

WAPI_ERROR_SERVER
end
feature -- Access

AbortDoc (hdc: INTEGER)
-- The 'AbortDoc' procedure stops the current print job and
-- erases everything drawn since the last call to the 'StartDoc' function.
-- This procedure replaces the ABORTDOC printer escape.
require
correct_hdc: hdc /= null_

EndDoc (hdc: INTEGER)
-- The 'EndDoc' procedure ends a print job.
-- This procedure replaces the ENDDOC printer escape.
require
correct_hdc: hdc /= null_

EndPage (hdc: INTEGER)
-- The 'EndPage' procedure informs the device that the application
-- has finished writing to a page. This function is typically used
-- to direct the device driver to advance to a new page.
-- This procedure replaces the NEWFRAME printer escape.
require
correct_hdc: hdc /= null_

Escape (hdc, nescape, cbinput: INTEGER; lpvindata, lpvoutdata: POINTER): INTEGER
-- The 'Escape' function allows applications to access capabilities
-- of a particular device not directly available through GDI. 'Escape'
-- calls made by an application are translated and sent to the driver.

SetAbortProc (hdc: INTEGER; lpabortproc: POINTER)
-- The 'SetAbortProc' procedure sets the application-defined abort
-- function that allows a print job to be canceled during spooling.
-- This procedure replaces the SETABORTPROC printer escape.
require
correct_hdc: hdc /= null_
correct_lpabortproc: lpabortproc /= default_pointer

StartDoc (hdc: INTEGER; lpdi: POINTER): INTEGER
-- The 'StartDoc' function starts a print job.
-- This function replaces the STARTDOC printer escape.
require
correct_hdc: hdc /= null_
correct_lpdi: lpdi /= default_pointer

StartPage (hdc: INTEGER)
-- The 'StartPage' procedure prepares the printer driver to accept data.
require
correct_hdc: hdc /= null_
end -- class WAPI_PRINTING_AND_PRINT_SPOOLER_FUNCTIONS

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES