* src/docgen/LPRDoc.py (do_print): Typos.
svn: r3012
This commit is contained in:
parent
6d202049ba
commit
07c943cc0e
@ -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>
|
2004-03-12 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||||
* src/docgen/LPRDoc.py: Add number of copies and page range
|
* src/docgen/LPRDoc.py: Add number of copies and page range
|
||||||
selection options to a dialog. Remove all these "__" from var names.
|
selection options to a dialog. Remove all these "__" from var names.
|
||||||
|
@ -1119,9 +1119,9 @@ class LPRDoc(BaseDoc.BaseDoc):
|
|||||||
|
|
||||||
#function to print text to a printer
|
#function to print text to a printer
|
||||||
def do_print(self,dialog,job):
|
def do_print(self,dialog,job):
|
||||||
ggpc = gnomeprint.Context(dialog.get_config())
|
self.gpc = gnomeprint.Context(dialog.get_config())
|
||||||
job.render(ggpc)
|
job.render(self.gpc)
|
||||||
gpc.close()
|
self.gpc.close()
|
||||||
|
|
||||||
#I believe this is a print preview
|
#I believe this is a print preview
|
||||||
def show_preview(self,dialog):
|
def show_preview(self,dialog):
|
||||||
|
Loading…
Reference in New Issue
Block a user