added LSL2 stored procedures

This commit is contained in:
Infineon\StieberD
2024-03-25 14:46:21 -07:00
parent 09f1a66046
commit c667dd56eb
1655 changed files with 527967 additions and 0 deletions

View File

@ -0,0 +1,19 @@
function PrintSetupNew(Printers, Default)
declare function SET_PRINTER, Get_Printer
DECLARE subroutine Msg
PrintCount = 0
Printers = ''
Default = ''
Init = Set_Printer('INIT', '', '', '', '', 3 : @VM : @VM : 1 : @VM : 3, '', '', '', '')
Printers = Get_Printer('DEVICES')
CurrentPort = Get_Printer('CURRENTPORT')
Ports = Get_Printer('PORTS')
rv = Set_Printer('TERM')
Printers[-1, 1] = ''
PrintCount = DCount(Printers, @FM)
Msg(@Window, '','OK', '', 'Title':@FM:'Printers=':Printers)
return PrintCount