(self, filename = None, **kargs)
Creates a multipage poscript file with a psdump of every packet
        filename: name of the file to write to. If empty, a temporary file is used and
                  conf.prog.psreader is called
Creates a multipage poscript file with a psdump of every packet
        filename: name of the file to write to. If empty, a temporary file is used and
                  conf.prog.psreader is called
Creates a multipage poscript file with a psdump of every packet filename : name of the file to write to . If empty a temporary file is used and conf . prog . psreader is called
def psdump(self, filename = None, **kargs):
        """Creates a multipage poscript file with a psdump of every packet
        filename: name of the file to write to. If empty, a temporary file is used and
                  conf.prog.psreader is called"""
        d = self._dump_document(**kargs)
        if filename is None:
            filename = get_temp_file(autoext=".ps")
            d.writePSfile(filename)
            subprocess.Popen([conf.prog.psreader, filename+".ps"])
        else:
            d.writePSfile(filename)
        print
def psdump ( self , filename = None , * * kargs ) : d = self . _dump_document ( * * kargs ) if filename is None : filename = get_temp_file ( autoext = ".ps" ) d . writePSfile ( filename ) subprocess . Popen ( [ conf . prog . psreader , filename + ".ps" ] ) else : d . writePSfile ( filename ) print