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.01'
        }

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': r'', 
            'Footer': App.Constants.Boolean.false, 
            'FooterText': r'', 
            'CMYKLabels': App.Constants.Boolean.false, 
            'PrintQuality': 200, 
            'PaperSize': 1
            }, 
        'MIPCmdFile': r'', 
        'TemplateMetric': App.Constants.Boolean.false, 
        'PageDimensions': (8.5,11), 
        'TemplateCategory': r'Avery International', 
        'TemplateDescription': u'Photo Quality Label (25 per page)', 
        'Template': [{
            'CellPosition': (0.6675,1.1875), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (0.6675,3.1575), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (0.6675,5.1275), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (0.6675,7.0975), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (0.6675,9.0675), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (2.1475,1.1875), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (2.1475,3.1575), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (2.1475,5.1275), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (2.1475,7.0975), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (2.1475,9.0675), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (3.6275,1.1875), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (3.6275,3.1575), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (3.6275,5.1275), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (3.6275,7.0975), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (3.6275,9.0675), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (5.1075,1.1875), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (5.1075,3.1575), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (5.1075,5.1275), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (5.1075,7.0975), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (5.1075,9.0675), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (6.5875,1.1875), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (6.5875,3.1575), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (6.5875,5.1275), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (6.5875,7.0975), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            },{
            'CellPosition': (6.5875,9.0675), 
            'CellSize': (1.045,1.435), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            }]
        }

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

