Creazione classe stampa

This commit is contained in:
NicolaP
2021-07-22 14:50:22 +02:00
parent 74a10955dc
commit 94891ec19f
333 changed files with 422380 additions and 0 deletions
Binary file not shown.
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
+8
View File
@@ -0,0 +1,8 @@
<Application x:Class="Application"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:ZebraPrinterUtilities">
<Application.Resources>
</Application.Resources>
</Application>
+14
View File
@@ -0,0 +1,14 @@
Class Application
' Gli eventi a livello di applicazione, ad esempio Startup, Exit e DispatcherUnhandledException,
' possono essere gestiti in questo file.
Protected Overrides Sub OnStartup(e As StartupEventArgs)
MyBase.OnStartup(e)
ShutdownMode = System.Windows.ShutdownMode.OnMainWindowClose
' Avvio il modulo per la stampa
Dim MyZebraPronter As New ZebraPrinter(e.Args)
' Termino il programma
Application.Current.Shutdown()
End Sub
End Class
+59
View File
@@ -0,0 +1,59 @@
Imports System
Imports System.Globalization
Imports System.Reflection
Imports System.Resources
Imports System.Runtime.InteropServices
Imports System.Windows
' Le informazioni generali relative a un assembly sono controllate dal seguente
' set di attributi. Modificare i valori di questi attributi per modificare le informazioni
' associate a un assembly.
' Controllare i valori degli attributi degli assembly
<Assembly: AssemblyTitle("ZebraPrinterUtilities")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("ZebraPrinterUtilities")>
<Assembly: AssemblyCopyright("Copyright © 2021")>
<Assembly: AssemblyTrademark("")>
<Assembly: ComVisible(false)>
'Per iniziare a creare applicazioni localizzabili, impostare
'<UICulture>CultureYouAreCodingWith</UICulture> nel file VBPROJ
'all'interno di un <PropertyGroup>. Ad esempio, se si utilizza l'inglese (Stati Uniti)
'nei file di origine, impostare <UICulture> su "en-US". Rimuovere quindi il commento
'dall'attributo NeutralResourceLanguage seguente. Aggiornare "en-US" nella riga
'seguente in modo che corrisponda all'impostazione di UICulture nel file di progetto.
'<Assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)>
'L'attributo ThemeInfo indica la possibile posizione dei dizionari risorse generici e specifici del tema.
'Primo parametro: posizione dei dizionari risorse specifici del tema
'(da usare se nella pagina non viene trovata una risorsa,
' oppure nei dizionari delle risorse dell'applicazione)
'Parametro 2: posizione del dizionario risorse generico
'(da usare se nella pagina non viene trovata una risorsa,
'un'applicazione e alcun dizionario risorse specifico del tema)
<Assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)>
'Se il progetto viene esposto a COM, il GUID seguente verrà usato come ID del typelib
<Assembly: Guid("4459a2e3-b520-4b0a-89b7-917ffd545b39")>
' Le informazioni sulla versione di un assembly sono costituite dai seguenti quattro valori:
'
' Versione principale
' Versione secondaria
' Numero di build
' Revisione
'
' È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build
' usando l'asterisco '*' come illustrato di seguito:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("1.0.0.0")>
<Assembly: AssemblyFileVersion("1.0.0.0")>
+121
View File
@@ -0,0 +1,121 @@
#If _MyType <> "Empty" Then
Namespace My
''' <summary>
''' Modulo utilizzato per definire le proprietà disponibili nello spazio dei nomi My per WPF
''' </summary>
''' <remarks></remarks>
<Global.Microsoft.VisualBasic.HideModuleName()> _
Module MyWpfExtension
Private s_Computer As New ThreadSafeObjectProvider(Of Global.Microsoft.VisualBasic.Devices.Computer)
Private s_User As New ThreadSafeObjectProvider(Of Global.Microsoft.VisualBasic.ApplicationServices.User)
Private s_Windows As New ThreadSafeObjectProvider(Of MyWindows)
Private s_Log As New ThreadSafeObjectProvider(Of Global.Microsoft.VisualBasic.Logging.Log)
''' <summary>
''' Restituisce l'oggetto applicazione per l'applicazione in esecuzione
''' </summary>
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _
Friend ReadOnly Property Application() As Application
Get
Return CType(Global.System.Windows.Application.Current, Application)
End Get
End Property
''' <summary>
''' Restituisce le informazioni sul computer host.
''' </summary>
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _
Friend ReadOnly Property Computer() As Global.Microsoft.VisualBasic.Devices.Computer
Get
Return s_Computer.GetInstance()
End Get
End Property
''' <summary>
''' Restituisce le informazioni per l'utente corrente. Se si desidera eseguire l'applicazione con le
''' credenziali utente di Windows correnti, chiamare My.User.InitializeWithWindowsUser().
''' </summary>
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _
Friend ReadOnly Property User() As Global.Microsoft.VisualBasic.ApplicationServices.User
Get
Return s_User.GetInstance()
End Get
End Property
''' <summary>
''' Restituisce il registro applicazioni. I listener possono essere configurati dal file di configurazione dell'applicazione.
''' </summary>
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _
Friend ReadOnly Property Log() As Global.Microsoft.VisualBasic.Logging.Log
Get
Return s_Log.GetInstance()
End Get
End Property
''' <summary>
''' Restituisce la raccolta di oggetti Window definiti nel progetto.
''' </summary>
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _
Friend ReadOnly Property Windows() As MyWindows
<Global.System.Diagnostics.DebuggerHidden()> _
Get
Return s_Windows.GetInstance()
End Get
End Property
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
<Global.Microsoft.VisualBasic.MyGroupCollection("System.Windows.Window", "Create__Instance__", "Dispose__Instance__", "My.MyWpfExtenstionModule.Windows")> _
Friend NotInheritable Class MyWindows
<Global.System.Diagnostics.DebuggerHidden()> _
Private Shared Function Create__Instance__(Of T As {New, Global.System.Windows.Window})(ByVal Instance As T) As T
If Instance Is Nothing Then
If s_WindowBeingCreated IsNot Nothing Then
If s_WindowBeingCreated.ContainsKey(GetType(T)) = True Then
Throw New Global.System.InvalidOperationException("The window cannot be accessed via My.Windows from the Window constructor.")
End If
Else
s_WindowBeingCreated = New Global.System.Collections.Hashtable()
End If
s_WindowBeingCreated.Add(GetType(T), Nothing)
Return New T()
s_WindowBeingCreated.Remove(GetType(T))
Else
Return Instance
End If
End Function
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")> _
<Global.System.Diagnostics.DebuggerHidden()> _
Private Sub Dispose__Instance__(Of T As Global.System.Windows.Window)(ByRef instance As T)
instance = Nothing
End Sub
<Global.System.Diagnostics.DebuggerHidden()> _
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
Public Sub New()
MyBase.New()
End Sub
<Global.System.ThreadStatic()> Private Shared s_WindowBeingCreated As Global.System.Collections.Hashtable
<Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> Public Overrides Function Equals(ByVal o As Object) As Boolean
Return MyBase.Equals(o)
End Function
<Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> Public Overrides Function GetHashCode() As Integer
Return MyBase.GetHashCode
End Function
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")> _
<Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> _
Friend Overloads Function [GetType]() As Global.System.Type
Return GetType(MyWindows)
End Function
<Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> Public Overrides Function ToString() As String
Return MyBase.ToString
End Function
End Class
End Module
End Namespace
Partial Class Application
Inherits Global.System.Windows.Application
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")> _
Friend ReadOnly Property Info() As Global.Microsoft.VisualBasic.ApplicationServices.AssemblyInfo
<Global.System.Diagnostics.DebuggerHidden()> _
Get
Return New Global.Microsoft.VisualBasic.ApplicationServices.AssemblyInfo(Global.System.Reflection.Assembly.GetExecutingAssembly())
End Get
End Property
End Class
#End If
+62
View File
@@ -0,0 +1,62 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:$clrversion$
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace My.Resources
'This class was auto-generated by the StronglyTypedResourceBuilder
'class via a tool like ResGen or Visual Studio.
'To add or remove a member, edit your .ResX file then rerun ResGen
'with the /str option, or rebuild your VS project.
'''<summary>
''' A strongly-typed resource class, for looking up localized strings, etc.
'''</summary>
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
Friend Module Resources
Private resourceMan As Global.System.Resources.ResourceManager
Private resourceCulture As Global.System.Globalization.CultureInfo
'''<summary>
''' Returns the cached ResourceManager instance used by this class.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
Get
If Object.ReferenceEquals(resourceMan, Nothing) Then
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("$safeprojectname$.Resources", GetType(Resources).Assembly)
resourceMan = temp
End If
Return resourceMan
End Get
End Property
'''<summary>
''' Overrides the current thread's CurrentUICulture property for all
''' resource lookups using this strongly typed resource class.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Friend Property Culture() As Global.System.Globalization.CultureInfo
Get
Return resourceCulture
End Get
Set(ByVal value As Global.System.Globalization.CultureInfo)
resourceCulture = value
End Set
End Property
End Module
End Namespace
+117
View File
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
+73
View File
@@ -0,0 +1,73 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace My
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Partial Friend NotInheritable Class MySettings
Inherits Global.System.Configuration.ApplicationSettingsBase
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
#Region "My.Settings Auto-Save Functionality"
#If _MyType = "WindowsForms" Then
Private Shared addedHandler As Boolean
Private Shared addedHandlerLockObject As New Object
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
If My.Application.SaveMySettingsOnExit Then
My.Settings.Save()
End If
End Sub
#End If
#End Region
Public Shared ReadOnly Property [Default]() As MySettings
Get
#If _MyType = "WindowsForms" Then
If Not addedHandler Then
SyncLock addedHandlerLockObject
If Not addedHandler Then
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
addedHandler = True
End If
End SyncLock
End If
#End If
Return defaultInstance
End Get
End Property
End Class
End Namespace
Namespace My
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
Friend Module MySettingsProperty
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
Friend ReadOnly Property Settings() As Global.ZebraPrinterUtilities.My.MySettings
Get
Return Global.ZebraPrinterUtilities.My.MySettings.Default
End Get
End Property
End Module
End Namespace
+7
View File
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
+197
View File
@@ -0,0 +1,197 @@
Imports System.IO
Imports System.Text
Imports System.Threading.Tasks
Imports Zebra.Sdk.Comm
Imports Zebra.Sdk.Printer
Imports Zebra.Sdk.Printer.Discovery
Class ZebraPrinter
Private m_FileLog As String
Private m_Values As New Dictionary(Of String, String)
Private m_LabelBytes As Byte()
Private m_printerConnection As Connection = Nothing
Private m_sDataRoot As String
Private m_Waiting As Boolean = True
' dichiarazione funzione per lettura file ini
Private Declare Auto Function GetPrivateProfileString Lib "kernel32" (
ByVal lpAppName As String,
ByVal lpKeyName As String,
ByVal lpDefault As String,
ByVal lpReturnedString As StringBuilder,
ByVal nSize As Integer,
ByVal lpFileName As String) As Integer
' inizilizzo il file di log inserendo la data dell'esecuzione
Sub InitLog()
' Impostazione path radice per i dati
m_sDataRoot = System.AppDomain.CurrentDomain.BaseDirectory
Dim sb = New StringBuilder(500)
If GetPrivateProfileString("Data", "DataRoot", "", sb, sb.Capacity, m_sDataRoot & "DataRoot.ini") = 0 Then
m_sDataRoot = System.AppDomain.CurrentDomain.BaseDirectory
Else
m_sDataRoot = sb.ToString
End If
m_FileLog = m_sDataRoot & "\ZebraPrinterUtilityLog.txt"
If Not File.Exists(m_FileLog) Then
Try
File.Create(m_FileLog).Close()
Catch ex As Exception
End Try
End If
Try
Dim sMessage As StreamWriter = File.AppendText(m_FileLog)
sMessage.WriteLine(DateTime.Now.ToString)
sMessage.Close()
Catch ex As Exception
End Try
End Sub
' Funzione per scrivere nel file di Log
Sub EmitLog(sLine As String)
Dim sMessage As StreamWriter = File.AppendText(m_FileLog)
sMessage.WriteLine(sLine)
sMessage.Close()
End Sub
' collego la stampante
Friend Function ConnectPrinter() As Boolean
Try
Dim discoPrinters As List(Of DiscoveredPrinterDriver) = UsbDiscoverer.GetZebraDriverPrinters()
m_printerConnection = New DriverPrinterConnection(discoPrinters(0).PrinterName)
Return True
Catch ex As ConnectionException
EmitLog("Printer connection error: " & ex.Message)
Return False
End Try
End Function
' creo e stampo l'etichetta (ricevo il nome del template da usare)
Public Async Sub Print(FilePath As String)
Await Task.Run(Async Function()
Try
' Connecting...
m_printerConnection.Open()
EmitLog("Connessione stampante: APERTA")
' Sending Data...
Dim LabelFile As String = File.ReadAllText(FilePath)
For Each Variable In m_Values
LabelFile = LabelFile.Replace(Variable.Key, Variable.Value)
Next
Dim LabelBytes As Byte() = Encoding.UTF8.GetBytes(LabelFile)
Await Task.Delay(200)
' stampo etichetta
'm_printerConnection.Write(LabelBytes)
m_Waiting = False
EmitLog("Etichetta pronta")
Catch __unusedConnectionException1__ As ConnectionException
EmitLog(__unusedConnectionException1__.ToString)
' Communications Error
Catch __unusedZebraPrinterLanguageUnknownException2__ As ZebraPrinterLanguageUnknownException
EmitLog(__unusedZebraPrinterLanguageUnknownException2__.ToString)
End Try
' Chiudo la connessione
Try
'Threading.Thread.Sleep(500)
Threading.Thread.Sleep(200)
' Disconnecting...
If m_printerConnection IsNot Nothing Then
m_printerConnection.Close()
EmitLog("Connessione stampante: CHIUSA")
Threading.Thread.Sleep(1000)
End If
' Not Connected
Catch __unusedConnectionException1__ As ConnectionException
EmitLog(__unusedConnectionException1__.ToString)
End Try
End Function)
End Sub
' Lettura file ini
Private Function ReadValue(FilePath As String) As Boolean
' verifico che il file esiste
If Not File.Exists(FilePath) Then
EmitLog("File '" & FilePath & "' non esiste.")
Return False
End If
Dim sb = New StringBuilder(500)
Dim Index As Integer = 1
Dim nResult As Integer = -1
' leggo l'elenco delle variabili
While nResult <> 0
Try
nResult = GetPrivateProfileString("Main", "Var" & Index.ToString, "", sb, sb.Capacity, FilePath)
Catch ex As Exception
EmitLog(ex.ToString)
Index = Index + 1
Continue While
End Try
Dim sItems As String() = sb.ToString.Split(","c)
If sItems.Count = 2 Then
m_Values.Add(sItems(0).Trim, sItems(1).Trim)
End If
Index = Index + 1
End While
EmitLog("Dati caricati")
Return True
End Function
Sub New(args As String())
InitLog()
ConnectPrinter()
' verifico che il numero di argomenti sia superiore a 2 (migliorare l'interpretazione dell'errore)
If args.Length < 2 Then
EmitLog("Non sono stati esplicictati tutti i file")
Return
End If
EmitLog("File template: " & args(0))
' verifico che l'estensione del file sia corretta
If Path.GetExtension(args(0)) <> ".prn" Then
EmitLog("Estensione file template non corretta, diversa da .prn")
Return
End If
' verifico che il file esiste
If Not File.Exists(args(0)) Then
EmitLog("File '" & args(0) & "' non esiste.")
End If
EmitLog("File dati: " & args(1))
' verifico che l'estensione del file sia corretta
If Path.GetExtension(args(1)) <> ".ini" Then
EmitLog("Estensione file dati non corretta, diversa da .ini")
Return
End If
' leggo l'elenco dei dati da stampare
If Not ReadValue(args(1)) Then Return
' stampo etichetta
Print(args(0))
' metto il programmma in attesa
Dim nCiclo As Integer = 0
While m_Waiting And nCiclo < 6
Threading.Thread.Sleep(1000)
nCiclo += 1
End While
End Sub
End Class
+25
View File
@@ -0,0 +1,25 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31205.134
MinimumVisualStudioVersion = 10.0.40219.1
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "ZebraPrinterUtilities", "ZebraPrinterUtilities.vbproj", "{0F641DB6-033E-4DCB-AA5C-37B39A134049}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0F641DB6-033E-4DCB-AA5C-37B39A134049}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0F641DB6-033E-4DCB-AA5C-37B39A134049}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0F641DB6-033E-4DCB-AA5C-37B39A134049}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0F641DB6-033E-4DCB-AA5C-37B39A134049}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5419D469-6B05-4820-8802-D2844799CDC2}
EndGlobalSection
EndGlobal
+194
View File
@@ -0,0 +1,194 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{0F641DB6-033E-4DCB-AA5C-37B39A134049}</ProjectGuid>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}</ProjectTypeGuids>
<OutputType>WinExe</OutputType>
<RootNamespace>ZebraPrinterUtilities</RootNamespace>
<AssemblyName>ZebraPrinterUtilities</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<MyType>Custom</MyType>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<IncrementalBuild>true</IncrementalBuild>
<OutputPath>bin\Debug\</OutputPath>
<DocumentationFile>ZebraPrinterUtilities.xml</DocumentationFile>
<NoWarn>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42314</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DebugSymbols>false</DebugSymbols>
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<IncrementalBuild>false</IncrementalBuild>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DocumentationFile>ZebraPrinterUtilities.xml</DocumentationFile>
<NoWarn>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42314</NoWarn>
</PropertyGroup>
<PropertyGroup>
<OptionExplicit>On</OptionExplicit>
</PropertyGroup>
<PropertyGroup>
<OptionCompare>Binary</OptionCompare>
</PropertyGroup>
<PropertyGroup>
<OptionStrict>Off</OptionStrict>
</PropertyGroup>
<PropertyGroup>
<OptionInfer>On</OptionInfer>
</PropertyGroup>
<ItemGroup>
<Reference Include="BouncyCastle.Crypto, Version=1.8.2.0, Culture=neutral, PublicKeyToken=0e99375e54769942, processorArchitecture=MSIL">
<HintPath>packages\Portable.BouncyCastle.1.8.2\lib\net40\BouncyCastle.Crypto.dll</HintPath>
</Reference>
<Reference Include="Csv, Version=1.0.31.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Csv.1.0.31\lib\net40\Csv.dll</HintPath>
</Reference>
<Reference Include="FluentFTP, Version=19.2.2.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f, processorArchitecture=MSIL">
<HintPath>packages\FluentFTP.19.2.2\lib\net45\FluentFTP.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.DotNet.PlatformAbstractions, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>packages\Microsoft.DotNet.PlatformAbstractions.2.1.0\lib\net45\Microsoft.DotNet.PlatformAbstractions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.DependencyModel, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>packages\Microsoft.Extensions.DependencyModel.2.1.0\lib\net451\Microsoft.Extensions.DependencyModel.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="SdkApi.Core, Version=2.15.2634.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Zebra.Printer.SDK.2.15.2634\lib\net471\SdkApi.Core.dll</HintPath>
</Reference>
<Reference Include="SdkApi.Desktop, Version=2.15.2634.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Zebra.Printer.SDK.2.15.2634\lib\net471\SdkApi.Desktop.dll</HintPath>
</Reference>
<Reference Include="SdkApi.Desktop.Usb, Version=2.15.2634.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Zebra.Printer.SDK.2.15.2634\lib\net471\SdkApi.Desktop.Usb.dll</HintPath>
</Reference>
<Reference Include="SharpSnmpLib, Version=10.0.9.0, Culture=neutral, PublicKeyToken=4c00852d3788e005, processorArchitecture=MSIL">
<HintPath>packages\Lextm.SharpSnmpLib.10.0.9\lib\net452\SharpSnmpLib.dll</HintPath>
</Reference>
<Reference Include="System.Collections.Specialized, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>packages\System.Collections.Specialized.4.3.0\lib\net46\System.Collections.Specialized.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Net.NameResolution, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>packages\System.Net.NameResolution.4.3.0\lib\net46\System.Net.NameResolution.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Net.Sockets, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>packages\System.Net.Sockets.4.3.0\lib\net46\System.Net.Sockets.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>packages\System.Runtime.InteropServices.RuntimeInformation.4.0.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Web" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.XmlDocument, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>packages\System.Xml.XmlDocument.4.3.0\lib\net46\System.Xml.XmlDocument.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System.Net.Http" />
<Reference Include="ZebraPrinterSdk, Version=2.15.2634.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Zebra.Printer.SDK.2.15.2634\lib\net471\ZebraPrinterSdk.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="Application.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Compile Include="ZebraPrinter.vb" />
<Compile Include="Application.xaml.vb">
<DependentUpon>Application.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Import Include="System.Threading.Tasks" />
<Import Include="System.Linq" />
<Import Include="System.Xml.Linq" />
<Import Include="Microsoft.VisualBasic" />
<Import Include="System" />
<Import Include="System.Collections" />
<Import Include="System.Collections.Generic" />
<Import Include="System.Diagnostics" />
<Import Include="System.Windows" />
<Import Include="System.Windows.Controls" />
<Import Include="System.Windows.Data" />
<Import Include="System.Windows.Documents" />
<Import Include="System.Windows.Input" />
<Import Include="System.Windows.Shapes" />
<Import Include="System.Windows.Media" />
<Import Include="System.Windows.Media.Imaging" />
<Import Include="System.Windows.Navigation" />
</ItemGroup>
<ItemGroup>
<Compile Include="My Project\AssemblyInfo.vb">
<SubType>Code</SubType>
</Compile>
<Compile Include="My Project\MyExtensions\MyWpfExtension.vb">
<VBMyExtensionTemplateID>Microsoft.VisualBasic.WPF.MyExtension</VBMyExtensionTemplateID>
<VBMyExtensionTemplateVersion>1.0.0.0</VBMyExtensionTemplateVersion>
</Compile>
<Compile Include="My Project\Resources.Designer.vb">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="My Project\Settings.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include="My Project\Resources.resx">
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
<CustomToolNamespace>My.Resources</CustomToolNamespace>
</EmbeddedResource>
<None Include="My Project\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
</None>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
<PropertyGroup>
<PostBuildEvent>IF "$(ConfigurationName)" == "Release" copy $(TargetPath) c:\EgtProg\OmagPHOTO\ZebraPrinterUtilitiesR32.exe
IF "$(ConfigurationName)" == "Debug" copy $(TargetPath) c:\EgtProg\OmagPHOTO\ZebraPrinterUtilituiesD32.exe</PostBuildEvent>
</PropertyGroup>
</Project>
+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartAction>Project</StartAction>
<StartProgram>C:\EgtProg\OmagPHOTO\ZebraPrinterUtilitiesD32.exe</StartProgram>
</PropertyGroup>
</Project>
Binary file not shown.
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
+148
View File
@@ -0,0 +1,148 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Csv</name>
</assembly>
<members>
<member name="T:Csv.CsvOptions">
<summary>
Defines the options that can be passed to customize the reading or writing of csv files.
</summary>
</member>
<member name="P:Csv.CsvOptions.RowsToSkip">
<summary>
Gets or sets the number of rows to skip before reading the header row, defaults to <c>0</c>.
</summary>
</member>
<member name="P:Csv.CsvOptions.SkipRow">
<summary>
Gets or sets a function to skip the current row based on its raw string value or 1-based index. Skips empty rows and rows starting with # by default.
</summary>
</member>
<member name="P:Csv.CsvOptions.Separator">
<summary>
Gets or sets the character to use for separating data, defaults to <c>'\0'</c> which will auto-detect from the header row.
</summary>
</member>
<member name="P:Csv.CsvOptions.TrimData">
<summary>
Gets or sets wether data should be trimmed when accessed.
</summary>
</member>
<member name="P:Csv.CsvOptions.Comparer">
<summary>
Gets or sets the comparer to use when looking up header names.
</summary>
</member>
<member name="P:Csv.CsvOptions.HeaderMode">
<summary>
Gets or sets an indicator to the parser to expect a header row or not.
</summary>
</member>
<member name="P:Csv.CsvOptions.ValidateColumnCount">
<summary>
Gets or sets wether a row should be validated immediately that the column count matches the header count.
</summary>
</member>
<member name="T:Csv.CsvReader">
<summary>
Helper class to read csv (comma separated values) data.
</summary>
</member>
<member name="M:Csv.CsvReader.Read(System.IO.TextReader,Csv.CsvOptions)">
<summary>
Reads the lines from the reader.
</summary>
<param name="reader">The text reader to read the data from.</param>
<param name="options">The optional options to use when reading.</param>
</member>
<member name="M:Csv.CsvReader.ReadFromStream(System.IO.Stream,Csv.CsvOptions)">
<summary>
Reads the lines from the stream.
</summary>
<param name="stream">The stream to read the data from.</param>
<param name="options">The optional options to use when reading.</param>
</member>
<member name="M:Csv.CsvReader.ReadFromText(System.String,Csv.CsvOptions)">
<summary>
Reads the lines from the csv string.
</summary>
<param name="csv">The csv string to read the data from.</param>
<param name="options">The optional options to use when reading.</param>
</member>
<member name="T:Csv.CsvWriter">
<summary>
Helper class to write csv (comma separated values) data.
</summary>
</member>
<member name="M:Csv.CsvWriter.Write(System.IO.TextWriter,System.String[],System.Collections.Generic.IEnumerable{System.String[]},System.Char)">
<summary>
Writes the lines to the writer.
</summary>
<param name="writer">The text writer to write the data to.</param>
<param name="headers">The headers that should be used for the first line, determines the number of columns.</param>
<param name="lines">The lines with data that should be written.</param>
<param name="separator">The separator to use between columns (comma, semicolon, tab, ...)</param>
</member>
<member name="M:Csv.CsvWriter.WriteToText(System.String[],System.Collections.Generic.IEnumerable{System.String[]},System.Char)">
<summary>
Writes the lines and return the result.
</summary>
<param name="headers">The headers that should be used for the first line, determines the number of columns.</param>
<param name="lines">The lines with data that should be written.</param>
<param name="separator">The separator to use between columns (comma, semicolon, tab, ...)</param>
</member>
<member name="T:Csv.HeaderMode">
<summary>
Indicates the presence or absence of a header row
</summary>
</member>
<member name="F:Csv.HeaderMode.HeaderPresent">
<summary>
Indicates that the CSV file has a header row
</summary>
</member>
<member name="F:Csv.HeaderMode.HeaderAbsent">
<summary>
Indicates that the CSV file does not have a header row
</summary>
</member>
<member name="T:Csv.ICsvLine">
<summary>
Represents a single data line inside a csv file.
</summary>
</member>
<member name="P:Csv.ICsvLine.Headers">
<summary>
Gets the headers from the csv file.
</summary>
</member>
<member name="P:Csv.ICsvLine.Raw">
<summary>
Gets the original raw content of the line.
</summary>
</member>
<member name="P:Csv.ICsvLine.Index">
<summary>
Gets the 1-based index for the line inside the file.
</summary>
</member>
<member name="P:Csv.ICsvLine.ColumnCount">
<summary>
Gets the number of columns of the line.
</summary>
</member>
<member name="P:Csv.ICsvLine.Item(System.String)">
<summary>
Gets the data for the specified named header.
</summary>
<param name="name">The name of the header.</param>
</member>
<member name="P:Csv.ICsvLine.Item(System.Int32)">
<summary>
Gets the data for the specified indexed header.
</summary>
<param name="index">The index of the header.</param>
</member>
</members>
</doc>
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
+57
View File
@@ -0,0 +1,57 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>ZebraPrinterSdk</name>
</assembly>
<members>
<member name="T:Zebra.Sdk.Graphics.Shared.IZebraImageFactory">
<summary>
A factory interface used to acquire a cross platform instance of ZebraImageI.
</summary>
</member>
<member name="M:Zebra.Sdk.Graphics.Shared.IZebraImageFactory.GetImage(System.String)">
<summary>
Creates an instance of <see cref="T:Zebra.Sdk.Graphics.ZebraImageI"/> from the image specified in <c>fullPath</c>.
</summary>
<param name="fullPath">The full path of the image.</param>
<returns>An image formatted for Zebra Printers</returns>
<exception cref="T:System.IO.IOException">If the file could not be found, open, or is an unsupported graphic.</exception>
<exception cref="T:System.ArgumentException">If <c>fullPath</c> is null.</exception>
</member>
<member name="M:Zebra.Sdk.Graphics.Shared.IZebraImageFactory.GetImage(System.Byte[])">
<summary>
Creates an instance of <see cref="T:Zebra.Sdk.Graphics.ZebraImageI"/> from the image data specified in <c>imageData</c>.
</summary>
<param name="imageData">A byte[] containing the image data.</param>
<returns>An image formatted for Zebra Printers.</returns>
<exception cref="T:System.IO.IOException">If the file could not be found, open, or is an unsupported graphic.</exception>
<exception cref="T:System.ArgumentException">If <c>imageData</c> is null.</exception>
</member>
<member name="M:Zebra.Sdk.Graphics.Shared.IZebraImageFactory.GetImage(System.IO.Stream)">
<summary>
Creates an instance of <see cref="T:Zebra.Sdk.Graphics.ZebraImageI"/> from the image data specified in <c>imageData</c>.
</summary>
<param name="imageData">A stream containing the image data.</param>
<returns>An image formatted for Zebra Printers.</returns>
<exception cref="T:System.IO.IOException">If the file could not be found, open, or is an unsupported graphic.</exception>
<exception cref="T:System.ArgumentException">If <c>imageData</c> is null.</exception>
</member>
<member name="T:Zebra.Sdk.Graphics.Shared.ZebraImageFactory">
<summary>
A factory used to acquire an instance of ZebraImageI.
</summary>
</member>
<member name="P:Zebra.Sdk.Graphics.Shared.ZebraImageFactory.Current">
<summary>
Current IZebraPrinterFactory to use
</summary>
</member>
<member name="M:Zebra.Sdk.Comm.Internal.BluetoothHelper.ConvertMacAddressToUlong(System.String)">
<summary>
</summary>
<param name="macAddress"></param>
<returns></returns>
<exception cref="T:System.ArgumentException"></exception>
</member>
</members>
</doc>
Binary file not shown.
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
Binary file not shown.
+68
View File
@@ -0,0 +1,68 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
ZebraPrinterUtilities
</name>
</assembly>
<members>
<member name="T:ZebraPrinterUtilities.My.MyWpfExtension">
<summary>
Modulo utilizzato per definire le proprietà disponibili nello spazio dei nomi My per WPF
</summary>
<remarks></remarks>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Application">
<summary>
Restituisce l'oggetto applicazione per l'applicazione in esecuzione
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Computer">
<summary>
Restituisce le informazioni sul computer host.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.User">
<summary>
Restituisce le informazioni per l'utente corrente. Se si desidera eseguire l'applicazione con le
credenziali utente di Windows correnti, chiamare My.User.InitializeWithWindowsUser().
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Log">
<summary>
Restituisce il registro applicazioni. I listener possono essere configurati dal file di configurazione dell'applicazione.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Windows">
<summary>
Restituisce la raccolta di oggetti Window definiti nel progetto.
</summary>
</member>
<member name="T:ZebraPrinterUtilities.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
<member name="T:ZebraPrinterUtilities.Application">
<summary>
Application
</summary>
</member>
<member name="M:ZebraPrinterUtilities.Application.Main">
<summary>
Application Entry Point.
</summary>
</member>
</members>
</doc>
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
+148
View File
@@ -0,0 +1,148 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Csv</name>
</assembly>
<members>
<member name="T:Csv.CsvOptions">
<summary>
Defines the options that can be passed to customize the reading or writing of csv files.
</summary>
</member>
<member name="P:Csv.CsvOptions.RowsToSkip">
<summary>
Gets or sets the number of rows to skip before reading the header row, defaults to <c>0</c>.
</summary>
</member>
<member name="P:Csv.CsvOptions.SkipRow">
<summary>
Gets or sets a function to skip the current row based on its raw string value or 1-based index. Skips empty rows and rows starting with # by default.
</summary>
</member>
<member name="P:Csv.CsvOptions.Separator">
<summary>
Gets or sets the character to use for separating data, defaults to <c>'\0'</c> which will auto-detect from the header row.
</summary>
</member>
<member name="P:Csv.CsvOptions.TrimData">
<summary>
Gets or sets wether data should be trimmed when accessed.
</summary>
</member>
<member name="P:Csv.CsvOptions.Comparer">
<summary>
Gets or sets the comparer to use when looking up header names.
</summary>
</member>
<member name="P:Csv.CsvOptions.HeaderMode">
<summary>
Gets or sets an indicator to the parser to expect a header row or not.
</summary>
</member>
<member name="P:Csv.CsvOptions.ValidateColumnCount">
<summary>
Gets or sets wether a row should be validated immediately that the column count matches the header count.
</summary>
</member>
<member name="T:Csv.CsvReader">
<summary>
Helper class to read csv (comma separated values) data.
</summary>
</member>
<member name="M:Csv.CsvReader.Read(System.IO.TextReader,Csv.CsvOptions)">
<summary>
Reads the lines from the reader.
</summary>
<param name="reader">The text reader to read the data from.</param>
<param name="options">The optional options to use when reading.</param>
</member>
<member name="M:Csv.CsvReader.ReadFromStream(System.IO.Stream,Csv.CsvOptions)">
<summary>
Reads the lines from the stream.
</summary>
<param name="stream">The stream to read the data from.</param>
<param name="options">The optional options to use when reading.</param>
</member>
<member name="M:Csv.CsvReader.ReadFromText(System.String,Csv.CsvOptions)">
<summary>
Reads the lines from the csv string.
</summary>
<param name="csv">The csv string to read the data from.</param>
<param name="options">The optional options to use when reading.</param>
</member>
<member name="T:Csv.CsvWriter">
<summary>
Helper class to write csv (comma separated values) data.
</summary>
</member>
<member name="M:Csv.CsvWriter.Write(System.IO.TextWriter,System.String[],System.Collections.Generic.IEnumerable{System.String[]},System.Char)">
<summary>
Writes the lines to the writer.
</summary>
<param name="writer">The text writer to write the data to.</param>
<param name="headers">The headers that should be used for the first line, determines the number of columns.</param>
<param name="lines">The lines with data that should be written.</param>
<param name="separator">The separator to use between columns (comma, semicolon, tab, ...)</param>
</member>
<member name="M:Csv.CsvWriter.WriteToText(System.String[],System.Collections.Generic.IEnumerable{System.String[]},System.Char)">
<summary>
Writes the lines and return the result.
</summary>
<param name="headers">The headers that should be used for the first line, determines the number of columns.</param>
<param name="lines">The lines with data that should be written.</param>
<param name="separator">The separator to use between columns (comma, semicolon, tab, ...)</param>
</member>
<member name="T:Csv.HeaderMode">
<summary>
Indicates the presence or absence of a header row
</summary>
</member>
<member name="F:Csv.HeaderMode.HeaderPresent">
<summary>
Indicates that the CSV file has a header row
</summary>
</member>
<member name="F:Csv.HeaderMode.HeaderAbsent">
<summary>
Indicates that the CSV file does not have a header row
</summary>
</member>
<member name="T:Csv.ICsvLine">
<summary>
Represents a single data line inside a csv file.
</summary>
</member>
<member name="P:Csv.ICsvLine.Headers">
<summary>
Gets the headers from the csv file.
</summary>
</member>
<member name="P:Csv.ICsvLine.Raw">
<summary>
Gets the original raw content of the line.
</summary>
</member>
<member name="P:Csv.ICsvLine.Index">
<summary>
Gets the 1-based index for the line inside the file.
</summary>
</member>
<member name="P:Csv.ICsvLine.ColumnCount">
<summary>
Gets the number of columns of the line.
</summary>
</member>
<member name="P:Csv.ICsvLine.Item(System.String)">
<summary>
Gets the data for the specified named header.
</summary>
<param name="name">The name of the header.</param>
</member>
<member name="P:Csv.ICsvLine.Item(System.Int32)">
<summary>
Gets the data for the specified indexed header.
</summary>
<param name="index">The index of the header.</param>
</member>
</members>
</doc>
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
+57
View File
@@ -0,0 +1,57 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>ZebraPrinterSdk</name>
</assembly>
<members>
<member name="T:Zebra.Sdk.Graphics.Shared.IZebraImageFactory">
<summary>
A factory interface used to acquire a cross platform instance of ZebraImageI.
</summary>
</member>
<member name="M:Zebra.Sdk.Graphics.Shared.IZebraImageFactory.GetImage(System.String)">
<summary>
Creates an instance of <see cref="T:Zebra.Sdk.Graphics.ZebraImageI"/> from the image specified in <c>fullPath</c>.
</summary>
<param name="fullPath">The full path of the image.</param>
<returns>An image formatted for Zebra Printers</returns>
<exception cref="T:System.IO.IOException">If the file could not be found, open, or is an unsupported graphic.</exception>
<exception cref="T:System.ArgumentException">If <c>fullPath</c> is null.</exception>
</member>
<member name="M:Zebra.Sdk.Graphics.Shared.IZebraImageFactory.GetImage(System.Byte[])">
<summary>
Creates an instance of <see cref="T:Zebra.Sdk.Graphics.ZebraImageI"/> from the image data specified in <c>imageData</c>.
</summary>
<param name="imageData">A byte[] containing the image data.</param>
<returns>An image formatted for Zebra Printers.</returns>
<exception cref="T:System.IO.IOException">If the file could not be found, open, or is an unsupported graphic.</exception>
<exception cref="T:System.ArgumentException">If <c>imageData</c> is null.</exception>
</member>
<member name="M:Zebra.Sdk.Graphics.Shared.IZebraImageFactory.GetImage(System.IO.Stream)">
<summary>
Creates an instance of <see cref="T:Zebra.Sdk.Graphics.ZebraImageI"/> from the image data specified in <c>imageData</c>.
</summary>
<param name="imageData">A stream containing the image data.</param>
<returns>An image formatted for Zebra Printers.</returns>
<exception cref="T:System.IO.IOException">If the file could not be found, open, or is an unsupported graphic.</exception>
<exception cref="T:System.ArgumentException">If <c>imageData</c> is null.</exception>
</member>
<member name="T:Zebra.Sdk.Graphics.Shared.ZebraImageFactory">
<summary>
A factory used to acquire an instance of ZebraImageI.
</summary>
</member>
<member name="P:Zebra.Sdk.Graphics.Shared.ZebraImageFactory.Current">
<summary>
Current IZebraPrinterFactory to use
</summary>
</member>
<member name="M:Zebra.Sdk.Comm.Internal.BluetoothHelper.ConvertMacAddressToUlong(System.String)">
<summary>
</summary>
<param name="macAddress"></param>
<returns></returns>
<exception cref="T:System.ArgumentException"></exception>
</member>
</members>
</doc>
Binary file not shown.
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
Binary file not shown.
+68
View File
@@ -0,0 +1,68 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
ZebraPrinterUtilities
</name>
</assembly>
<members>
<member name="T:ZebraPrinterUtilities.My.MyWpfExtension">
<summary>
Modulo utilizzato per definire le proprietà disponibili nello spazio dei nomi My per WPF
</summary>
<remarks></remarks>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Application">
<summary>
Restituisce l'oggetto applicazione per l'applicazione in esecuzione
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Computer">
<summary>
Restituisce le informazioni sul computer host.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.User">
<summary>
Restituisce le informazioni per l'utente corrente. Se si desidera eseguire l'applicazione con le
credenziali utente di Windows correnti, chiamare My.User.InitializeWithWindowsUser().
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Log">
<summary>
Restituisce il registro applicazioni. I listener possono essere configurati dal file di configurazione dell'applicazione.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Windows">
<summary>
Restituisce la raccolta di oggetti Window definiti nel progetto.
</summary>
</member>
<member name="T:ZebraPrinterUtilities.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
<member name="T:ZebraPrinterUtilities.Application">
<summary>
Application
</summary>
</member>
<member name="M:ZebraPrinterUtilities.Application.Main">
<summary>
Application Entry Point.
</summary>
</member>
</members>
</doc>
@@ -0,0 +1,7 @@
' <autogenerated/>
Option Strict Off
Option Explicit On
Imports System
Imports System.Reflection
<Assembly: Global.System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName:=".NET Framework 4.7.2")>
+55
View File
@@ -0,0 +1,55 @@
#ExternalChecksum("..\..\Application.xaml","{8829d00f-11b8-4213-878b-770e8597ac16}","B4EC3D1F99D2BE32F0C95BCA7B6518256E2BB01F0ECE73E3F01F97D7B947C9E6")
'------------------------------------------------------------------------------
' <auto-generated>
' Il codice è stato generato da uno strumento.
' Versione runtime:4.0.30319.42000
'
' Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
' il codice viene rigenerato.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict Off
Option Explicit On
Imports System
Imports System.Diagnostics
Imports System.Windows
Imports System.Windows.Automation
Imports System.Windows.Controls
Imports System.Windows.Controls.Primitives
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.Ink
Imports System.Windows.Input
Imports System.Windows.Markup
Imports System.Windows.Media
Imports System.Windows.Media.Animation
Imports System.Windows.Media.Effects
Imports System.Windows.Media.Imaging
Imports System.Windows.Media.Media3D
Imports System.Windows.Media.TextFormatting
Imports System.Windows.Navigation
Imports System.Windows.Shapes
Imports System.Windows.Shell
Imports ZebraPrinterUtilities
'''<summary>
'''Application
'''</summary>
Partial Public Class Application
Inherits System.Windows.Application
'''<summary>
'''Application Entry Point.
'''</summary>
<System.STAThreadAttribute(), _
System.Diagnostics.DebuggerNonUserCodeAttribute(), _
System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")> _
Public Shared Sub Main()
Dim app As Application = New Application()
app.Run
End Sub
End Class
+55
View File
@@ -0,0 +1,55 @@
#ExternalChecksum("..\..\Application.xaml","{8829d00f-11b8-4213-878b-770e8597ac16}","B4EC3D1F99D2BE32F0C95BCA7B6518256E2BB01F0ECE73E3F01F97D7B947C9E6")
'------------------------------------------------------------------------------
' <auto-generated>
' Il codice è stato generato da uno strumento.
' Versione runtime:4.0.30319.42000
'
' Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
' il codice viene rigenerato.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict Off
Option Explicit On
Imports System
Imports System.Diagnostics
Imports System.Windows
Imports System.Windows.Automation
Imports System.Windows.Controls
Imports System.Windows.Controls.Primitives
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.Ink
Imports System.Windows.Input
Imports System.Windows.Markup
Imports System.Windows.Media
Imports System.Windows.Media.Animation
Imports System.Windows.Media.Effects
Imports System.Windows.Media.Imaging
Imports System.Windows.Media.Media3D
Imports System.Windows.Media.TextFormatting
Imports System.Windows.Navigation
Imports System.Windows.Shapes
Imports System.Windows.Shell
Imports ZebraPrinterUtilities
'''<summary>
'''Application
'''</summary>
Partial Public Class Application
Inherits System.Windows.Application
'''<summary>
'''Application Entry Point.
'''</summary>
<System.STAThreadAttribute(), _
System.Diagnostics.DebuggerNonUserCodeAttribute(), _
System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")> _
Public Shared Sub Main()
Dim app As Application = New Application()
app.Run
End Sub
End Class
Binary file not shown.
+76
View File
@@ -0,0 +1,76 @@
#ExternalChecksum("..\..\MainWindow.xaml","{8829d00f-11b8-4213-878b-770e8597ac16}","A5A5A6C93107BBEF4E7CAD670521E84B7F1CB98C6F3F871C012B73897AF1497C")
'------------------------------------------------------------------------------
' <auto-generated>
' Il codice è stato generato da uno strumento.
' Versione runtime:4.0.30319.42000
'
' Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
' il codice viene rigenerato.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict Off
Option Explicit On
Imports System
Imports System.Diagnostics
Imports System.Windows
Imports System.Windows.Automation
Imports System.Windows.Controls
Imports System.Windows.Controls.Primitives
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.Ink
Imports System.Windows.Input
Imports System.Windows.Markup
Imports System.Windows.Media
Imports System.Windows.Media.Animation
Imports System.Windows.Media.Effects
Imports System.Windows.Media.Imaging
Imports System.Windows.Media.Media3D
Imports System.Windows.Media.TextFormatting
Imports System.Windows.Navigation
Imports System.Windows.Shapes
Imports System.Windows.Shell
Imports ZebraPrinterUtilities
'''<summary>
'''MainWindow
'''</summary>
<Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Public Class MainWindow
Inherits System.Windows.Window
Implements System.Windows.Markup.IComponentConnector
Private _contentLoaded As Boolean
'''<summary>
'''InitializeComponent
'''</summary>
<System.Diagnostics.DebuggerNonUserCodeAttribute(), _
System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")> _
Public Sub InitializeComponent() Implements System.Windows.Markup.IComponentConnector.InitializeComponent
If _contentLoaded Then
Return
End If
_contentLoaded = true
Dim resourceLocater As System.Uri = New System.Uri("/ZebraPrinterUtilities;component/mainwindow.xaml", System.UriKind.Relative)
#ExternalSource("..\..\MainWindow.xaml",1)
System.Windows.Application.LoadComponent(Me, resourceLocater)
#End ExternalSource
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute(), _
System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0"), _
System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never), _
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes"), _
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity"), _
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")> _
Sub System_Windows_Markup_IComponentConnector_Connect(ByVal connectionId As Integer, ByVal target As Object) Implements System.Windows.Markup.IComponentConnector.Connect
Me._contentLoaded = true
End Sub
End Class
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
04ef087c711b07f81dfaa2c1b11153f2950ac0b0
@@ -0,0 +1,31 @@
C:\EgtDev\ZebraPrinterUtilities\obj\Debug\Application.g.vb
C:\EgtDev\ZebraPrinterUtilities\obj\Debug\ZebraPrinterUtilities_MarkupCompile.cache
C:\EgtDev\ZebraPrinterUtilities\obj\Debug\ZebraPrinterUtilities.Resources.resources
C:\EgtDev\ZebraPrinterUtilities\obj\Debug\ZebraPrinterUtilities.vbproj.GenerateResource.cache
C:\EgtDev\ZebraPrinterUtilities\obj\Debug\ZebraPrinterUtilities.vbproj.CoreCompileInputs.cache
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\ZebraPrinterUtilities.exe.config
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\ZebraPrinterUtilities.exe
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\ZebraPrinterUtilities.pdb
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\ZebraPrinterUtilities.xml
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\BouncyCastle.Crypto.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\Csv.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\FluentFTP.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\Microsoft.DotNet.PlatformAbstractions.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\Microsoft.Extensions.DependencyModel.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\Newtonsoft.Json.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\SdkApi.Core.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\SdkApi.Desktop.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\SdkApi.Desktop.Usb.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\SharpSnmpLib.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\ZebraPrinterSdk.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\BouncyCastle.Crypto.xml
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\Csv.xml
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\FluentFTP.xml
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\Newtonsoft.Json.xml
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\SdkApi.Core.xml
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\SdkApi.Desktop.xml
C:\EgtDev\ZebraPrinterUtilities\bin\Debug\ZebraPrinterSdk.xml
C:\EgtDev\ZebraPrinterUtilities\obj\Debug\ZebraPrinterUtilities.vbproj.CopyComplete
C:\EgtDev\ZebraPrinterUtilities\obj\Debug\ZebraPrinterUtilities.exe
C:\EgtDev\ZebraPrinterUtilities\obj\Debug\ZebraPrinterUtilities.xml
C:\EgtDev\ZebraPrinterUtilities\obj\Debug\ZebraPrinterUtilities.pdb
+68
View File
@@ -0,0 +1,68 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
ZebraPrinterUtilities
</name>
</assembly>
<members>
<member name="T:ZebraPrinterUtilities.My.MyWpfExtension">
<summary>
Modulo utilizzato per definire le proprietà disponibili nello spazio dei nomi My per WPF
</summary>
<remarks></remarks>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Application">
<summary>
Restituisce l'oggetto applicazione per l'applicazione in esecuzione
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Computer">
<summary>
Restituisce le informazioni sul computer host.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.User">
<summary>
Restituisce le informazioni per l'utente corrente. Se si desidera eseguire l'applicazione con le
credenziali utente di Windows correnti, chiamare My.User.InitializeWithWindowsUser().
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Log">
<summary>
Restituisce il registro applicazioni. I listener possono essere configurati dal file di configurazione dell'applicazione.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Windows">
<summary>
Restituisce la raccolta di oggetti Window definiti nel progetto.
</summary>
</member>
<member name="T:ZebraPrinterUtilities.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
<member name="T:ZebraPrinterUtilities.Application">
<summary>
Application
</summary>
</member>
<member name="M:ZebraPrinterUtilities.Application.Main">
<summary>
Application Entry Point.
</summary>
</member>
</members>
</doc>
@@ -0,0 +1,20 @@
ZebraPrinterUtilities
winexe
VB
.vb
C:\EgtDev\ZebraPrinterUtilities\obj\Debug\
ZebraPrinterUtilities
none
false
C:\EgtDev\ZebraPrinterUtilities\Application.xaml
633751935
311830312596
False
@@ -0,0 +1,20 @@
ZebraPrinterUtilities
winexe
VB
.vb
C:\EgtDev\ZebraPrinterUtilities\obj\Debug\
ZebraPrinterUtilities
none
false
C:\EgtDev\ZebraPrinterUtilities\Application.xaml
7246719457
311830312596
False
@@ -0,0 +1,7 @@
' <autogenerated/>
Option Strict Off
Option Explicit On
Imports System
Imports System.Reflection
<Assembly: Global.System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName:=".NET Framework 4.7.2")>
+55
View File
@@ -0,0 +1,55 @@
#ExternalChecksum("..\..\Application.xaml","{8829d00f-11b8-4213-878b-770e8597ac16}","B4EC3D1F99D2BE32F0C95BCA7B6518256E2BB01F0ECE73E3F01F97D7B947C9E6")
'------------------------------------------------------------------------------
' <auto-generated>
' Il codice è stato generato da uno strumento.
' Versione runtime:4.0.30319.42000
'
' Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
' il codice viene rigenerato.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict Off
Option Explicit On
Imports System
Imports System.Diagnostics
Imports System.Windows
Imports System.Windows.Automation
Imports System.Windows.Controls
Imports System.Windows.Controls.Primitives
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.Ink
Imports System.Windows.Input
Imports System.Windows.Markup
Imports System.Windows.Media
Imports System.Windows.Media.Animation
Imports System.Windows.Media.Effects
Imports System.Windows.Media.Imaging
Imports System.Windows.Media.Media3D
Imports System.Windows.Media.TextFormatting
Imports System.Windows.Navigation
Imports System.Windows.Shapes
Imports System.Windows.Shell
Imports ZebraPrinterUtilities
'''<summary>
'''Application
'''</summary>
Partial Public Class Application
Inherits System.Windows.Application
'''<summary>
'''Application Entry Point.
'''</summary>
<System.STAThreadAttribute(), _
System.Diagnostics.DebuggerNonUserCodeAttribute(), _
System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")> _
Public Shared Sub Main()
Dim app As Application = New Application()
app.Run
End Sub
End Class
+55
View File
@@ -0,0 +1,55 @@
#ExternalChecksum("..\..\Application.xaml","{8829d00f-11b8-4213-878b-770e8597ac16}","B4EC3D1F99D2BE32F0C95BCA7B6518256E2BB01F0ECE73E3F01F97D7B947C9E6")
'------------------------------------------------------------------------------
' <auto-generated>
' Il codice è stato generato da uno strumento.
' Versione runtime:4.0.30319.42000
'
' Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
' il codice viene rigenerato.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict Off
Option Explicit On
Imports System
Imports System.Diagnostics
Imports System.Windows
Imports System.Windows.Automation
Imports System.Windows.Controls
Imports System.Windows.Controls.Primitives
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.Ink
Imports System.Windows.Input
Imports System.Windows.Markup
Imports System.Windows.Media
Imports System.Windows.Media.Animation
Imports System.Windows.Media.Effects
Imports System.Windows.Media.Imaging
Imports System.Windows.Media.Media3D
Imports System.Windows.Media.TextFormatting
Imports System.Windows.Navigation
Imports System.Windows.Shapes
Imports System.Windows.Shell
Imports ZebraPrinterUtilities
'''<summary>
'''Application
'''</summary>
Partial Public Class Application
Inherits System.Windows.Application
'''<summary>
'''Application Entry Point.
'''</summary>
<System.STAThreadAttribute(), _
System.Diagnostics.DebuggerNonUserCodeAttribute(), _
System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")> _
Public Shared Sub Main()
Dim app As Application = New Application()
app.Run
End Sub
End Class
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
39b003d77537d7eedca46cf55517c41b886fd3c4
@@ -0,0 +1,31 @@
C:\EgtDev\ZebraPrinterUtilities\bin\Release\ZebraPrinterUtilities.exe.config
C:\EgtDev\ZebraPrinterUtilities\bin\Release\ZebraPrinterUtilities.exe
C:\EgtDev\ZebraPrinterUtilities\bin\Release\ZebraPrinterUtilities.pdb
C:\EgtDev\ZebraPrinterUtilities\bin\Release\ZebraPrinterUtilities.xml
C:\EgtDev\ZebraPrinterUtilities\bin\Release\BouncyCastle.Crypto.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Release\Csv.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Release\FluentFTP.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Release\Microsoft.DotNet.PlatformAbstractions.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Release\Microsoft.Extensions.DependencyModel.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Release\Newtonsoft.Json.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Release\SdkApi.Core.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Release\SdkApi.Desktop.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Release\SdkApi.Desktop.Usb.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Release\SharpSnmpLib.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Release\ZebraPrinterSdk.dll
C:\EgtDev\ZebraPrinterUtilities\bin\Release\BouncyCastle.Crypto.xml
C:\EgtDev\ZebraPrinterUtilities\bin\Release\Csv.xml
C:\EgtDev\ZebraPrinterUtilities\bin\Release\FluentFTP.xml
C:\EgtDev\ZebraPrinterUtilities\bin\Release\Newtonsoft.Json.xml
C:\EgtDev\ZebraPrinterUtilities\bin\Release\SdkApi.Core.xml
C:\EgtDev\ZebraPrinterUtilities\bin\Release\SdkApi.Desktop.xml
C:\EgtDev\ZebraPrinterUtilities\bin\Release\ZebraPrinterSdk.xml
C:\EgtDev\ZebraPrinterUtilities\obj\Release\Application.g.vb
C:\EgtDev\ZebraPrinterUtilities\obj\Release\ZebraPrinterUtilities_MarkupCompile.cache
C:\EgtDev\ZebraPrinterUtilities\obj\Release\ZebraPrinterUtilities.Resources.resources
C:\EgtDev\ZebraPrinterUtilities\obj\Release\ZebraPrinterUtilities.vbproj.GenerateResource.cache
C:\EgtDev\ZebraPrinterUtilities\obj\Release\ZebraPrinterUtilities.vbproj.CoreCompileInputs.cache
C:\EgtDev\ZebraPrinterUtilities\obj\Release\ZebraPrinterUtilities.vbproj.CopyComplete
C:\EgtDev\ZebraPrinterUtilities\obj\Release\ZebraPrinterUtilities.exe
C:\EgtDev\ZebraPrinterUtilities\obj\Release\ZebraPrinterUtilities.xml
C:\EgtDev\ZebraPrinterUtilities\obj\Release\ZebraPrinterUtilities.pdb
+68
View File
@@ -0,0 +1,68 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
ZebraPrinterUtilities
</name>
</assembly>
<members>
<member name="T:ZebraPrinterUtilities.My.MyWpfExtension">
<summary>
Modulo utilizzato per definire le proprietà disponibili nello spazio dei nomi My per WPF
</summary>
<remarks></remarks>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Application">
<summary>
Restituisce l'oggetto applicazione per l'applicazione in esecuzione
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Computer">
<summary>
Restituisce le informazioni sul computer host.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.User">
<summary>
Restituisce le informazioni per l'utente corrente. Se si desidera eseguire l'applicazione con le
credenziali utente di Windows correnti, chiamare My.User.InitializeWithWindowsUser().
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Log">
<summary>
Restituisce il registro applicazioni. I listener possono essere configurati dal file di configurazione dell'applicazione.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.MyWpfExtension.Windows">
<summary>
Restituisce la raccolta di oggetti Window definiti nel progetto.
</summary>
</member>
<member name="T:ZebraPrinterUtilities.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:ZebraPrinterUtilities.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
<member name="T:ZebraPrinterUtilities.Application">
<summary>
Application
</summary>
</member>
<member name="M:ZebraPrinterUtilities.Application.Main">
<summary>
Application Entry Point.
</summary>
</member>
</members>
</doc>
@@ -0,0 +1,20 @@
ZebraPrinterUtilities
winexe
VB
.vb
C:\EgtDev\ZebraPrinterUtilities\obj\Release\
ZebraPrinterUtilities
none
false
C:\EgtDev\ZebraPrinterUtilities\Application.xaml
633751935
311830312596
False
@@ -0,0 +1,20 @@
ZebraPrinterUtilities
winexe
VB
.vb
C:\EgtDev\ZebraPrinterUtilities\obj\Release\
ZebraPrinterUtilities
none
false
C:\EgtDev\ZebraPrinterUtilities\Application.xaml
7-1044941030
311830312596
False
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Csv" version="1.0.31" targetFramework="net472" />
<package id="FluentFTP" version="19.2.2" targetFramework="net472" />
<package id="Lextm.SharpSnmpLib" version="10.0.9" targetFramework="net472" />
<package id="Microsoft.DotNet.PlatformAbstractions" version="2.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.DependencyModel" version="2.1.0" targetFramework="net472" />
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net472" />
<package id="Portable.BouncyCastle" version="1.8.2" targetFramework="net472" />
<package id="System.Collections.Specialized" version="4.3.0" targetFramework="net472" />
<package id="System.Net.NameResolution" version="4.3.0" targetFramework="net472" />
<package id="System.Net.Sockets" version="4.3.0" targetFramework="net472" />
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.0.0" targetFramework="net472" />
<package id="System.Xml.XmlDocument" version="4.3.0" targetFramework="net472" />
<package id="Zebra.Printer.SDK" version="2.15.2634" targetFramework="net472" />
</packages>
Binary file not shown.
Binary file not shown.
Binary file not shown.
+148
View File
@@ -0,0 +1,148 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Csv</name>
</assembly>
<members>
<member name="T:Csv.CsvOptions">
<summary>
Defines the options that can be passed to customize the reading or writing of csv files.
</summary>
</member>
<member name="P:Csv.CsvOptions.RowsToSkip">
<summary>
Gets or sets the number of rows to skip before reading the header row, defaults to <c>0</c>.
</summary>
</member>
<member name="P:Csv.CsvOptions.SkipRow">
<summary>
Gets or sets a function to skip the current row based on its raw string value or 1-based index. Skips empty rows and rows starting with # by default.
</summary>
</member>
<member name="P:Csv.CsvOptions.Separator">
<summary>
Gets or sets the character to use for separating data, defaults to <c>'\0'</c> which will auto-detect from the header row.
</summary>
</member>
<member name="P:Csv.CsvOptions.TrimData">
<summary>
Gets or sets wether data should be trimmed when accessed.
</summary>
</member>
<member name="P:Csv.CsvOptions.Comparer">
<summary>
Gets or sets the comparer to use when looking up header names.
</summary>
</member>
<member name="P:Csv.CsvOptions.HeaderMode">
<summary>
Gets or sets an indicator to the parser to expect a header row or not.
</summary>
</member>
<member name="P:Csv.CsvOptions.ValidateColumnCount">
<summary>
Gets or sets wether a row should be validated immediately that the column count matches the header count.
</summary>
</member>
<member name="T:Csv.CsvReader">
<summary>
Helper class to read csv (comma separated values) data.
</summary>
</member>
<member name="M:Csv.CsvReader.Read(System.IO.TextReader,Csv.CsvOptions)">
<summary>
Reads the lines from the reader.
</summary>
<param name="reader">The text reader to read the data from.</param>
<param name="options">The optional options to use when reading.</param>
</member>
<member name="M:Csv.CsvReader.ReadFromStream(System.IO.Stream,Csv.CsvOptions)">
<summary>
Reads the lines from the stream.
</summary>
<param name="stream">The stream to read the data from.</param>
<param name="options">The optional options to use when reading.</param>
</member>
<member name="M:Csv.CsvReader.ReadFromText(System.String,Csv.CsvOptions)">
<summary>
Reads the lines from the csv string.
</summary>
<param name="csv">The csv string to read the data from.</param>
<param name="options">The optional options to use when reading.</param>
</member>
<member name="T:Csv.CsvWriter">
<summary>
Helper class to write csv (comma separated values) data.
</summary>
</member>
<member name="M:Csv.CsvWriter.Write(System.IO.TextWriter,System.String[],System.Collections.Generic.IEnumerable{System.String[]},System.Char)">
<summary>
Writes the lines to the writer.
</summary>
<param name="writer">The text writer to write the data to.</param>
<param name="headers">The headers that should be used for the first line, determines the number of columns.</param>
<param name="lines">The lines with data that should be written.</param>
<param name="separator">The separator to use between columns (comma, semicolon, tab, ...)</param>
</member>
<member name="M:Csv.CsvWriter.WriteToText(System.String[],System.Collections.Generic.IEnumerable{System.String[]},System.Char)">
<summary>
Writes the lines and return the result.
</summary>
<param name="headers">The headers that should be used for the first line, determines the number of columns.</param>
<param name="lines">The lines with data that should be written.</param>
<param name="separator">The separator to use between columns (comma, semicolon, tab, ...)</param>
</member>
<member name="T:Csv.HeaderMode">
<summary>
Indicates the presence or absence of a header row
</summary>
</member>
<member name="F:Csv.HeaderMode.HeaderPresent">
<summary>
Indicates that the CSV file has a header row
</summary>
</member>
<member name="F:Csv.HeaderMode.HeaderAbsent">
<summary>
Indicates that the CSV file does not have a header row
</summary>
</member>
<member name="T:Csv.ICsvLine">
<summary>
Represents a single data line inside a csv file.
</summary>
</member>
<member name="P:Csv.ICsvLine.Headers">
<summary>
Gets the headers from the csv file.
</summary>
</member>
<member name="P:Csv.ICsvLine.Raw">
<summary>
Gets the original raw content of the line.
</summary>
</member>
<member name="P:Csv.ICsvLine.Index">
<summary>
Gets the 1-based index for the line inside the file.
</summary>
</member>
<member name="P:Csv.ICsvLine.ColumnCount">
<summary>
Gets the number of columns of the line.
</summary>
</member>
<member name="P:Csv.ICsvLine.Item(System.String)">
<summary>
Gets the data for the specified named header.
</summary>
<param name="name">The name of the header.</param>
</member>
<member name="P:Csv.ICsvLine.Item(System.Int32)">
<summary>
Gets the data for the specified indexed header.
</summary>
<param name="index">The index of the header.</param>
</member>
</members>
</doc>
Binary file not shown.
+148
View File
@@ -0,0 +1,148 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Csv</name>
</assembly>
<members>
<member name="T:Csv.CsvOptions">
<summary>
Defines the options that can be passed to customize the reading or writing of csv files.
</summary>
</member>
<member name="P:Csv.CsvOptions.RowsToSkip">
<summary>
Gets or sets the number of rows to skip before reading the header row, defaults to <c>0</c>.
</summary>
</member>
<member name="P:Csv.CsvOptions.SkipRow">
<summary>
Gets or sets a function to skip the current row based on its raw string value or 1-based index. Skips empty rows and rows starting with # by default.
</summary>
</member>
<member name="P:Csv.CsvOptions.Separator">
<summary>
Gets or sets the character to use for separating data, defaults to <c>'\0'</c> which will auto-detect from the header row.
</summary>
</member>
<member name="P:Csv.CsvOptions.TrimData">
<summary>
Gets or sets wether data should be trimmed when accessed.
</summary>
</member>
<member name="P:Csv.CsvOptions.Comparer">
<summary>
Gets or sets the comparer to use when looking up header names.
</summary>
</member>
<member name="P:Csv.CsvOptions.HeaderMode">
<summary>
Gets or sets an indicator to the parser to expect a header row or not.
</summary>
</member>
<member name="P:Csv.CsvOptions.ValidateColumnCount">
<summary>
Gets or sets wether a row should be validated immediately that the column count matches the header count.
</summary>
</member>
<member name="T:Csv.CsvReader">
<summary>
Helper class to read csv (comma separated values) data.
</summary>
</member>
<member name="M:Csv.CsvReader.Read(System.IO.TextReader,Csv.CsvOptions)">
<summary>
Reads the lines from the reader.
</summary>
<param name="reader">The text reader to read the data from.</param>
<param name="options">The optional options to use when reading.</param>
</member>
<member name="M:Csv.CsvReader.ReadFromStream(System.IO.Stream,Csv.CsvOptions)">
<summary>
Reads the lines from the stream.
</summary>
<param name="stream">The stream to read the data from.</param>
<param name="options">The optional options to use when reading.</param>
</member>
<member name="M:Csv.CsvReader.ReadFromText(System.String,Csv.CsvOptions)">
<summary>
Reads the lines from the csv string.
</summary>
<param name="csv">The csv string to read the data from.</param>
<param name="options">The optional options to use when reading.</param>
</member>
<member name="T:Csv.CsvWriter">
<summary>
Helper class to write csv (comma separated values) data.
</summary>
</member>
<member name="M:Csv.CsvWriter.Write(System.IO.TextWriter,System.String[],System.Collections.Generic.IEnumerable{System.String[]},System.Char)">
<summary>
Writes the lines to the writer.
</summary>
<param name="writer">The text writer to write the data to.</param>
<param name="headers">The headers that should be used for the first line, determines the number of columns.</param>
<param name="lines">The lines with data that should be written.</param>
<param name="separator">The separator to use between columns (comma, semicolon, tab, ...)</param>
</member>
<member name="M:Csv.CsvWriter.WriteToText(System.String[],System.Collections.Generic.IEnumerable{System.String[]},System.Char)">
<summary>
Writes the lines and return the result.
</summary>
<param name="headers">The headers that should be used for the first line, determines the number of columns.</param>
<param name="lines">The lines with data that should be written.</param>
<param name="separator">The separator to use between columns (comma, semicolon, tab, ...)</param>
</member>
<member name="T:Csv.HeaderMode">
<summary>
Indicates the presence or absence of a header row
</summary>
</member>
<member name="F:Csv.HeaderMode.HeaderPresent">
<summary>
Indicates that the CSV file has a header row
</summary>
</member>
<member name="F:Csv.HeaderMode.HeaderAbsent">
<summary>
Indicates that the CSV file does not have a header row
</summary>
</member>
<member name="T:Csv.ICsvLine">
<summary>
Represents a single data line inside a csv file.
</summary>
</member>
<member name="P:Csv.ICsvLine.Headers">
<summary>
Gets the headers from the csv file.
</summary>
</member>
<member name="P:Csv.ICsvLine.Raw">
<summary>
Gets the original raw content of the line.
</summary>
</member>
<member name="P:Csv.ICsvLine.Index">
<summary>
Gets the 1-based index for the line inside the file.
</summary>
</member>
<member name="P:Csv.ICsvLine.ColumnCount">
<summary>
Gets the number of columns of the line.
</summary>
</member>
<member name="P:Csv.ICsvLine.Item(System.String)">
<summary>
Gets the data for the specified named header.
</summary>
<param name="name">The name of the header.</param>
</member>
<member name="P:Csv.ICsvLine.Item(System.Int32)">
<summary>
Gets the data for the specified indexed header.
</summary>
<param name="index">The index of the header.</param>
</member>
</members>
</doc>
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More