EPSON — Sample Program

128 Level Program name Specification Printer Model Language USB Ethernet C++ C# VB.NET VB6.0 Basic Step 5 Notifying the printer status from the printer to the  application When the condition of the printer is changed, event is caused by SNMP from the appli- cation and executes error han- dling. —   —  — Complete basic  features The program combined from Step 1 to 5. —      Appli- cation Monitoring the printer status and controlling print jobs When the ink cover is opened during printing, recognizes this as an error and cancels printing job. —   —  — Changing the print settings with  DEVMODE Executes a 90-degree rotation or changes the number of copies by the application.

—   —  — Obtaining various  printer information Acquires driver version, name of the administrator, location, sta- tus of the printing job and CPU information of the printer. —   —  — Obtaining the print completion Displays “printing completed” when the printer acquires the status that label print is com- pleted. When the status is not acquired, the message is not dis- played. —     