from JascApp import *

def ScriptProperties():
    return {
        'Author': u'Jasc Software, Inc.',
        'Copyright': u'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
        'Description': '',
        'Host': u'Paint Shop Pro',
        'Host Version': u'8.00'
        }

def MIPTemplate_Print():
    return {
        'PrintingOptions': {
            'PrinterName': None, 
            'Orientation': 0, 
            'NumCopies': 1, 
            'Negative': App.Constants.Boolean.false, 
            'Background': App.Constants.Boolean.false, 
            'BackgroundColor': (255,255,255), 
            'OutputOption': 0, 
            'CornerCropmarks': App.Constants.Boolean.false, 
            'CenterCropmarks': App.Constants.Boolean.false, 
            'RegistrationMarks': App.Constants.Boolean.false, 
            'ImageLabels': App.Constants.Boolean.false, 
            'Header': App.Constants.Boolean.false, 
            'HeaderText': '', 
            'Footer': App.Constants.Boolean.false, 
            'FooterText': '', 
            'CMYKLabels': App.Constants.Boolean.false, 
            'PrintQuality': 200, 
            'PaperSize': 1, 
            'DriverExtra': """"""
            }, 
        'MIPCmdFile': '', 
        'TemplateMetric': App.Constants.Boolean.false, 
        'PageDimensions': (8.5,11), 
        'TemplateCategory': 'Combinations', 
        'TemplateDescription': u'Combination of (2) 3.5" x 5", (2) 3" x 2.5", and (4) 1.5" x 2"', 
        'Template': [{
            'CellPosition': (0.489232,0.404669), 
            'CellSize': (5,3.5), 
            'ImagePlacement': 0, 
            'ImagePath': '', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (5.92411,0.408903), 
            'CellSize': (2,1.5), 
            'ImagePlacement': 0, 
            'ImagePath': '', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (5.94017,2.09528), 
            'CellSize': (2,1.5), 
            'ImagePlacement': 0, 
            'ImagePath': '', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (5.94017,3.78166), 
            'CellSize': (2,1.5), 
            'ImagePlacement': 0, 
            'ImagePath': '', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (0.489232,4.0344), 
            'CellSize': (5,3.5), 
            'ImagePlacement': 0, 
            'ImagePath': '', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (5.94017,5.4841), 
            'CellSize': (2,1.5), 
            'ImagePlacement': 0, 
            'ImagePath': '', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (0.54862,7.77867), 
            'CellSize': (3.5,2.5), 
            'ImagePlacement': 0, 
            'ImagePath': '', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (4.25865,7.77867), 
            'CellSize': (3.5,2.5), 
            'ImagePlacement': 0, 
            'ImagePath': '', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            }]
        }

def Do(Environment):
    App.Do( Environment, 'Print',         MIPTemplate_Print())

