Professional Documents
Culture Documents
1
EasyPrinter
Chapter 26 EasyPrinter
EasyPrinter is a Win32 application and can only run on MS Windows 2000, XP, and Vista.
It enables MT8000 Series to output screen hardcopies to a remote PC via Ethernet.
Please see the following illustration:
Additionally, EasyPrinter can also be a backup server. Users can use backup objects in
MT8000 HMI to copy history files such as Data-Sampling and Event-Log histories onto a
remote PC via Ethernet. Please see the following illustration:
2
EasyPrinter
Users can make screen hardcopies with a [Function Key] object. The hardcopies will be
transferred to the MT Remote Printer Server via Ethernet and then printed out.
3
EasyPrinter
Click [Hardcopy] tab on the left side in the dialogue box as follows:
4. In [Output], select [Print out to] and choose a printer as the output device
for screen hardcopies. (Note: Users can only choose from the printers
available in their system, so it is possible that “hp LaserJet 3380 PCL 5” can’t
be found in the list as the example.)
5. Click [OK] to apply the settings.
6. In [Menu] Î [File], select [Enable Output] to allow EasyPrinter to output
any incoming print request, i.e. screen hardcopy.
In [Menu] Î [Edit] Î [System Parameters], click [Printer Server] tab and select [Use
MT Remote Printer Server], the following dialogue appears:
4
EasyPrinter
9. Place the [Function Key] object in the common window (window no. 4), and
users will be able to make screen hardcopies anytime when needed.
10. [Compile] and [download] project to MT8000 HMI. Press the [Function
Key] object set in step 9 to make a screen hardcopy.
5
EasyPrinter
z Users can also use a [PLC Control] object to make screen hardcopies.
z Users cannot print alarm information via EasyPrinter.
z EasyPrinter can only communicate with HMI via Ethernet, so this feature is
unavailable in MT6000 Series.
6
EasyPrinter
Users can upload historical data such as Data-Sampling and Event-Log history files onto
MT remote backup server with [Backup] objects.
7
EasyPrinter
4. In [Output], click the button to browse and select a path for storage of
the incoming history files.
5. Click [OK] to apply the settings.
6. In [Menu] Î [File], select [Enable Output] to allow EasyPrinter to store any
incoming backup request in the location specified in step 4.
In [Menu] Î [Edit] Î [System Parameters], click [Printer Server] tab and select [Use
MT Remote Printer Server], the following dialogue appears:
8
EasyPrinter
9
EasyPrinter
10
EasyPrinter
26.3.1 Appearance
11
EasyPrinter
The following tables describe the meaning and explain how to use all EasyPrinter menu
items.
12
EasyPrinter
MenuÆOptions Description
Toolbars To show or hide toolbars.
Status Bar To show or hide the status bar.
Settings Configuration for EasyPrinter. Please refer to the following
illustrations:
[General]
13
EasyPrinter
14
EasyPrinter
[Hardcopy]
z [Output]
EasyPrinter provides two modes to output hardcopy
results: Print-Out and Save-to-File.
a. Print-Out
Select this option to inform EasyPrinter to print out the
hardcopy result with specified printers.
b. Save-to-File
Select this option to inform EasyPrinter to convert the
hardcopy result into a bitmap file and save it in the
specified directory. Users can find the bitmap files at:
[Specified Path] Æ
[HMI Folder] Æ
yymmdd_hhmm.bmp
[Backup]
15
EasyPrinter
z [Output]
EasyPrinter stores the backup files to the specified path.
For Recipe:
[Specified Path] Æ
[HMI Folder] Æ
[recipe] Æ
recipe.rcp or recipe_a.rcp
16
EasyPrinter
As shown in the illustration above, the conversion is actually carried out by EasyConverter.
EasyPrinter simply follows the criteria in Convert Batch File and activates EasyConverter
with proper arguments to achieve the conversion.
The following is the default Convert Batch File included in the EasyBuilder 8000 software
package:
There are two lines of text in the file. Each line has two arguments separated by a comma
and forms a criterion of how to deal with a specific type of files, e.g. Data-Sampling and
Event-Log history files. The first argument specifies the extension name for the type of the
files to be processed and the second one specifies the exact command to execute in
17
EasyPrinter
console mode. Please note “$(PathName)” is a key word to tell EasyPrinter to replace it
with the real name of the backup file in conversion. For example, if a Data-Sampling
history file named 20090112.dtl is uploaded and stored, EasyPrinter will send out the
following command to a console window:
EasyConverter /c 20090112.dtl
z Actually, the “$(PathName)” in the second argument stands for the full path
name of the file. In the previous case, EasyPrinter replaces it with:
[Specified Path] \ [HMI Folder] \ [datalog] \
[Folder name of the Data-Sampling object] \ 20090112.dtl
z EasyPrinter interprets the Convert Batch File on a line basis, i.e. each line
forms a criterion.
z Any two arguments should be separated by a comma.
z Every argument should be put in double quotes.
z Do not put any comma inside an argument.
z For further information about how to use EasyConverter, please refer to the
“chapter25 Easy Converter”.
Sometimes users may need a special handling for the files uploaded from a specific HMI.
Here is an example:
18
EasyPrinter
The 5th criterion can only be performed on the history files uploaded from the
[Data Sampling] objects with the folder name “Voltage”. The 3rd argument (“*”)
indicates this criterion accepts the qualified Data-Sampling files from any HMI.
Users can also change the 3rd argument to “192.168.1.26”, “192.168.1.*”, HMI
name, etc. for narrowing the target HMI.
EasyPrinter examines criteria in ascending order every time a file is uploaded. Once the
file is qualified for a criterion, it stops the examination and starts over for next file.
Therefore, users should place the criteria with more specification upward in the Convert
Batch File and place the less-specific criteria downward. Take the 5 criteria mentioned in
the previous sections for example, the correct order is:
19
EasyPrinter
20