* src/docgen/LPRDoc.py (do_print): Typos.

svn: r3012
This commit is contained in:
Alex Roitman 2004-03-15 23:00:36 +00:00
parent 6d202049ba
commit 07c943cc0e
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
2004-03-15 Alex Roitman <shura@alex.neuro.umn.edu>
* src/docgen/LPRDoc.py (do_print): Typos.
2004-03-12 Alex Roitman <shura@alex.neuro.umn.edu>
* src/docgen/LPRDoc.py: Add number of copies and page range
selection options to a dialog. Remove all these "__" from var names.

View File

@ -1119,9 +1119,9 @@ class LPRDoc(BaseDoc.BaseDoc):
#function to print text to a printer
def do_print(self,dialog,job):
ggpc = gnomeprint.Context(dialog.get_config())
job.render(ggpc)
gpc.close()
self.gpc = gnomeprint.Context(dialog.get_config())
job.render(self.gpc)
self.gpc.close()
#I believe this is a print preview
def show_preview(self,dialog):