- indexing
- title: "printer support class"
- project: "Visual Eiffel"
- revision: "$Revision: 1.1 $"
- copyright: "Copyright (C) 1996-2005 Object Tools Group"
- license: "http://visual-eiffel.com/license"
- cluster: grape
class PRINTER
- creation
- make,
- make_default
- feature
-
PORTRAIT: INTEGER
-
LANDSCAPE: INTEGER
-
number_of_copies, from_page, to_page: INTEGER
-
collate_copies: BOOLEAN
-
make (p_device: PRINTING_DEVICE)
-
- require
-
valid_printing_device:
p_device /= void
-
initialized_device:
p_device.is_initialized =
true
-
make_default
-
close
-
set_printable_object (p_printable: PRINTABLE_OBJECT)
-
- require
-
p_printable /= void
-
get_printable_object: PRINTABLE_OBJECT
-
get_printer_gc: PRINTER_GRAPHICS_CONTEXT
-
get_printing_device: PRINTING_DEVICE
-
get_default_printing_device: PRINTING_DEVICE
-
set_orientation (p_orientation: INTEGER)
-
- require
-
valid_orientation:
p_orientation = portrait or p_orientation = landscape
-
orientation: INTEGER
-
set_number_of_copies (p_copies: INTEGER)
-
- require
-
valid_number_of_copies:
1 <= p_copies
-
set_range_of_pages (p_from, p_to: INTEGER)
-
set_collate_copies (p_flag: BOOLEAN)
-
print_document (p_document_name: STRING)
-
modify_device
end -- class PRINTER