Home › Forums › Knowledge Base › Legacy Applications › File Display Utility
- This topic has 0 replies, 1 voice, and was last updated 19 years ago by
Rob.
-
AuthorPosts
-
April 14, 2006 at 10:49 pm #1550
Rob
MemberFile Display Utility
FDisplay 1.0Last edited: December 15, 2003 08:08 AM
File Display is a simple utility that can monitor a file for input, then display the contents of the file to the screen, scrolling text as needed. It is designed to be used as a system monitor, displaying TouchPro activity as it occurs through the next work. It can be run as a dedicated program in DOS, displaying to a screen posted in a security monitoring area, or as a window in a Windows98 environment, allowing a manager to observe what is occurring on the workstations from the office or another location.
[color=red:2qi5ctrw][u:2qi5ctrw][b:2qi5ctrw]Download File Display[/b:2qi5ctrw][/u:2qi5ctrw][/color:2qi5ctrw][/url:2qi5ctrw]Syntax
FDisplay /InFile=file {/NoSpace}
file = the relative or exact path and filename
ex: /InFile=N:TOUCHNETJOESDATADISPLAY.PRN
/InFile=DATADISPLAY.PRN/NoSpace = Causes blank lines to be excluded from the display.
Installation1. Place the executable in the Tools directory on the TMCU.
2. Define a file in Printer Definitions that will be monitored by FDisplay.
3. Create printer templates that will output the information desired by the customer.
4. Style Do Template and Print to commands into the program at whatever points in the application that you want the manager to be notified of activity.
5. If the program is going to run continuously on a DOS station, add FDisplay to the Autoexec.Bat file using the Syntax detailed in the previous section. If this will be run in Windows, make an icon or menu listing and place it in the desired directory.Technical
FDisplay polls every five seconds, looking for the file defined by the /InFile command line switch. If it finds the file and it contains data, the file is read then erased. The file is then displayed on the screen ‘as is’. A PRN file located in the Data subdirectory will most commonly be the file polled. The file name will match the name defined in Printer Definitions. As a safety, if there is more than 8K of data in the file when polled, the file will be erased without being read. This prevents the possibility of an overflow error occurring if data was being posted to the file at a time when FDisplay was not running.
It is anticipated that most installations of FDisplay will include custom styling to provide the specific output desired by the customer. However, a simple implementation would be to send guest check and or prep ticket images to FDisplay in addition to their intended printer. The /NoSpace switch facilitates this by eliminating all the blank lines and allowing the check to be displayed without prematurely scrolling off the screen.
FDisplay will normally be run indefinitely. However, the program can be terminated by pressing F10 on the keyboard.
Revisions12/23/98 Version 1.0
1. Initial release.
-
AuthorPosts
- You must be logged in to reply to this topic.