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': (5.84645,8.27), 
        'TemplateCategory': r'Avery International', 
        'TemplateDescription': u'Photo Paper Glossy 10 x 15 on A5', 
        'Template': [{
            'CellPosition': (1.0175,1.2475), 
            'CellSize': (3.805,5.775), 
            'ImagePlacement': 2, 
            'ImagePath': r'', 
            'RotationAngle': 0, 
            'ImagePosition': (0,0), 
            'ImageSize': (0,0)
            }]
        }

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

