Initial commit

Initial commit til Git.
V2 er deployed
This commit is contained in:
2026-06-13 17:31:50 +02:00
parent 9fcd2b145e
commit 41e23b6184
375 changed files with 15956 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
namespace ESCPOS_NET.Emitters.BaseCommandValues
{
public static class Barcodes
{
public static readonly byte PrintBarcode = 0x6B;
public static readonly byte SetBarcodeHeightInDots = 0x68;
public static readonly byte SetBarWidth = 0x77;
public static readonly byte SetBarLabelPosition = 0x48;
public static readonly byte SetBarLabelFont = 0x66;
public static readonly byte Set2DCode = 0x28;
public static readonly byte AutoEnding = 0x00;
public static readonly byte[] SetPDF417NumberOfColumns = { 0x03, 0x00, 0x30, 0x41 };
public static readonly byte[] SetPDF417NumberOfRows = { 0x03, 0x00, 0x30, 0x42 };
public static readonly byte[] SetPDF417DotSize = { 0x03, 0x00, 0x30, 0x43 };
public static readonly byte[] SetPDF417CorrectionLevel = { 0x04, 0x00, 0x30, 0x45, 0x30 };
public static readonly byte[] StorePDF417Data = { 0x00, 0x30, 0x50, 0x30 };
public static readonly byte[] PrintPDF417 = { 0x03, 0x00, 0x30, 0x51, 0x30 };
public static readonly byte[] SelectQRCodeModel = { 0x04, 0x00, 0x31, 0x41 };
public static readonly byte[] SetQRCodeDotSize = { 0x03, 0x00, 0x31, 0x43 };
public static readonly byte[] SetQRCodeCorrectionLevel = { 0x03, 0x00, 0x31, 0x45 };
public static readonly byte[] StoreQRCodeData = { 0x31, 0x50, 0x30 };
public static readonly byte[] PrintQRCode = { 0x03, 0x00, 0x31, 0x51, 0x30 };
}
}

View File

@@ -0,0 +1,13 @@
namespace ESCPOS_NET.Emitters.BaseCommandValues
{
public static class Chars
{
public static readonly byte StyleMode = 0x21;
public static readonly byte Alignment = 0x61;
public static readonly byte ReversePrintMode = 0x42;
public static readonly byte RightCharacterSpacing = 0x20;
public static readonly byte UpsideDownMode = 0x7B;
public static readonly byte CodePage = 0x74;
public static readonly byte Color = 0x72;
}
}

View File

@@ -0,0 +1,8 @@
namespace ESCPOS_NET.Emitters.BaseCommandValues
{
public static class Cmd
{
public static readonly byte ESC = 0x1B;
public static readonly byte GS = 0x1D;
}
}

View File

@@ -0,0 +1,7 @@
namespace ESCPOS_NET.Emitters.BaseCommandValues
{
public static class Display
{
public static readonly byte CLR = 0x0C;
}
}

View File

@@ -0,0 +1,10 @@
namespace ESCPOS_NET.Emitters.BaseCommandValues
{
public static class Functions
{
public static readonly byte PaperCutFullCut = 0x00;
public static readonly byte PaperCutFullCutWithFeed = 0x41;
public static readonly byte PaperCutPartialCut = 0x01;
public static readonly byte PaperCutPartialCutWithFeed = 0x42;
}
}

View File

@@ -0,0 +1,10 @@
namespace ESCPOS_NET.Emitters.BaseCommandValues
{
public static class Images
{
public static readonly byte ImageCmdParen = 0x28;
public static readonly byte ImageCmdLegacy = 0x76;
public static readonly byte ImageCmd8 = 0x38;
public static readonly byte ImageCmdL = 0x4C;
}
}

View File

@@ -0,0 +1,10 @@
namespace ESCPOS_NET.Emitters.BaseCommandValues
{
public static class Ops
{
public static readonly byte Initialize = 0x40;
public static readonly byte EnableDisable = 0x3D;
public static readonly byte PaperCut = 0x56;
public static readonly byte CashDrawerPulse = 0x70;
}
}

View File

@@ -0,0 +1,9 @@
namespace ESCPOS_NET.Emitters.BaseCommandValues
{
public static class Status
{
public static readonly byte AutomaticStatusBack = 0x61;
public static readonly byte AutomaticInkStatusBack = 0x6A;
public static readonly byte RequestStatus = 0x72;
}
}

View File

@@ -0,0 +1,13 @@
namespace ESCPOS_NET.Emitters.BaseCommandValues
{
public static class Whitespace
{
// TODO: tabs?
public static readonly byte Linefeed = 0x0A;
public static readonly byte FeedLines = 0x64;
public static readonly byte FeedLinesReverse = 0x65;
public static readonly byte FeedDots = 0x4A;
public static readonly byte ResetLineSpacing = 0x32;
public static readonly byte LineSpacingInDots = 0x33;
}
}