function reset(&$media)
 {
     OutputDriverGenericPS::reset($media);
     $this->media =& $media;
     $this->data = fopen($this->get_filename(), "wb");
     // List of fonts names which already had generated findfond PS code
     $this->found_fonts = array();
     $this->used_encodings = array();
     $this->overline = false;
     $this->underline = false;
     $this->linethrough = false;
     // A font class factory
     $this->font_factory =& new FontFactory();
     $this->_document_body = '';
     $this->_document_prolog = '';
     $this->status = FASTPS_STATUS_DOCUMENT_INITIALIZED;
 }
 function reset(&$media)
 {
     OutputDriverGenericPS::reset($media);
     $this->media =& $media;
     $this->data = fopen($this->get_filename(), "wb");
     // List of fonts names which already had generated findfond PS code
     $this->found_fonts = array();
     $this->used_encodings = array();
     $this->overline = false;
     $this->underline = false;
     $this->linethrough = false;
     // A font class factory
     $this->font_factory = new FontFactory();
     $this->current_page = 1;
     $this->_document_body = "";
     $this->_document_prolog = "";
 }