parameters: (self)
docstring: Called once before a print job is started to set up any defaults.
docstring_summary: Called once before a print job is started to set up any defaults.
docstring_tokens: Called once before a print job is started to set up any defaults .
function: def OnPreparePrinting(self):
          """Called once before a print job is started to set up any defaults.
          
          """
          dc = self.GetDC()
          self._calculateScale(dc)
          self._calculatePageCount()
function_tokens: def OnPreparePrinting ( self ) : dc = self . GetDC ( ) self . _calculateScale ( dc ) self . _calculatePageCount ( )