Created
October 5, 2020 18:50
-
-
Save ruslan-hut/6a0ff4a8ca2f41d1dbb8ca377083706e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ProgID = ДанныеДрайвера.ИдентификаторОбъекта; | |
Если ПустаяСтрока(ProgID) Тогда | |
ОбъектДрайвера = ""; // Драйвер не требуется | |
ИначеЕсли ProgID = "ArtSoft.FiscalPrinter" Тогда | |
ТестДрайвера = Новый COMОбъект("ArtSoft.FiscalPrinter"); | |
ОбъектДрайвера = "COM_ArtSoft_FiscalPrinter"; // COM-соединение | |
//begin ----------- programmer.com.ua ------------------[30.09.2020] | |
ИначеЕсли ProgID = "COM_ecrmini_t400" Тогда | |
ТестДрайвера = Новый COMОбъект("ecrmini.t400"); | |
ОбъектДрайвера = "COM_ecrmini_t400"; | |
//end ------------- programmer.com.ua ------------------[30.09.2020] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment