⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 printcom1.dfm

📁 思微POS连锁超市管理系统 (商业代码),几年前的东西了
💻 DFM
字号:
object dy: Tdy
  Left = 373
  Top = 40
  BorderIcons = [biSystemMenu]
  BorderStyle = bsSingle
  Caption = '打印机测试例程  '
  ClientHeight = 237
  ClientWidth = 432
  Color = clBtnFace
  Font.Charset = GB2312_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = '宋体'
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 12
  object Label1: TLabel
    Left = 32
    Top = 8
    Width = 65
    Height = 16
    Caption = '打印机端口'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object Label2: TLabel
    Left = 160
    Top = 56
    Width = 52
    Height = 16
    Caption = '打印内容'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object Label3: TLabel
    Left = 32
    Top = 56
    Width = 65
    Height = 16
    Caption = '打印机型号'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object Label4: TLabel
    Left = 160
    Top = 8
    Width = 95
    Height = 16
    Caption = '进纸/微进纸行数'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object Label5: TLabel
    Left = 160
    Top = 104
    Width = 52
    Height = 16
    Caption = '切纸方式'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object Label6: TLabel
    Left = 32
    Top = 104
    Width = 52
    Height = 16
    Caption = '打印颜色'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object Label7: TLabel
    Left = 32
    Top = 160
    Width = 60
    Height = 12
    Caption = '顾客显示屏'
  end
  object ComboBox1: TComboBox
    Left = 32
    Top = 24
    Width = 121
    Height = 20
    Style = csDropDownList
    ImeName = '智能ABC输入法'
    ItemHeight = 12
    TabOrder = 0
    OnChange = PortChange
    Items.Strings = (
      'LPT1'
      'LPT2'
      'COM1'
      'COM2'
      'COM3'
      'COM4')
  end
  object Init: TButton
    Left = 336
    Top = 8
    Width = 75
    Height = 25
    Caption = '初始化'
    TabOrder = 1
    OnClick = InitClick
  end
  object FeedLines: TButton
    Left = 336
    Top = 42
    Width = 75
    Height = 25
    Caption = '进纸'
    TabOrder = 2
    OnClick = FeedLinesClick
  end
  object Button1: TButton
    Left = 336
    Top = 110
    Width = 75
    Height = 25
    Caption = '打印'
    TabOrder = 3
    OnClick = Button1Click
  end
  object MicroFeed: TButton
    Left = 336
    Top = 76
    Width = 75
    Height = 25
    Caption = '微进纸'
    TabOrder = 4
    OnClick = MicroFeedClick
  end
  object Button2: TButton
    Left = 336
    Top = 144
    Width = 75
    Height = 25
    Caption = '切纸'
    Enabled = False
    TabOrder = 5
    OnClick = Button2Click
  end
  object ComboBox2: TComboBox
    Left = 32
    Top = 72
    Width = 121
    Height = 20
    Style = csDropDownList
    ImeName = '智能ABC输入法'
    ItemHeight = 12
    TabOrder = 6
    OnChange = PrnTypeChange
    Items.Strings = (
      'HK110D'
      'HKP600T'
      'ADP300'
      'HK588TP'
      'TM300K'
      'TM210D'
      'TM210P')
  end
  object Edit2: TEdit
    Left = 160
    Top = 24
    Width = 57
    Height = 20
    ImeName = '智能ABC输入法'
    TabOrder = 7
    Text = '1'
  end
  object Edit1: TEdit
    Left = 160
    Top = 72
    Width = 153
    Height = 20
    ImeName = '智能ABC输入法'
    TabOrder = 8
    Text = 'TEST PRINTER 测试打印机'
  end
  object CutMode: TComboBox
    Left = 160
    Top = 120
    Width = 73
    Height = 20
    Style = csDropDownList
    Enabled = False
    ItemHeight = 12
    TabOrder = 9
    Items.Strings = (
      '部分切纸'
      '全切纸')
  end
  object Color: TComboBox
    Left = 32
    Top = 120
    Width = 73
    Height = 20
    Style = csDropDownList
    Enabled = False
    ItemHeight = 12
    TabOrder = 10
    Items.Strings = (
      '黑'
      '红')
  end
  object Button6: TButton
    Left = 128
    Top = 184
    Width = 41
    Height = 25
    Caption = '清屏'
    TabOrder = 11
    OnClick = Button6Click
  end
  object Button5: TButton
    Left = 80
    Top = 184
    Width = 41
    Height = 25
    Caption = '发送'
    TabOrder = 12
    OnClick = Button5Click
  end
  object Button4: TButton
    Left = 32
    Top = 184
    Width = 41
    Height = 25
    Caption = '初始化'
    TabOrder = 13
    OnClick = Button4Click
  end
  object Button3: TButton
    Left = 336
    Top = 176
    Width = 75
    Height = 25
    Caption = '保存'
    TabOrder = 14
    OnClick = Button3Click
  end
  object BitBtn1: TBitBtn
    Left = 336
    Top = 208
    Width = 75
    Height = 25
    Caption = '退出'
    ModalResult = 2
    TabOrder = 15
  end
  object ComboBox3: TComboBox
    Left = 104
    Top = 152
    Width = 57
    Height = 20
    Style = csDropDownList
    ItemHeight = 12
    TabOrder = 16
    OnChange = ComboBox3Change
    Items.Strings = (
      'COM1'
      'COM2')
  end
  object VSSComm321: TVSSComm32
    CommPort = Com2
    BaudRate = ___9600
    Parity = None
    DataBits = _8
    StopBits = _1
    Left = 184
    Top = 184
  end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -