1<?php
2// $Header: /cvsroot/html2ps/output._generic.ps.class.php,v 1.2 2007/05/07 13:12:07 Konstantin Exp $
3
4class OutputDriverGenericPS extends OutputDriverGeneric {
5  var $language_level;
6  var $image_encoder;
7
8  function content_type() {
9    return ContentType::ps();
10  }
11
12  function &get_image_encoder() {
13    return $this->image_encoder;
14  }
15
16  function get_language_level() {
17    return $this->language_level;
18  }
19
20  function OutputDriverGenericPS($image_encoder) {
21    $this->OutputDriverGeneric();
22
23    $this->set_language_level(2);
24    $this->set_image_encoder($image_encoder);
25  }
26
27  function reset(&$media) {
28    OutputDriverGeneric::reset($media);
29  }
30
31  function set_image_encoder(&$encoder) {
32    $this->image_encoder = $encoder;
33  }
34
35  function set_language_level($version) {
36    $this->language_level = $version;
37  }
38}
39?>