2025-01-08 17:02:29 -06:00
|
|
|
|
2025-01-08 20:49:37 -06:00
|
|
|
# Cmdproc-2 Form Documentation
|
2025-01-08 17:02:29 -06:00
|
|
|
|
2025-01-08 20:49:37 -06:00
|
|
|
## Overview
|
|
|
|
This is a Visual Basic form application for handling queue test messages and file operations.
|
2025-01-08 17:02:29 -06:00
|
|
|
|
2025-01-08 20:49:37 -06:00
|
|
|
## Form Controls
|
|
|
|
- **Status Bar** - Displays current operation status
|
|
|
|
- **Command Buttons**:
|
|
|
|
- PrintText - Generates text print command
|
|
|
|
- Move Ref - Generates reference move command
|
|
|
|
- Wire Diag - Generates wire diagram command
|
|
|
|
- Send Command - Sends the generated command
|
|
|
|
- Cancel - Hides the form
|
|
|
|
- Move Back/In/Out - File movement commands
|
|
|
|
- Print File - Generates print command
|
2025-01-08 17:02:29 -06:00
|
|
|
|
2025-01-08 20:49:37 -06:00
|
|
|
## Input Fields
|
|
|
|
- **User Name** - Username for operations (default: FEDUCIA)
|
|
|
|
- **File To Act On** - Target file identifier
|
|
|
|
- **Printer Name** - Output printer selection
|
|
|
|
- **Command Text** - Generated command string
|
2025-01-08 17:02:29 -06:00
|
|
|
|
2025-01-08 20:49:37 -06:00
|
|
|
## Command Format
|
|
|
|
Commands are generated with the following formats:
|
2025-01-08 17:02:29 -06:00
|
|
|
|
2025-01-08 20:49:37 -06:00
|
|
|
### Print/Wire Commands (P,W)
|
2025-01-08 17:02:29 -06:00
|
|
|
|
2025-01-08 20:49:37 -06:00
|
|
|
[P/W][Part(8)][Printer(10)][Banner(10)][Date(14)][ProductNo(15)][Type(1)]
|
2025-01-08 17:02:29 -06:00
|
|
|
|
|
|
|
|
2025-01-08 20:49:37 -06:00
|
|
|
### Move Commands (I,O,B,R)
|
2025-01-08 17:02:29 -06:00
|
|
|
|
2025-01-08 20:49:37 -06:00
|
|
|
[Command][Part(8)][ProductNo(15)][Banner(10)][Part(8)][Date(14)]
|
2025-01-08 17:02:29 -06:00
|
|
|
|
|
|
|
|
2025-01-08 20:49:37 -06:00
|
|
|
### IE Move Command (E)
|
2025-01-08 17:02:29 -06:00
|
|
|
|
2025-01-08 20:49:37 -06:00
|
|
|
[E][Part(8)][ProductNo(15)][Banner(10)][IEDir(10)][Date(14)]
|
2025-01-08 17:02:29 -06:00
|
|
|
|
2025-01-08 20:49:37 -06:00
|
|
|
|
|
|
|
### Text Print Command (T)
|
|
|
|
|
|
|
|
[T][Part(10)][Printer(10)]
|
|
|
|
|
|
|
|
|
|
|
|
## Key Functions
|
|
|
|
- `MakeCmd$()` - Generates formatted command strings
|
|
|
|
- Command processing via INCOME file
|
|
|
|
- Printer list management
|
|
|
|
- Date/time stamping of operations
|