📄 frmprint.frm
字号:
VERSION 5.00
Begin VB.Form frmPrint
BorderStyle = 3 'Fixed Dialog
Caption = "Print Options"
ClientHeight = 4140
ClientLeft = 45
ClientTop = 330
ClientWidth = 4170
Icon = "frmPrint.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4140
ScaleWidth = 4170
ShowInTaskbar = 0 'False
StartUpPosition = 1 'CenterOwner
Begin VB.Frame fraPrinter
Caption = "Printer"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 120
TabIndex = 11
Top = 0
Width = 3975
Begin VB.ComboBox cboPrinter
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 720
Sorted = -1 'True
Style = 2 'Dropdown List
TabIndex = 12
Top = 240
Width = 3135
End
Begin VB.Label lblName
Caption = "Name:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 120
TabIndex = 15
Top = 270
Width = 735
End
End
Begin VB.Frame fraCopies
Caption = "Copies"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1215
Left = 120
TabIndex = 8
Top = 2400
Width = 3975
Begin VB.CheckBox chkCollate
Appearance = 0 'Flat
Caption = "Collate"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 255
Left = 2880
TabIndex = 14
Top = 840
Value = 1 'Checked
Width = 975
End
Begin VB.TextBox txtCopies
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 2880
TabIndex = 10
Text = "1"
Top = 240
Width = 975
End
Begin VB.PictureBox picCopies
AutoRedraw = -1 'True
BorderStyle = 0 'None
BeginProperty Font
Name = "Tahoma"
Size = 6
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 120
ScaleHeight = 855
ScaleWidth = 2055
TabIndex = 9
Top = 240
Width = 2055
End
End
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "&Cancel"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 3120
TabIndex = 1
Top = 3720
Width = 975
End
Begin VB.CommandButton cmdPrint
Caption = "&Print"
Default = -1 'True
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 2040
TabIndex = 0
Top = 3720
Width = 975
End
Begin VB.Frame fraOptions
Caption = "Page Selection"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1455
Left = 120
TabIndex = 2
Top = 840
Width = 3975
Begin VB.TextBox txtStart
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 3000
TabIndex = 16
Top = 630
Width = 855
End
Begin VB.TextBox txtEnd
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 3000
TabIndex = 13
Top = 990
Width = 855
End
Begin VB.OptionButton optPrint
Appearance = 0 'Flat
Caption = "Page Range"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 375
Index = 2
Left = 120
TabIndex = 7
Top = 960
Width = 1215
End
Begin VB.OptionButton optPrint
Appearance = 0 'Flat
Caption = "All Pages"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 375
Index = 1
Left = 120
TabIndex = 4
Top = 600
Width = 1455
End
Begin VB.OptionButton optPrint
Appearance = 0 'Flat
Caption = "Current Page"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 375
Index = 0
Left = 120
TabIndex = 3
Top = 240
Value = -1 'True
Width = 1455
End
Begin VB.Label lblEnd
Caption = "End:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 1920
TabIndex = 18
Top = 1020
Width = 1095
End
Begin VB.Label lblStart
Caption = "Start:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 1920
TabIndex = 17
Top = 660
Width = 1095
End
Begin VB.Label lblStatus
Caption = "Page:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 1920
TabIndex = 6
Top = 300
Width = 495
End
Begin VB.Label lblPages
Alignment = 2 'Center
Caption = "0 / 0"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 3000
TabIndex = 5
Top = 300
Width = 855
End
End
End
Attribute VB_Name = "frmPrint"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' ==============================================================
' Project: Enhance Print object
' Author: edward moth
' Copyright:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -