-
Notifications
You must be signed in to change notification settings - Fork 950
/
PaperSourceKind.cs
77 lines (62 loc) · 1.81 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
// 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
{
/// <summary>
/// The upper bin of a printer (or, if the printer only has one bin, the only bin).
/// </summary>
Upper = (int)PInvoke.DMBIN_UPPER,
/// <summary>
/// The lower bin of a printer.
/// </summary>
Lower = (int)PInvoke.DMBIN_LOWER,
/// <summary>
/// The middle bin of a printer.
/// </summary>
Middle = (int)PInvoke.DMBIN_MIDDLE,
/// <summary>
/// Manually-fed paper.
/// </summary>
Manual = (int)PInvoke.DMBIN_MANUAL,
/// <summary>
/// An envelope.
/// </summary>
Envelope = (int)PInvoke.DMBIN_ENVELOPE,
/// <summary>
/// A manually-fed envelope.
/// </summary>
ManualFeed = (int)PInvoke.DMBIN_ENVMANUAL,
/// <summary>
/// Automatic-fed paper.
/// </summary>
AutomaticFeed = (int)PInvoke.DMBIN_AUTO,
/// <summary>
/// A tractor feed.
/// </summary>
TractorFeed = (int)PInvoke.DMBIN_TRACTOR,
/// <summary>
/// Small-format paper.
/// </summary>
SmallFormat = (int)PInvoke.DMBIN_SMALLFMT,
/// <summary>
/// Large-format paper.
/// </summary>
LargeFormat = (int)PInvoke.DMBIN_LARGEFMT,
/// <summary>
/// A large-capacity bin printer.
/// </summary>
LargeCapacity = (int)PInvoke.DMBIN_LARGECAPACITY,
/// <summary>
/// A paper cassette.
/// </summary>
Cassette = (int)PInvoke.DMBIN_CASSETTE,
FormSource = (int)PInvoke.DMBIN_FORMSOURCE,
/// <summary>
/// A printer-specific paper source.
/// </summary>
Custom = (int)PInvoke.DMBIN_USER + 1,
}