/
PaperSourceKind.cs
79 lines (63 loc) · 1.91 KB
/
PaperSourceKind.cs
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
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Drawing.Printing;
/// <summary>
/// Standard paper sources.
/// </summary>
public enum PaperSourceKind
{
// Please keep these in SafeNativeMethods.cs order
/// <summary>
/// The upper bin of a printer (or, if the printer only has one bin, the only bin).
/// </summary>
Upper = SafeNativeMethods.DMBIN_UPPER,
/// <summary>
/// The lower bin of a printer.
/// </summary>
Lower = SafeNativeMethods.DMBIN_LOWER,
/// <summary>
/// The middle bin of a printer.
/// </summary>
Middle = SafeNativeMethods.DMBIN_MIDDLE,
/// <summary>
/// Manually-fed paper.
/// </summary>
Manual = SafeNativeMethods.DMBIN_MANUAL,
/// <summary>
/// An envelope.
/// </summary>
Envelope = SafeNativeMethods.DMBIN_ENVELOPE,
/// <summary>
/// A manually-fed envelope.
/// </summary>
ManualFeed = SafeNativeMethods.DMBIN_ENVMANUAL,
/// <summary>
/// Automatic-fed paper.
/// </summary>
AutomaticFeed = SafeNativeMethods.DMBIN_AUTO,
/// <summary>
/// A tractor feed.
/// </summary>
TractorFeed = SafeNativeMethods.DMBIN_TRACTOR,
/// <summary>
/// Small-format paper.
/// </summary>
SmallFormat = SafeNativeMethods.DMBIN_SMALLFMT,
/// <summary>
/// Large-format paper.
/// </summary>
LargeFormat = SafeNativeMethods.DMBIN_LARGEFMT,
/// <summary>
/// A large-capacity bin printer.
/// </summary>
LargeCapacity = SafeNativeMethods.DMBIN_LARGECAPACITY,
/// <summary>
/// A paper cassette.
/// </summary>
Cassette = SafeNativeMethods.DMBIN_CASSETTE,
FormSource = SafeNativeMethods.DMBIN_FORMSOURCE,
/// <summary>
/// A printer-specific paper source.
/// </summary>
Custom = SafeNativeMethods.DMBIN_USER + 1,
}