ការណែនាំអំពីកម្មវិធីម៉ាស៊ីនព្រីនងាយស្រួល WINTEK Win32

Easy Printer
This chapter explains the setup steps of Easy Printer.
ជាងview
Easy Printer is a Win32 application and can only run on MS Windows 7 SP1 / 8 / 10. It enables HMI to output screen hardcopies to a remote PC via Ethernet. The following explains how to use EasyPrinter.

នេះគឺជា Advan មួយចំនួនtages of using EasyPrinter:
- EasyPrinter provides two modes of hardcopy output: [Print Out] and [Save to File]. Users can use either or both modes.
- Since EasyPrinter runs on MS Windows system, it supports most of the printers available on the market.
- Multiple HMIs can share one printer so users don’t have to prepare printers for each HMI.
លើសពីនេះ EasyPrinter ក៏អាចជាម៉ាស៊ីនមេបម្រុងទុកផងដែរ។ អ្នកប្រើប្រាស់អាចប្រើវត្ថុបម្រុងទុកនៅលើ HMI ដើម្បីចម្លងប្រវត្តិ files ដូចជា Data Sampling records និង Event Log ទៅកាន់កុំព្យូទ័រពីចម្ងាយតាមរយៈ Ethernet ។ សូមមើលរូបភាពខាងក្រោម៖

ការប្រើប្រាស់ EasyPrinter ជាម៉ាស៊ីនបម្រើម៉ាស៊ីនបោះពុម្ព

អ្នកប្រើអាចធ្វើការចម្លងអេក្រង់រឹងដោយប្រើវត្ថុគន្លឹះមុខងារ។ ច្បាប់ចម្លងរឹងនឹងត្រូវបានផ្ទេរទៅម៉ាស៊ីនមេម៉ាស៊ីនបោះពុម្ពពីចម្ងាយតាមរយៈអ៊ីសឺរណិត ហើយបន្ទាប់មកបោះពុម្ពចេញ។
ដំណើរការរៀបចំក្នុងម៉ាស៊ីនបោះពុម្ព EasyPrinter
In EasyPrinter’s main menu, select [Options] » [Settings] and the following dialog box appears;

- Select [General] on the left hand side.
- In [Server], set [Port number of the server socket] to “8005”, [User name] to “admin” and [Password] to “111111”. (These are default values.)
- In [Naming Convention for HMI Folder], select [Use IP address] and enter “IP_” in the [Prefix] field.
- In [Properties], select [Minimize to system tray] check box. Select [Start EasyPrinter when I
ចាប់ផ្តើមវីនដូ] បើចាំបាច់។
Set the print out location

- Select [Hardcopy] on the left hand side.
- Under [Output] select [Print out to] and choose a printer as the output device for screen
ច្បាប់ចម្លង។ (ម៉ាស៊ីនបោះពុម្ពដែលបង្ហាញក្នុងរូបភាពខាងលើគឺជាឧample; please select an actual
printer located in your network environment.) - Select [Save to files in:] ហើយរកមើលថតឯកសារដើម្បីរក្សាទុកច្បាប់ចម្លង file.
- Click [OK] to confirm the settings.
- In EasyPrinter main menu select [File] » [Enable Output] to output any incoming print
សំណើ។
ដំណើរការរៀបចំនៅក្នុង EasyBuilder Pro
The setting procedure of EasyPrinter in EasyBuilder Pro:
- Open a new project or an existing project in EasyBuilder Pro.
- In EasyBuilder Pro main menu select [Home] » [System Parameters] » [Printer/Backup Server] and select [Use Remote Printer/Backup Server] check box.

- Under [Output settings] set appropriate values for left / top / right / bottom margins. (The margins are all set to 15mm in the exampលេ។ )
- Under [Communication settings] fill in the [IP address] of the printer server according to the settings in EasyPrinter. Set [Port] to “8005”, [User name] to “admin” and [Password] to “111111”.
- ចុច [យល់ព្រម] ។
- In EasyBuilder Pro main menu select [Objects] » [Button], select [Function Key], select [Screen hardcopy] and set [Printer] to [MT Remote Printer/Backup Server].

- Place the Function Key object in the common window (window no. 4) so that screen hardcopies can be captured anytime when needed.
- Compile and download the project to HMI. Press the Function Key object on the screen to make a screen hardcopy.
ចំណាំ
- A PLC Control object can also be used to make screen hardcopies.
- Alarm information cannot be printed via EasyPrinter.
- EasyPrinter can only communicate with HMI via Ethernet. Please check that the HMI has appropriate network settings.
Using EasyPrinter as a Backup Sever

វត្ថុបម្រុងទុកអាចផ្ទុកទិន្នន័យប្រវត្តិសាស្រ្ត និងកំណត់ហេតុប្រតិបត្តិការទៅកាន់ម៉ាស៊ីនមេបម្រុងទុកពីចម្ងាយ។
ដំណើរការរៀបចំក្នុងម៉ាស៊ីនបោះពុម្ព EasyPrinter
In EasyPrinter’s main menu, select [Objects] » [Settings] and the following dialog box will
លេចឡើង៖

- Select [General] on the left hand side.
- Under [Server] set [Port number of the server socket] to “8005”, [User name] to “admin”
and [Password] to “111111”. (These are default values.) - Under [Naming Convention for HMI Folder] select [Use IP address] and enter “IP_” in the
[Prefix] field. - Under [Properties] select [Minimize to system tray]. Select [Start EasyPrinter when I start Windows] if necessary.
Set the backup location

- Select [Backup] on the left.
- Under [Output] click the oooooooo button to browse and select a storage directory of the incoming history files.
- Click [OK] to confirm the settings.
- In the main menu, select [File] » [បើកដំណើរការលទ្ធផល] ដើម្បីបម្រុងទុកទិន្នន័យនៅក្នុងថតដែលបានជ្រើសរើស។
ដំណើរការរៀបចំនៅក្នុង EasyBuilder Pro
The setup procedure of EasyPrinter in EasyBuilder Pro:
- Open a new project or an existing project in EasyBuilder Pro.
- In EasyBuilder Pro’s main menu, select [Home] » [System Parameters] » [Printer/Backup Server] and select the [Use Remote Printer/Backup Server] check box.

- Under [Communication settings] fill in the [IP address] of the printer server according to the settings in EasyPrinter. Set the [Port] to “8005”, [User name] to “admin” and [Password] to “111111”. (Note: These are default values.)
- ចុច [យល់ព្រម] ។
Create a Backup object.
- In EasyBuilder Pro’s main menu, select [Data/History] » [Backup] and the following dialog box appears:

- Under [Source] select [Historical event log] (or [RW], [RW_A] if needed.)
- Under [Backup position] select [Remote printer/backup server].
- Under [Range] select [Today] and [All] (or other options if needed.)
- Under [Trigger] select [Touch trigger].
- ចុច [យល់ព្រម] ។
- Place the [Backup] object in the common window (window no. 4), and users will be able to make backups anytime when needed.
- Compile and download the project to HMI. Press the Backup object on the screen to make a backup of the history data.
ចំណាំ
- The Backup object can also be triggered by a bit address.
- Users can arrange a Scheduler object, which turns a bit ON at the end of a week, to trigger the Backup object to automatically back up all history data.
EasyPrinter Operation Guide
The following introduces the interface and operation of EasyPrinter.
EasyPrinter Managing Window
ម៉ឺនុយមេ EasyPrinter ចែកចេញជា 5 ផ្នែក ដូចបង្ហាញក្នុងរូបខាងក្រោម៖

| តំបន់ | ឈ្មោះ | ការពិពណ៌នា |
| 1 | បញ្ជីការងារ | Lists all incoming tasks, such as screen hardcopy and backup requests |
| 2 | ទាញយកវឌ្ឍនភាព | Shows the download progress of incoming requests. |
| 3 | មុនview | បង្ហាញមុន។view image of the screen hardcopy task selected from [Job List]. |
| 4 | ទ្រព្យសម្បត្តិ | Shows the information about the task selected from [Job List]. |
| 5 | អ្នកកាប់ឈើ | Shows the time and message information of events such as incoming request, incorrect password, etc. |
មគ្គុទេសក៍ប្រតិបត្តិការ
The following describes the function of EasyPrinter menu items.
| ម៉ឺនុយ | ការពិពណ៌នា |
| File | បើកដំណើរការលទ្ធផល If selected, Easy Printer processes the tasks one by one, otherwise, Easy Printer stores the tasks in memory. |
| កែសម្រួល | កែសម្រួល Edits screen hardcopy by setting [Orientation], [Scaling] and [Margins]. លុប Deletes the selected tasks permanently. ជ្រើសរើសទាំងអស់។ Selects all tasks from [Job List] |
| View | Properties Bar Shows or hide the Property Window. Preview របារបង្ហាញឬលាក់ Preview បង្អួច។ Download Bar In [Download Progress] Window, the mode to display download progress can be set by clicking the header of the [progress] column as shown in the following figure: ![]() Logger Bar Easy Printer can reserve up to 10,000 messages in Message Window. If a new message comes in, the oldest message will be deleted |
| ជម្រើស | Please see the following page. |
ចំណាំ
- EasyPrinter can only reserve up to 128 MB of task data in memory. If the memory is full, any request coming in afterwards will be rejected. Users must either operate [Enable Output] or delete some tasks to make room for new tasks.
- The backup task is not editable.
- [Edit] is available only when a task is selected.
- [Delete] is available when at least one task is selected.
The following is the detail for [Options] » [Settings]
- In General Tab:
ការកំណត់ ការពិពណ៌នា ម៉ាស៊ីនមេ Port number of the server socket
Sets the Ethernet port number to connect the HMI. Range: 1 ~ 65535. លំនាំដើម៖ ០១.
ឈ្មោះអ្នកប្រើប្រាស់ពាក្យសម្ងាត់
Sets the user name and password to let only authorized HMIs send requests to EasyPrinterអនុសញ្ញាដាក់ឈ្មោះសម្រាប់ថតឯកសារ HMI EasyPrinter uses different folders to store files (ឧ. hardcopy bitmap files, បម្រុងទុក files) from different HMI. There are two ways to name the folders:
Use IP address
EasyPrinter names the folder as [Prefix] + [IP address] after the HMI at this IP address sends request.
Use HMI name
EasyPrinter names the folder in [Prefix] + [HMI name] after the HMI this name indicates sends request.

ទ្រព្យសម្បត្តិ Minimize to system tray
If this check box is selected, the EasyPrinter shortcut icon will be placed in the system tray in PC. Double click the on icon in system tray to open EasyPrinter.
Detailed message
Select this check box to display more detailed messages about events in the message window.
Start EasyPrinter when I start Windows
Select this check box to automatically run EasyPrinter when Windows starts.. នៅក្នុងផ្ទាំង Hardcopy៖

ការកំណត់ ការពិពណ៌នា ទិន្នផល Print out to
EasyPrinter prints out the hardcopy result with the specified printers.
រក្សាទុកទៅ files ក្នុង
EasyPrinter converts the hardcopy result into a bitmap file ហើយរក្សាទុកវានៅក្នុងថតដែលបានបញ្ជាក់។ ផែនទីប៊ីត files are found at: [Specified Path] \ [HMI Folder] \ yymmdd_hhmm.bmp For exampឡេ នៅពេលដែលសំណើច្បាប់ចម្លងត្រូវបានផ្តល់ឱ្យនៅម៉ោង 17:35:00, 12/Jan/2009, ផែនទីប៊ីត file នឹងត្រូវបានដាក់ឈ្មោះថា "090112_1735.bmp" ។ ហើយប្រសិនបើមានផែនទីប៊ីតផ្សេងទៀត។ file បង្កើតក្នុងរយៈពេលតែមួយនាទី វានឹងត្រូវបានដាក់ឈ្មោះថា "090112_1735_01.bmp" ហើយដូច្នេះនៅលើ។ - នៅក្នុងផ្ទាំងបម្រុងទុក៖
ការកំណត់ ការពិពណ៌នា ទិន្នផល បម្រុងទុក files in: EasyPrinter រក្សាទុកការបម្រុងទុក files to the specified path. The upper directory is the same: [Specified Path] \ [HMI Name] or [IP address] The lower directory: - For Event Log files: \ eventlog\ EL_yyyymmdd.evt l
- For Data Sampលីង files: \ datalog \ [File ឈ្មោះទិន្នន័យ Sampling] \ yyyymmdd.dtl l
- សម្រាប់រូបមន្ត files: \ recipe \ recipe.rcp or recipe_a.rcp l
- For Recipe Database: \ recipe \ recipe.db l
- For Operation Log: \ operationlog\ operationlog.db
បម្លែងបាច់ File ជ្រើសរើស [បើកដំណើរការ] ដើម្បីបំប្លែងប្រវត្តិដែលបានជ្រើសរើស file ទៅជាទម្រង់ .csv ឬ .xls (Excel) នៃ Convert Batch Files.
ចំណាំ
- System registers LW-9032 to LW-9039 can be used to specify HMI name.
- When closing EasyPrinter, the following dialog will appear.

បម្លែងបាច់ File
EasyPrinter ផ្តល់នូវឧបករណ៍បំប្លែងដើម្បីបំប្លែងទិន្នន័យ Sampលីង និងប្រវត្តិកំណត់ហេតុព្រឹត្តិការណ៍ files ទៅ .csv files ដោយស្វ័យប្រវត្តិ។ ដើម្បីធ្វើដូច្នេះ សូមជ្រើសរើស [Enable] នៅក្រោម [Convert Batch File] ដើម្បីធ្វើឱ្យ EasyPrinter បំប្លែងប្រវត្តិ fileស. នៅក្នុងរូបភាពខាងក្រោម ការបំប្លែងត្រូវបានប្រតិបត្តិដោយ EasyConverter ។ EasyPrinter គ្រាន់តែធ្វើតាមលក្ខណៈវិនិច្ឆ័យនៅក្នុង Convert Batch File និងធ្វើឱ្យកម្មវិធី EasyConverter សកម្មជាមួយនឹងអាគុយម៉ង់ត្រឹមត្រូវដើម្បីសម្រេចបាននូវការបំប្លែង។

ចំណាំ
- EasyConverter is another Win32 application that converts history data into .csv or MS Excel .xls files. Users can find it in the EasyBuilder Pro installation directory.
- Users requesting this function must ensure EasyPrinter and EasyConverter are placed in the same directory.
តម្លៃលំនាំដើមនៃបំលែងបាច់ File
ខាងក្រោមនេះគឺជាលំនាំដើម Convert Batch File: convert2csv.def
Listing 1. Default Convert Batch File
- “dtl”, “EasyConverter /c $( Pathname)”
- “evt”, “EasyConverter /c $( Pathname)”
There are two lines in the file. បន្ទាត់នីមួយៗមានអាគុយម៉ង់ពីរដែលបំបែកដោយសញ្ញាក្បៀស ហើយបង្កើតជាលក្ខណៈវិនិច្ឆ័យនៃរបៀបដំណើរការប្រភេទជាក់លាក់នៃ fileស. អាគុយម៉ង់ទីមួយតំណាងឱ្យឈ្មោះផ្នែកបន្ថែមនៃ file ប្រភេទដែលត្រូវដំណើរការ។ អាគុយម៉ង់ទីពីរតំណាងឱ្យពាក្យបញ្ជាដែលត្រូវប្រតិបត្តិក្នុងរបៀបកុងសូល។ សូមចំណាំថា “$(Pathname)” គឺជាពាក្យគន្លឹះដើម្បីជូនដំណឹងដល់ EasyPrinter ដើម្បីជំនួសវាដោយឈ្មោះពិតនៃការបម្រុងទុកដែលបានបំប្លែង។ file. សម្រាប់អតីតample ប្រសិនបើ Data Sampប្រវត្តិសាស្រ្តលីង file ដែលមានឈ្មោះថា 20090112.dtl ត្រូវបានអាប់ឡូត និងរក្សាទុក ងាយស្រួលព្រីនធឺនឹងផ្ញើពាក្យបញ្ជាខាងក្រោមទៅកាន់បង្អួចកុងសូល៖
- EasyConverter /c 20090112.dtl
A file named 20090112.csv is created.
The criteria of the default Convert Batch File:
- Convert all Data Sampប្រវត្តិសាស្រ្តលីង files (.dtl) ទៅក្នុង .csv files.
- Convert all Event Log history files (.evt) ទៅក្នុង .csv files.
ចំណាំ
- “$(Pathname)” នៅក្នុងអាគុយម៉ង់ទីពីរតំណាងឱ្យឈ្មោះផ្លូវពេញរបស់ file. In the previous case, EasyPrinter replaces it with: [Specified Path] \ [HMI Folder] \ [datalog] \ [Folder name of the Data-Sampling object] \ 20090112.dtl
- EasyPrinter បកស្រាយបំប្លែងបំលែង File នៅក្នុងមូលដ្ឋានបន្ទាត់ នោះគឺបន្ទាត់នីមួយៗបង្កើតលក្ខណៈវិនិច្ឆ័យ។
- Any two arguments should be separated by a comma.
- Every argument should be put in double quotes.
- Do not put any comma inside an argument.
- Supported parameters for batch file: $(PathName), $(HmiName), and $(IP) which stand for file path, HMI name, and HMI IP address.
- When [Start EasyPrinter when I start Windows] option is selected, please add in the file ផ្លូវដែល EasyConverter ត្រូវបានដាក់ ដែលជាធម្មតាជាថតដំឡើង EBPro នៅក្នុង
your PC, as shown below.
- “dtl”, “C:\EBPro\EasyConverter /c $(Pathname)”
- “evt”, “C:\EBPro\EasyConverter /c $(Pathname)”
សម្រាប់ព័ត៌មានបន្ថែម សូមមើល "25 Easy Converter"។
លក្ខណៈវិនិច្ឆ័យឯកទេស
The specialized criterion are needed when:
- ផ្ទុកឡើង file to a specific HMI, see listing 2.
- Identify the HMI by HMI name, see listing 3.
- Process differently to different Data Sampling, សូមមើលបញ្ជី 4. (វាអាចប្រើបានសម្រាប់តែទិន្នន័យ Sampលីង file ជាមួយ file ឈ្មោះ "វ៉ុលtage”។) អាគុយម៉ង់ទី 3 (“*”) បង្ហាញពីលក្ខណៈវិនិច្ឆ័យនេះទទួលយកទិន្នន័យ Sampលីង files ដែលបំពេញតាមលក្ខណៈវិនិច្ឆ័យពី HMI ណាមួយ។ អ្នកប្រើប្រាស់ក៏អាចផ្លាស់ប្តូរអាគុយម៉ង់ទី 3 ទៅ “192.168.1.26”, “192.168.1.*” ឬឈ្មោះ HMI ជាដើម សម្រាប់ការបង្រួមជួរនៃ HMI គោលដៅ។
Listing 2. Specialized Criterion for the HMI IP: 192.168.1.26
- “dtl”, “EasyConverter /c $(Pathname)”, “192.168.1.26”
Listing 3. Specialized Criterion for HMI name: Weintek_01
- “dtl”, “EasyConverter /c $(Pathname)”, “Weintek_01”
Listing 4. Specialized Creterion for Data Sampលីង file ឈ្មោះ៖ វ៉ុលtage
- “dtl”, “EasyConverter/s Voltage.lgs $(Pathname)”, “*”, “Voltagអ៊ី”
ទម្រង់នៃការបំប្លែងបាច់ File
ខាងក្រោមនេះពន្យល់អំពីអំណះអំណាងក្នុងលក្ខណៈវិនិច្ឆ័យមួយ។
File Type Command
(បន្ទាត់)
HMI IP /
ឈ្មោះ
លក្ខខណ្ឌ 1
លក្ខខណ្ឌ 2
- File ប្រភេទ
អាគុយម៉ង់នេះបញ្ជាក់ឈ្មោះផ្នែកបន្ថែមនៃការផ្ទុកឡើង file នៅក្នុងលក្ខណៈវិនិច្ឆ័យនេះ។
(ឧទាហរណ៍ “.dtl” សម្រាប់ទិន្នន័យ Sampប្រវត្តិសាស្រ្តលីង files, “.evt” សម្រាប់ប្រវត្តិកំណត់ហេតុព្រឹត្តិការណ៍ files) - ពាក្យបញ្ជា (បន្ទាត់)
ពាក្យបញ្ជា EasyPrinter ផ្ញើទៅកាន់បង្អួចកុងសូល ប្រសិនបើការអាប់ឡូត file ជួប
លក្ខណៈវិនិច្ឆ័យ។ - HMI IP / ឈ្មោះ
អាគុយម៉ង់នេះបញ្ជាក់ HMI ដែលបំពេញតាមលក្ខណៈវិនិច្ឆ័យ។ - លក្ខខណ្ឌ 1
អាគុយម៉ង់នេះបញ្ជាក់ឈ្មោះថតឯកសាររបស់ Data Sampលីង files that meet the criterion.
This is not effective to other format of files. - លក្ខខណ្ឌ 2
Not used (Reserved for future use).
លំដាប់នៃការពិនិត្យលក្ខណៈវិនិច្ឆ័យ
EasyPrinter ពិនិត្យមើលលក្ខណៈវិនិច្ឆ័យតាមលំដាប់ចុះរាល់ពេល a file ត្រូវបានផ្ទុកឡើង។ ម្តង file បំពេញតាមលក្ខណៈវិនិច្ឆ័យមួយ វាបញ្ឈប់ការប្រឡង ហើយចាប់ផ្តើមម្តងទៀតសម្រាប់បន្ទាប់ file. ដូច្នេះ អ្នកប្រើគួរតែដាក់លក្ខណៈវិនិច្ឆ័យដោយមានជួរធំជាងនេះចុះក្រោមក្នុង Convert Batch File ហើយដាក់លក្ខខណ្ឌជាក់លាក់ជាងមុន។ សម្រាប់អតីតampលេ៖
“evt”, “EasyConverter /c $(Pathname)”
“dtl”, “EasyConverter /c $(Pathname)”
“dtl”, “EasyConverter /c $(Pathname)”, “192.168.1.26”
“dtl”, “EasyConverter /c $(Pathname)”, “my_HMI_01”
“dtl”, “EasyConverter /c $(Pathname)”, “my_HMI_02”
“dtl”, “EasyConverter/s Voltage.lgs $(Pathname)”, “*”, “Voltagអ៊ី”
លំដាប់ត្រឹមត្រូវនៃការពិនិត្យគឺ៖ (ពីក្រោមដល់កំពូល)
“dtl”, “EasyConverter/s Voltage.lgs $(Pathname)”, “*”, “Voltagអ៊ី”
“dtl”, “EasyConverter /c $(Pathname)”, “my_HMI_02”
“dtl”, “EasyConverter /c $(Pathname)”, “my_HMI_01”
“dtl”, “EasyConverter /c $(Pathname)”, “192.168.1.26”
“dtl”, “EasyConverter /c $(Pathname)”
“evt”, “EasyConverter /c $(Pathname)”

ឯកសារ/ធនធាន
![]() |
កម្មវិធីម៉ាស៊ីនព្រីនងាយស្រួល WINTEK Win32 [pdf] សេចក្តីណែនាំ កម្មវិធីម៉ាស៊ីនបោះពុម្ពងាយស្រួល Win32 កម្មវិធី Win32 កម្មវិធីម៉ាស៊ីនបោះពុម្ពងាយស្រួល កម្មវិធីម៉ាស៊ីនបោះពុម្ព |

