summaryrefslogtreecommitdiff
path: root/print/v4PrintDriverSamples/v4PrintDriver-ConstraintScript/v4PrintDriver-Intellisense-Windows8.1.js
blob: bbbc31a01e3e6b76099a6b051373ef58e9ba678c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/// <reference path="v4PrintDriver-Intellisense.js" />

v4PrintDriverIntellisense.appendInterfaceMethods(
    IPrintSchemaTicket,
    {
        GetParameterInitializer: function (name, namespaceUri) {
            /// <summary>
            /// Method maps to COM IPrintSchemaTicket2::GetParameterInitializer.
            /// </summary>
            /// <param name="name" type="String" />
            /// <param name="namespaceUri" type="String" />
            /// <returns type="IPrintSchemaParameterInitializer" />
        }
    });

v4PrintDriverIntellisense.appendInterfaceMethods(
    IPrintSchemaCapabilities,
    {
        GetParameterDefinition: function (name, namespaceUri) {
            /// <summary>
            /// Method maps to COM IPrintSchemaCapabilities2::GetParameterDefinition.
            /// </summary>
            /// <param name="name" type="String" />
            /// <param name="namespaceUri" type="String" />
            /// <returns type="IPrintSchemaParameterDefinition" />
        }
    });

IPrintSchemaParameterInitializer = function () { }
v4PrintDriverIntellisense.createInterface(
    IPrintSchemaParameterInitializer,
    IPrintSchemaElement,
    {
        /// <field name="Value" type="String/Number">
        /// Property-get/set maps to COM IPrintSchemaParameterInitializer::Value.
        /// </field>
        Value: null,
    });

IPrintSchemaParameterDefinition = function () { }
v4PrintDriverIntellisense.createInterface(
    IPrintSchemaParameterDefinition,
    IPrintSchemaDisplayableElement,
    {
        /// <field name="UserInputRequired" type="Boolean">
        /// Property-get maps to COM IPrintSchemaParameterDefinition::UserInputRequired.
        /// </field>
        UserInputRequired: null,
        /// <field name="UnitType" type="String">
        /// Property-get maps to COM IPrintSchemaParameterDefinition::UnitType.
        /// </field>
        UnitType: null,
        /// <field name="DataType" type="PrintSchemaParameterDataType">
        /// Property-get maps to COM IPrintSchemaParameterDefinition::DataType.
        /// </field>
        DataType: null,
        /// <field name="RangeMin" type="Number">
        /// Property-get maps to COM IPrintSchemaParameterDefinition::RangeMin.
        /// </field>
        RangeMin: null,
        /// <field name="RangeMax" type="Number">
        /// Property-get maps to COM IPrintSchemaParameterDefinition::RangeMax.
        /// </field>
        RangeMax: null
    });

IPrinterScriptUsbJobContextReturnCodes = function () { }
v4PrintDriverIntellisense.createInterface(
    IPrinterScriptUsbJobContextReturnCodes,
    null,
    {
        /// <field name="Success" type="Number" integer="true">
        /// Property-get maps to COM IPrinterScriptUsbJobContextReturnCodes::Success.
        /// </field>
        Success: null,
        /// <field name="Failure" type="Number" integer="true">
        /// Property-get maps to COM IPrinterScriptUsbJobContextReturnCodes::Failure.
        /// </field>
        Failure: null,
        /// <field name="Retry" type="Number" integer="true">
        /// Property-get maps to COM IPrinterScriptUsbJobContextReturnCodes::Retry.
        /// </field>
        Retry: null,
        /// <field name="DeviceBusy" type="Number" integer="true">
        /// Property-get maps to COM IPrinterScriptUsbJobContextReturnCodes::DeviceBusy.
        /// </field>
        DeviceBusy: null,
        /// <field name="AbortTheJob" type="Number" integer="true">
        /// Property-get maps to COM IPrinterScriptUsbJobContextReturnCodes::AbortTheJob.
        /// </field>
        AbortTheJob: null
    });

IPrinterScriptUsbWritePrintDataProgress = function () { }
v4PrintDriverIntellisense.createInterface(
    IPrinterScriptUsbWritePrintDataProgress,
    null,
    {
        /// <field name="ProcessedByteCount" type="Number">
        /// Property-get/set maps to COM IPrinterScriptUsbWritePrintDataProgress::ProcessedByteCount.
        /// </field>
        ProcessedByteCount: null
    });

IPrinterScriptUsbJobContext = function () { }
v4PrintDriverIntellisense.createInterface(
    IPrinterScriptUsbJobContext,
    null,
    {
        /// <field name="JobPropertyBag" type="IPrinterScriptablePropertyBag">
        /// Property-get maps to COM IPrinterScriptUsbJobContext::JobPropertyBag.
        /// </field>
        JobPropertyBag: null,
        /// <field name="ReturnCodes" type="IPrinterScriptUsbJobContextReturnCodes">
        /// Property-get maps to COM IPrinterScriptUsbJobContext::ReturnCodes.
        /// </field>
        ReturnCodes: null,
        /// <field name="TemporaryStreams" type="Array">
        /// Property-get maps to COM IPrinterScriptUsbJobContext::TemporaryStreams. Provides an array of IPrinterScriptableSequentialStream.
        /// </field>
        TemporaryStreams: null,
        /// <field name="PrintedPageCount" type="Number">
        /// Property-get/set maps to COM IPrinterScriptUsbJobContext::PrintedPageCount.
        /// </field>
        PrintedPageCount: null
    });