Issue / Question
Customer have various printer in use. They want to develop a general program that works for all printer models.
They consider to use parallel to send print data, but for C#, no class can control this port.
Applicable To
All printers which have parallel port, 105SL Plus, Xi4 Series, ZM Series, ZT200, ZT400, ZT510, ZT600 Series, GK888, GC420, GT800, ZD400, ZD500, ZD600 Series, ZE500
Resolution / Answer
In C# we should use windows API to control port, as no any class or control can use it.
The API is included in kernel32.dll, we should import the dll and use the CreateFile, ReadFile, WriteFile and CloseHandle function.