Documentation ¶
Overview ¶
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
* Copyright 2020 Anton Globa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
Index ¶
- Constants
- Variables
- func TSPLInitialize(mSystem MeasurementSystem)
- type AutoDetectBuilder
- type AutoDetectImpl
- type BackFeedBuilder
- type BackFeedImpl
- type BackupBuilder
- type BackupImpl
- type BarBuilder
- type BarImpl
- type BarcodeBuilder
- type BarcodeImpl
- func (b BarcodeImpl) Alignment(align int) BarcodeBuilder
- func (b BarcodeImpl) CodeType(codeType string) BarcodeBuilder
- func (b BarcodeImpl) Content(content string, quote bool) BarcodeBuilder
- func (b BarcodeImpl) GetMessage() ([]byte, error)
- func (b BarcodeImpl) Height(height int) BarcodeBuilder
- func (b BarcodeImpl) HumanReadable(humanReadable int) BarcodeBuilder
- func (b BarcodeImpl) Narrow(narrow int) BarcodeBuilder
- func (b BarcodeImpl) Rotation(angle int) BarcodeBuilder
- func (b BarcodeImpl) Wide(wide int) BarcodeBuilder
- func (b BarcodeImpl) XCoordinate(x int) BarcodeBuilder
- func (b BarcodeImpl) YCoordinate(y int) BarcodeBuilder
- type BlineBuilder
- type BlineDetectBuilder
- type BlineDetectImpl
- type BlineImpl
- type ClsBuilder
- type ClsImpl
- type CodePageBuilder
- type CodePageImpl
- type ConfigParam
- type CountryCommand
- type CutBuilder
- type CutImpl
- type DataMatrixBuilder
- type DataMatrixImpl
- func (d DataMatrixImpl) Content(content string, quote bool) DataMatrixBuilder
- func (d DataMatrixImpl) EscapeSequenceCharacter(chr int) DataMatrixBuilder
- func (d DataMatrixImpl) GetMessage() ([]byte, error)
- func (d DataMatrixImpl) Height(height int) DataMatrixBuilder
- func (d DataMatrixImpl) IsRectangle(rectangle bool) DataMatrixBuilder
- func (d DataMatrixImpl) ModuleSize(size int) DataMatrixBuilder
- func (d DataMatrixImpl) NumberCols(cols int) DataMatrixBuilder
- func (d DataMatrixImpl) NumberRows(rows int) DataMatrixBuilder
- func (d DataMatrixImpl) Rotation(angle int) DataMatrixBuilder
- func (d DataMatrixImpl) Width(width int) DataMatrixBuilder
- func (d DataMatrixImpl) XCoordinate(x int) DataMatrixBuilder
- func (d DataMatrixImpl) YCoordinate(y int) DataMatrixBuilder
- type DelayBuilder
- type DelayImpl
- type DensityBuilder
- type DensityImpl
- type DirectionBuilder
- type DirectionImpl
- type DownloadBuilder
- type DownloadImpl
- type DownloadStorage
- type EndBuilder
- type EndImpl
- type EojBuilder
- type EojImpl
- type EopBuilder
- type EopImpl
- type EthernetTSPLClient
- func (c *EthernetTSPLClient) AddResponseListener(listener chan *RawResponseEvent)
- func (c *EthernetTSPLClient) Connect() error
- func (c *EthernetTSPLClient) Disconnect() error
- func (c *EthernetTSPLClient) IsConnected() bool
- func (c *EthernetTSPLClient) ReadData(data []byte) (int, error)
- func (c *EthernetTSPLClient) SendCommand(command TSPLCommand) error
- func (c *EthernetTSPLClient) SendCommandSequence(commandSequence TSPLCommandSequence) error
- func (c *EthernetTSPLClient) SendData(data []byte) error
- type FeedBuilder
- type FeedImpl
- type FormFeedBuilder
- type FormFeedImpl
- type GapBuilder
- type GapDetectBuilder
- type GapDetectImpl
- type GapImpl
- type HomeBuilder
- type HomeImpl
- type InitialPrinterBuilder
- type InitialPrinterImpl
- type LimitFeedBuilder
- type LimitFeedImpl
- type MeasurementSystem
- type OffSetBuilder
- type OffSetImpl
- type PrintBuilder
- type PrintImpl
- type PrinterEvent
- type RawResponseEvent
- type ReferenceBuilder
- type ReferenceImpl
- type ResponseEvent
- type RunBuilder
- type RunImpl
- type SelfTestCommand
- type ShiftBuilder
- type ShiftImpl
- type SizeBuilder
- type SizeImpl
- type SoundBuilder
- type SoundImpl
- type SpeedBuilder
- type SpeedImpl
- type StatusCommand
- type TSPLClient
- type TSPLCommand
- type TSPLCommandSequence
- type TSPLLabel
- type TSPLLabelBuilder
- type TextAlignment
- type TextBuilder
- type TextImpl
- func (t TextImpl) Alignment(align TextAlignment) TextBuilder
- func (t TextImpl) Content(content string, quote bool) TextBuilder
- func (t TextImpl) FontName(name string) TextBuilder
- func (t TextImpl) GetMessage() ([]byte, error)
- func (t TextImpl) Rotation(angle int) TextBuilder
- func (t TextImpl) XCoordinate(x int) TextBuilder
- func (t TextImpl) XMultiplier(xm float64) TextBuilder
- func (t TextImpl) YCoordinate(y int) TextBuilder
- func (t TextImpl) YMultiplier(ym float64) TextBuilder
- type VariableBuilder
- type VariableImpl
Constants ¶
const ( BARCODE_NAME = "BARCODE" BARCODE_HUMAN_READABLE_MIN = 0 BARCODE_HUMAN_READABLE_MAX = 3 BARCODE_ALIGNMENT_MIN = 0 BARCODE_ALIGNMENT_MAX = 3 )
const ( DATAMATRIX_NAME = "DMATRIX" DATAMATRIX_ROWS_MIN = 10 DATAMATRIX_ROWS_MAX = 144 DATAMATRIX_COLS_MIN = 10 DATAMATRIX_COLS_MAX = 144 )
const ( TEXT_NAME = "TEXT" TEXT_ALIGNMENT_DEFAILT TextAlignment = iota TEXT_ALIGNMENT_LEFT TEXT_ALIGNMENT_CENTER TEXT_ALIGNMENT_RIGHT TEXT_MULTIPLIER_MIN = 1 TEXT_MULTIPLIER_MAX = 10 )
const ( BACKFEED_NAME = "BACKFEED" BACKFEED_MIN = 1 BBACKFEED_MAX = 9999 )
const ( BACKUP_NAME = "BACKUP" BACKUP_MIN = 1 BACKUP_MAX = 9999 )
const ( DENSITY_NAME = "DENSITY" DENSITY_DARKNESS_MIN = 0 DENSITY_DARKNESS_MAX = 15 )
const ( FEED_NAME = "FEED" FEED_MIN = 1 FEED_MAX = 9999 )
const ( PRINT_NAME = "PRINT" PRINT_NUMBERLABELS_MIN = 1 PRINT_NUMBERLABELS_MAX = 999999999 PRINT_NUMBERCOPIES_MIN = 0 PRINT_NUMBERCOPIES_MAX = 999999999 )
const ( SHIFT_NAME = "SHIFT" SHIFT_MIN = -300 SHIFT_MAX = -300 )
const ( SOUND_NAME = "SOUND" SOUND_LEVEL_MIN = 0 SOUND_LEVEL_MAX = 9 SOUND_INTERVAL_MIN = 1 SOUND_INTERVAL_MAX = 4095 )
const ( MEASUREMENT_SYSTEM_METRIC MeasurementSystem = iota + 1 MEASUREMENT_SYSTEM_DOT MEASUREMENT_SYSTEM_ENGLISH EMPTY_SPACE = " " VALUE_SEPARATOR = "," EQUAL_SYMBOL = "=" DOUBLE_QUOTE = "\"" STATUS_COMMAND_PREFIX = "!" UNIT_MM = "mm" UNIT_DOT = "dot" LF = 0x0A CR = 0x0D ESC = 0x1B )
const AUTODETECT_NAME = "AUTODETECT"
const (
BAR_NAME = "BAR"
)
const BLINEDETECT_NAME = "BLINEDETECT"
const BLINE_NAME = "BLINE"
const CLS_NAME = "CLS"
const (
CODEPAGE_NAME = "CODEPAGE"
)
const CUT_NAME = "CUT"
const (
DELAY_NAME = "DELAY"
)
const (
DIRECTION_NAME = "DIRECTION"
)
const END_NAME = "END"
const EOJ_NAME = "EOJ"
const EOP_NAME = "EOP"
const FORMFEED_NAME = "FORMFEED"
const GAPDETECT_NAME = "GAPDETECT"
const GAP_NAME = "GAP"
const HOME_NAME = "HOME"
const INITIALPRINTER_NAME = "INITIALPRINTER"
const (
LIMITFEED_NAME = "LIMITFEED"
)
const NET_TCP_NETWORK = "tcp"
const OFFSET_NAME = "OFFSET"
const (
REFERENCE_NAME = "REFERENCE"
)
const RUN_NAME = "RUN"
const (
SIZE_NAME = "SIZE"
)
const SPEED_NAME = "SPEED"
Variables ¶
var ( LINE_ENDING_BYTES = []byte{LF} ROTATION_ANGLES = []int{0, 90, 180, 270} )
Functions ¶
func TSPLInitialize ¶
func TSPLInitialize(mSystem MeasurementSystem)
Types ¶
type AutoDetectBuilder ¶
type AutoDetectBuilder interface { TSPLCommand PaperLength(paperLength float64) AutoDetectBuilder GapLength(gapLength float64) AutoDetectBuilder }
func AutoDetectCmd ¶
func AutoDetectCmd() AutoDetectBuilder
type AutoDetectImpl ¶
type AutoDetectImpl struct {
// contains filtered or unexported fields
}
func (AutoDetectImpl) GapLength ¶
func (gi AutoDetectImpl) GapLength(gapLength float64) AutoDetectBuilder
func (AutoDetectImpl) GetMessage ¶
func (gi AutoDetectImpl) GetMessage() ([]byte, error)
func (AutoDetectImpl) PaperLength ¶
func (gi AutoDetectImpl) PaperLength(paperLength float64) AutoDetectBuilder
type BackFeedBuilder ¶
type BackFeedBuilder interface { TSPLCommand Length(length int) BackFeedBuilder }
func BackFeedCmd ¶
func BackFeedCmd() BackFeedBuilder
type BackFeedImpl ¶
type BackFeedImpl struct {
// contains filtered or unexported fields
}
func (BackFeedImpl) GetMessage ¶
func (f BackFeedImpl) GetMessage() ([]byte, error)
func (BackFeedImpl) Length ¶
func (f BackFeedImpl) Length(length int) BackFeedBuilder
type BackupBuilder ¶
type BackupBuilder interface { TSPLCommand Length(length int) BackupBuilder }
func BackupCmd ¶
func BackupCmd() BackupBuilder
type BackupImpl ¶
type BackupImpl struct {
// contains filtered or unexported fields
}
func (BackupImpl) GetMessage ¶
func (f BackupImpl) GetMessage() ([]byte, error)
func (BackupImpl) Length ¶
func (f BackupImpl) Length(length int) BackupBuilder
type BarBuilder ¶
type BarBuilder interface { TSPLCommand XCoordinate(x int) BarBuilder YCoordinate(y int) BarBuilder Width(width int) BarBuilder Height(height int) BarBuilder }
func BarCmd ¶
func BarCmd() BarBuilder
type BarImpl ¶
type BarImpl struct {
// contains filtered or unexported fields
}
func (BarImpl) GetMessage ¶
func (BarImpl) Height ¶
func (b BarImpl) Height(height int) BarBuilder
func (BarImpl) Width ¶
func (b BarImpl) Width(width int) BarBuilder
func (BarImpl) XCoordinate ¶
func (b BarImpl) XCoordinate(x int) BarBuilder
func (BarImpl) YCoordinate ¶
func (b BarImpl) YCoordinate(y int) BarBuilder
type BarcodeBuilder ¶
type BarcodeBuilder interface { TSPLCommand XCoordinate(x int) BarcodeBuilder YCoordinate(y int) BarcodeBuilder Height(height int) BarcodeBuilder CodeType(codeType string) BarcodeBuilder HumanReadable(humanReadable int) BarcodeBuilder Rotation(angle int) BarcodeBuilder Narrow(narrow int) BarcodeBuilder Wide(wide int) BarcodeBuilder Alignment(align int) BarcodeBuilder Content(content string, quote bool) BarcodeBuilder }
func BarcodeCmd ¶
func BarcodeCmd() BarcodeBuilder
type BarcodeImpl ¶
type BarcodeImpl struct {
// contains filtered or unexported fields
}
func (BarcodeImpl) Alignment ¶
func (b BarcodeImpl) Alignment(align int) BarcodeBuilder
func (BarcodeImpl) CodeType ¶
func (b BarcodeImpl) CodeType(codeType string) BarcodeBuilder
func (BarcodeImpl) Content ¶
func (b BarcodeImpl) Content(content string, quote bool) BarcodeBuilder
func (BarcodeImpl) GetMessage ¶
func (b BarcodeImpl) GetMessage() ([]byte, error)
func (BarcodeImpl) Height ¶
func (b BarcodeImpl) Height(height int) BarcodeBuilder
func (BarcodeImpl) HumanReadable ¶
func (b BarcodeImpl) HumanReadable(humanReadable int) BarcodeBuilder
func (BarcodeImpl) Narrow ¶
func (b BarcodeImpl) Narrow(narrow int) BarcodeBuilder
func (BarcodeImpl) Rotation ¶
func (b BarcodeImpl) Rotation(angle int) BarcodeBuilder
func (BarcodeImpl) Wide ¶
func (b BarcodeImpl) Wide(wide int) BarcodeBuilder
func (BarcodeImpl) XCoordinate ¶
func (b BarcodeImpl) XCoordinate(x int) BarcodeBuilder
func (BarcodeImpl) YCoordinate ¶
func (b BarcodeImpl) YCoordinate(y int) BarcodeBuilder
type BlineBuilder ¶
type BlineBuilder interface { TSPLCommand LineHeight(lineHeight float64) BlineBuilder FeedingLength(feedingLength float64) BlineBuilder }
func BlineCmd ¶
func BlineCmd() BlineBuilder
type BlineDetectBuilder ¶
type BlineDetectBuilder interface { TSPLCommand PaperLength(paperLength float64) BlineDetectBuilder GapLength(gapLength float64) BlineDetectBuilder }
func BlineDetectCmd ¶
func BlineDetectCmd() BlineDetectBuilder
type BlineDetectImpl ¶
type BlineDetectImpl struct {
// contains filtered or unexported fields
}
func (BlineDetectImpl) GapLength ¶
func (gi BlineDetectImpl) GapLength(gapLength float64) BlineDetectBuilder
func (BlineDetectImpl) GetMessage ¶
func (gi BlineDetectImpl) GetMessage() ([]byte, error)
func (BlineDetectImpl) PaperLength ¶
func (gi BlineDetectImpl) PaperLength(paperLength float64) BlineDetectBuilder
type BlineImpl ¶
type BlineImpl struct {
// contains filtered or unexported fields
}
func (BlineImpl) FeedingLength ¶
func (gi BlineImpl) FeedingLength(feedingLength float64) BlineBuilder
func (BlineImpl) GetMessage ¶
func (BlineImpl) LineHeight ¶
func (gi BlineImpl) LineHeight(lineHeight float64) BlineBuilder
type CodePageBuilder ¶
type CodePageBuilder interface { TSPLCommand CodePage(codePage string) CodePageBuilder }
func CodePageCmd ¶
func CodePageCmd() CodePageBuilder
type CodePageImpl ¶
type CodePageImpl struct {
// contains filtered or unexported fields
}
func (CodePageImpl) CodePage ¶
func (c CodePageImpl) CodePage(codePage string) CodePageBuilder
func (CodePageImpl) GetMessage ¶
func (c CodePageImpl) GetMessage() ([]byte, error)
type ConfigParam ¶
type ConfigParam string
const ( RESPONSE_OFF ConfigParam = "RESPONSE OFF" RESPONSE_ON ConfigParam = "RESPONSE ON" PEEL_ON ConfigParam = "PEEL ON" PEEL_OFF ConfigParam = "PEEL ON" BACK_ON ConfigParam = "BACK ON" BACK_OFF ConfigParam = "BACK OFF" TEAR_ON ConfigParam = "TEAR ON" TEAR_OFF ConfigParam = "TEAR OFF" STRIPER_ON ConfigParam = "STRIPER ON" STRIPER_OFF ConfigParam = "STRIPER OFF" REWIND_ON ConfigParam = "REWIND ON" REWIND_OFF ConfigParam = "REWIND OFF" REWIND_RS232 ConfigParam = "REWIND RS232" BLINE_REVERSE ConfigParam = "BLINE REVERSE" BLINE_OBVERSE ConfigParam = "BLINE OBVERSE" HEAD_OFF ConfigParam = "HEAD OFF" HEAD_ON ConfigParam = "HEAD ON" RIBBON_ON ConfigParam = "RIBBON ON" RIBBON_OFF ConfigParam = "RIBBON OFF" RIBBON_INSIDE ConfigParam = "RIBBON INSIDE" RIBBON_OUTSIDE ConfigParam = "RIBBON OUTSIDE" )
func (ConfigParam) GetMessage ¶
func (r ConfigParam) GetMessage() ([]byte, error)
type CountryCommand ¶
type CountryCommand string
const ( COUNTRY_NAME = "COUNTRY" COUNTRY_USA CountryCommand = "001" COUNTRY_CANADIAN_FRENCH CountryCommand = "002" COUNTRY_SPANISH_LATHIN_AMERICA CountryCommand = "003" COUNTRY_DUTCH CountryCommand = "031" COUNTRY_BELGIAN CountryCommand = "032" COUNTRY_FRENCH_FRANCE CountryCommand = "033" COUNTRY_SPANISH_SPAIN CountryCommand = "034" COUNTRY_HUNGARIAN CountryCommand = "036" COUNTRY_YUGOSLAVIAN CountryCommand = "038" COUNTRY_ITALIAN CountryCommand = "039" COUNTRY_SWITZERLAND CountryCommand = "041" COUNTRY_SLOVAK CountryCommand = "042" COUNTRY_UNITED_KINGDOM CountryCommand = "044" COUNTRY_DANISH CountryCommand = "045" COUNTRY_SWEDISH CountryCommand = "046" COUNTRY_NORWEGIAN CountryCommand = "047" COUNTRY_POLISH CountryCommand = "048" COUNTRY_GERMAN CountryCommand = "049" COUNTRY_BRAZIL CountryCommand = "055" COUNTRY_ENGLISH_INTERNATIONAL CountryCommand = "061" COUNTRY_PORTUGUESE CountryCommand = "351" COUNTRY_FINNISH CountryCommand = "358" )
func (CountryCommand) GetMessage ¶
func (cc CountryCommand) GetMessage() ([]byte, error)
type DataMatrixBuilder ¶
type DataMatrixBuilder interface { TSPLCommand XCoordinate(x int) DataMatrixBuilder YCoordinate(y int) DataMatrixBuilder Width(width int) DataMatrixBuilder Height(height int) DataMatrixBuilder EscapeSequenceCharacter(chr int) DataMatrixBuilder ModuleSize(size int) DataMatrixBuilder Rotation(angle int) DataMatrixBuilder IsRectangle(rectangle bool) DataMatrixBuilder NumberCols(cols int) DataMatrixBuilder NumberRows(rows int) DataMatrixBuilder Content(content string, quote bool) DataMatrixBuilder }
func DataMatrixCmd ¶
func DataMatrixCmd() DataMatrixBuilder
type DataMatrixImpl ¶
type DataMatrixImpl struct {
// contains filtered or unexported fields
}
func (DataMatrixImpl) Content ¶
func (d DataMatrixImpl) Content(content string, quote bool) DataMatrixBuilder
func (DataMatrixImpl) EscapeSequenceCharacter ¶
func (d DataMatrixImpl) EscapeSequenceCharacter(chr int) DataMatrixBuilder
func (DataMatrixImpl) GetMessage ¶
func (d DataMatrixImpl) GetMessage() ([]byte, error)
func (DataMatrixImpl) Height ¶
func (d DataMatrixImpl) Height(height int) DataMatrixBuilder
func (DataMatrixImpl) IsRectangle ¶
func (d DataMatrixImpl) IsRectangle(rectangle bool) DataMatrixBuilder
func (DataMatrixImpl) ModuleSize ¶
func (d DataMatrixImpl) ModuleSize(size int) DataMatrixBuilder
func (DataMatrixImpl) NumberCols ¶
func (d DataMatrixImpl) NumberCols(cols int) DataMatrixBuilder
func (DataMatrixImpl) NumberRows ¶
func (d DataMatrixImpl) NumberRows(rows int) DataMatrixBuilder
func (DataMatrixImpl) Rotation ¶
func (d DataMatrixImpl) Rotation(angle int) DataMatrixBuilder
func (DataMatrixImpl) Width ¶
func (d DataMatrixImpl) Width(width int) DataMatrixBuilder
func (DataMatrixImpl) XCoordinate ¶
func (d DataMatrixImpl) XCoordinate(x int) DataMatrixBuilder
func (DataMatrixImpl) YCoordinate ¶
func (d DataMatrixImpl) YCoordinate(y int) DataMatrixBuilder
type DelayBuilder ¶
type DelayBuilder interface { TSPLCommand Duration(duration int) DelayBuilder }
func DelayCmd ¶
func DelayCmd() DelayBuilder
type DelayImpl ¶
type DelayImpl struct {
// contains filtered or unexported fields
}
func (DelayImpl) Duration ¶
func (d DelayImpl) Duration(duration int) DelayBuilder
func (DelayImpl) GetMessage ¶
type DensityBuilder ¶
type DensityBuilder interface { TSPLCommand Darkness(darkness int) DensityBuilder }
func DensityCmd ¶
func DensityCmd() DensityBuilder
type DensityImpl ¶
type DensityImpl struct {
// contains filtered or unexported fields
}
func (DensityImpl) Darkness ¶
func (di DensityImpl) Darkness(darkness int) DensityBuilder
func (DensityImpl) GetMessage ¶
func (di DensityImpl) GetMessage() ([]byte, error)
type DirectionBuilder ¶
type DirectionBuilder interface { TSPLCommand Direction(direction bool) DirectionBuilder Mirror(mirror bool) DirectionBuilder }
func DirectionCmd ¶
func DirectionCmd() DirectionBuilder
type DirectionImpl ¶
type DirectionImpl struct {
// contains filtered or unexported fields
}
func (DirectionImpl) Direction ¶
func (d DirectionImpl) Direction(direction bool) DirectionBuilder
func (DirectionImpl) GetMessage ¶
func (d DirectionImpl) GetMessage() ([]byte, error)
func (DirectionImpl) Mirror ¶
func (d DirectionImpl) Mirror(mirror bool) DirectionBuilder
type DownloadBuilder ¶
type DownloadBuilder interface { TSPLCommand Storage(storage DownloadStorage) DownloadBuilder Name(name string) DownloadBuilder }
func DownloadCmd ¶
func DownloadCmd() DownloadBuilder
type DownloadImpl ¶
type DownloadImpl struct {
// contains filtered or unexported fields
}
func (DownloadImpl) GetMessage ¶
func (d DownloadImpl) GetMessage() ([]byte, error)
func (DownloadImpl) Name ¶
func (d DownloadImpl) Name(name string) DownloadBuilder
func (DownloadImpl) Storage ¶
func (d DownloadImpl) Storage(storage DownloadStorage) DownloadBuilder
type DownloadStorage ¶
type DownloadStorage string
const ( DOWNLOAD_NAME = "DOWNLOAD" DOWNLOAD_STORGAE_DRAM DownloadStorage = "" DOWNLOAD_STORAGE_FLASH DownloadStorage = "F" DOWNLOAD_STORAGE_EXPANSION_MODULE DownloadStorage = "E" )
type EopBuilder ¶
type EopBuilder interface { TSPLCommand }
type EthernetTSPLClient ¶
type EthernetTSPLClient struct {
// contains filtered or unexported fields
}
func (*EthernetTSPLClient) AddResponseListener ¶
func (c *EthernetTSPLClient) AddResponseListener(listener chan *RawResponseEvent)
func (*EthernetTSPLClient) Connect ¶
func (c *EthernetTSPLClient) Connect() error
func (*EthernetTSPLClient) Disconnect ¶
func (c *EthernetTSPLClient) Disconnect() error
func (*EthernetTSPLClient) IsConnected ¶
func (c *EthernetTSPLClient) IsConnected() bool
func (*EthernetTSPLClient) ReadData ¶
func (c *EthernetTSPLClient) ReadData(data []byte) (int, error)
func (*EthernetTSPLClient) SendCommand ¶
func (c *EthernetTSPLClient) SendCommand(command TSPLCommand) error
func (*EthernetTSPLClient) SendCommandSequence ¶
func (c *EthernetTSPLClient) SendCommandSequence(commandSequence TSPLCommandSequence) error
func (*EthernetTSPLClient) SendData ¶
func (c *EthernetTSPLClient) SendData(data []byte) error
type FeedBuilder ¶
type FeedBuilder interface { TSPLCommand Length(length int) FeedBuilder }
func FeedCmd ¶
func FeedCmd() FeedBuilder
type FeedImpl ¶
type FeedImpl struct {
// contains filtered or unexported fields
}
func (FeedImpl) GetMessage ¶
func (FeedImpl) Length ¶
func (f FeedImpl) Length(length int) FeedBuilder
type FormFeedBuilder ¶
type FormFeedBuilder interface { TSPLCommand }
func FormFeedCmd ¶
func FormFeedCmd() FormFeedBuilder
type FormFeedImpl ¶
type FormFeedImpl struct { }
func (FormFeedImpl) GetMessage ¶
func (c FormFeedImpl) GetMessage() ([]byte, error)
type GapBuilder ¶
type GapBuilder interface { TSPLCommand LabelDistance(labelDistance float64) GapBuilder LabelOffsetDistance(labelOffsetDistance float64) GapBuilder }
func GapCmd ¶
func GapCmd() GapBuilder
type GapDetectBuilder ¶
type GapDetectBuilder interface { TSPLCommand PaperLength(paperLength float64) GapDetectBuilder GapLength(gapLength float64) GapDetectBuilder }
func GapDetectCmd ¶
func GapDetectCmd() GapDetectBuilder
type GapDetectImpl ¶
type GapDetectImpl struct {
// contains filtered or unexported fields
}
func (GapDetectImpl) GapLength ¶
func (gi GapDetectImpl) GapLength(gapLength float64) GapDetectBuilder
func (GapDetectImpl) GetMessage ¶
func (gi GapDetectImpl) GetMessage() ([]byte, error)
func (GapDetectImpl) PaperLength ¶
func (gi GapDetectImpl) PaperLength(paperLength float64) GapDetectBuilder
type GapImpl ¶
type GapImpl struct {
// contains filtered or unexported fields
}
func (GapImpl) GetMessage ¶
func (GapImpl) LabelDistance ¶
func (gi GapImpl) LabelDistance(labelDistance float64) GapBuilder
func (GapImpl) LabelOffsetDistance ¶
func (gi GapImpl) LabelOffsetDistance(labelOffsetDistance float64) GapBuilder
type HomeBuilder ¶
type HomeBuilder interface { TSPLCommand }
func EopCmd ¶
func EopCmd() HomeBuilder
func HomeCmd ¶
func HomeCmd() HomeBuilder
type InitialPrinterBuilder ¶
type InitialPrinterBuilder interface { TSPLCommand }
func InitialPrinterCmd ¶
func InitialPrinterCmd() InitialPrinterBuilder
type InitialPrinterImpl ¶
type InitialPrinterImpl struct { }
func (InitialPrinterImpl) GetMessage ¶
func (c InitialPrinterImpl) GetMessage() ([]byte, error)
type LimitFeedBuilder ¶
type LimitFeedBuilder interface { TSPLCommand LengthSensorDetect(length float64) LimitFeedBuilder LengthPaper(length float64) LimitFeedBuilder LengthGap(length float64) LimitFeedBuilder }
func LimitFeedCmd ¶
func LimitFeedCmd() LimitFeedBuilder
type LimitFeedImpl ¶
type LimitFeedImpl struct {
// contains filtered or unexported fields
}
func (LimitFeedImpl) GetMessage ¶
func (l LimitFeedImpl) GetMessage() ([]byte, error)
func (LimitFeedImpl) LengthGap ¶
func (l LimitFeedImpl) LengthGap(length float64) LimitFeedBuilder
func (LimitFeedImpl) LengthPaper ¶
func (l LimitFeedImpl) LengthPaper(length float64) LimitFeedBuilder
func (LimitFeedImpl) LengthSensorDetect ¶
func (l LimitFeedImpl) LengthSensorDetect(length float64) LimitFeedBuilder
type MeasurementSystem ¶
type MeasurementSystem int
type OffSetBuilder ¶
type OffSetBuilder interface { TSPLCommand Distance(distance float64) OffSetBuilder }
func OffSetCmd ¶
func OffSetCmd() OffSetBuilder
type OffSetImpl ¶
type OffSetImpl struct {
// contains filtered or unexported fields
}
func (OffSetImpl) Distance ¶
func (os OffSetImpl) Distance(distance float64) OffSetBuilder
func (OffSetImpl) GetMessage ¶
func (os OffSetImpl) GetMessage() ([]byte, error)
type PrintBuilder ¶
type PrintBuilder interface { TSPLCommand NumberLabels(numberLabels int) PrintBuilder NumberCopies(numberCopies int) PrintBuilder }
func PrintCmd ¶
func PrintCmd() PrintBuilder
type PrintImpl ¶
type PrintImpl struct {
// contains filtered or unexported fields
}
func (PrintImpl) GetMessage ¶
func (PrintImpl) NumberCopies ¶
func (p PrintImpl) NumberCopies(numberCopies int) PrintBuilder
func (PrintImpl) NumberLabels ¶
func (p PrintImpl) NumberLabels(numberLabels int) PrintBuilder
type PrinterEvent ¶
type RawResponseEvent ¶
type ReferenceBuilder ¶
type ReferenceBuilder interface { TSPLCommand Horizontal(horizontal int) ReferenceBuilder Vertical(vertical int) ReferenceBuilder }
func ReferenceCmd ¶
func ReferenceCmd() ReferenceBuilder
type ReferenceImpl ¶
type ReferenceImpl struct {
// contains filtered or unexported fields
}
func (ReferenceImpl) GetMessage ¶
func (r ReferenceImpl) GetMessage() ([]byte, error)
func (ReferenceImpl) Horizontal ¶
func (r ReferenceImpl) Horizontal(horizontal int) ReferenceBuilder
func (ReferenceImpl) Vertical ¶
func (r ReferenceImpl) Vertical(vertical int) ReferenceBuilder
type ResponseEvent ¶
type RunBuilder ¶
type RunBuilder interface { TSPLCommand File(name string) RunBuilder }
func RunCmd ¶
func RunCmd() RunBuilder
type RunImpl ¶
type RunImpl struct {
// contains filtered or unexported fields
}
func (RunImpl) File ¶
func (r RunImpl) File(name string) RunBuilder
func (RunImpl) GetMessage ¶
type SelfTestCommand ¶
type SelfTestCommand string
const ( SELFTEST_NAME = "SELFTEST" SELFTEST SelfTestCommand = "" SELFTEST_PATTERN SelfTestCommand = "PATTERN" SELFTEST_ETHERNET SelfTestCommand = "ETHERNET" SELFTEST_WLAN SelfTestCommand = "WLAN" SELFTEST_RS232 SelfTestCommand = "RS232" SELFTEST_SYSTEM SelfTestCommand = "SYSTEM" SELFTEST_Z SelfTestCommand = "Z" SELFTEST_BT SelfTestCommand = "BT" )
func (SelfTestCommand) GetMessage ¶
func (st SelfTestCommand) GetMessage() ([]byte, error)
type ShiftBuilder ¶
type ShiftBuilder interface { TSPLCommand Horizontal(horizontal int) ShiftBuilder Vertical(vertical int) ShiftBuilder }
func ShiftCmd ¶
func ShiftCmd() ShiftBuilder
type ShiftImpl ¶
type ShiftImpl struct {
// contains filtered or unexported fields
}
func (ShiftImpl) GetMessage ¶
func (ShiftImpl) Horizontal ¶
func (s ShiftImpl) Horizontal(horizontal int) ShiftBuilder
func (ShiftImpl) Vertical ¶
func (s ShiftImpl) Vertical(vertical int) ShiftBuilder
type SizeBuilder ¶
type SizeBuilder interface { TSPLCommand LabelWidth(labelWidth float64) SizeBuilder LabelLength(labelLength float64) SizeBuilder }
func SizeCmd ¶
func SizeCmd() SizeBuilder
type SizeImpl ¶
type SizeImpl struct {
// contains filtered or unexported fields
}
func (SizeImpl) GetMessage ¶
func (SizeImpl) LabelLength ¶
func (si SizeImpl) LabelLength(labelLength float64) SizeBuilder
func (SizeImpl) LabelWidth ¶
func (si SizeImpl) LabelWidth(labelWidth float64) SizeBuilder
type SoundBuilder ¶
type SoundBuilder interface { TSPLCommand VolumeLevel(volumeLevel int) SoundBuilder TimingInterval(timingInterval int) SoundBuilder }
func SoundCmd ¶
func SoundCmd() SoundBuilder
type SoundImpl ¶
type SoundImpl struct {
// contains filtered or unexported fields
}
func (SoundImpl) GetMessage ¶
func (SoundImpl) TimingInterval ¶
func (s SoundImpl) TimingInterval(timingInterval int) SoundBuilder
func (SoundImpl) VolumeLevel ¶
func (s SoundImpl) VolumeLevel(volumeLevel int) SoundBuilder
type SpeedBuilder ¶
type SpeedBuilder interface { TSPLCommand PrintSpeed(printSpeed float64) SpeedBuilder }
func SpeedCmd ¶
func SpeedCmd() SpeedBuilder
type SpeedImpl ¶
type SpeedImpl struct {
// contains filtered or unexported fields
}
func (SpeedImpl) GetMessage ¶
func (SpeedImpl) PrintSpeed ¶
func (s SpeedImpl) PrintSpeed(printSpeed float64) SpeedBuilder
type StatusCommand ¶
type StatusCommand string
const ( PAUSE StatusCommand = "P" CANCEL_PAUSE StatusCommand = "O" CANCEL_PRINTING StatusCommand = "." )
func (StatusCommand) GetMessage ¶
func (s StatusCommand) GetMessage() ([]byte, error)
type TSPLClient ¶
type TSPLClient interface { Connect() error Disconnect() error SendData(data []byte) error ReadData(data []byte) (int, error) SendCommandSequence(commandSequence TSPLCommandSequence) error SendCommand(command TSPLCommand) error IsConnected() bool AddResponseListener(listener chan *RawResponseEvent) }
func NewEthernetTSPLClient ¶
func NewEthernetTSPLClient(address string) TSPLClient
func NewTcpTSPLClient ¶
func NewTcpTSPLClient(address string, measurementSystem MeasurementSystem) TSPLClient
type TSPLCommand ¶
type TSPLCommandSequence ¶
type TSPLCommandSequence interface {
// contains filtered or unexported methods
}
type TSPLLabel ¶
type TSPLLabel struct {
// contains filtered or unexported fields
}
func (TSPLLabel) Cmd ¶
func (T TSPLLabel) Cmd(command TSPLCommand) TSPLLabelBuilder
type TSPLLabelBuilder ¶
type TSPLLabelBuilder interface { TSPLCommandSequence Cmd(command TSPLCommand) TSPLLabelBuilder }
func NewTSPLLabel ¶
func NewTSPLLabel() TSPLLabelBuilder
type TextAlignment ¶
type TextAlignment int
type TextBuilder ¶
type TextBuilder interface { TSPLCommand XCoordinate(x int) TextBuilder YCoordinate(y int) TextBuilder FontName(name string) TextBuilder Rotation(angle int) TextBuilder XMultiplier(xm float64) TextBuilder YMultiplier(ym float64) TextBuilder Alignment(align TextAlignment) TextBuilder Content(content string, quote bool) TextBuilder }
func Text ¶
func Text() TextBuilder
type TextImpl ¶
type TextImpl struct {
// contains filtered or unexported fields
}
func (TextImpl) Alignment ¶
func (t TextImpl) Alignment(align TextAlignment) TextBuilder
func (TextImpl) FontName ¶
func (t TextImpl) FontName(name string) TextBuilder
func (TextImpl) GetMessage ¶
func (TextImpl) Rotation ¶
func (t TextImpl) Rotation(angle int) TextBuilder
func (TextImpl) XCoordinate ¶
func (t TextImpl) XCoordinate(x int) TextBuilder
func (TextImpl) XMultiplier ¶
func (t TextImpl) XMultiplier(xm float64) TextBuilder
func (TextImpl) YCoordinate ¶
func (t TextImpl) YCoordinate(y int) TextBuilder
func (TextImpl) YMultiplier ¶
func (t TextImpl) YMultiplier(ym float64) TextBuilder
type VariableBuilder ¶
type VariableBuilder interface { TSPLCommand Name(name string) VariableBuilder Value(value string, quote bool) VariableBuilder }
func IntVariable ¶
func IntVariable(name string, value int) VariableBuilder
func StringVariable ¶
func StringVariable(name string, value string) VariableBuilder
func VariableCmd ¶
func VariableCmd() VariableBuilder
type VariableImpl ¶
type VariableImpl struct {
// contains filtered or unexported fields
}
func (VariableImpl) GetMessage ¶
func (v VariableImpl) GetMessage() ([]byte, error)
func (VariableImpl) Name ¶
func (v VariableImpl) Name(name string) VariableBuilder
func (VariableImpl) Value ¶
func (v VariableImpl) Value(value string, quote bool) VariableBuilder
Source Files ¶
- command.go
- command_basic_end.go
- command_device_config.go
- command_filemgmt_eop.go
- command_filemgmt_run.go
- command_label_bar.go
- command_label_barcode.go
- command_label_datamatrix.go
- command_label_text.go
- command_sequence.go
- command_status.go
- command_system_autodetect.go
- command_system_backfeed.go
- command_system_backup.go
- command_system_bline.go
- command_system_blinedetect.go
- command_system_cls.go
- command_system_codepage.go
- command_system_country.go
- command_system_cut.go
- command_system_delay.go
- command_system_density.go
- command_system_direction.go
- command_system_eoj.go
- command_system_feed.go
- command_system_formfeed.go
- command_system_gap.go
- command_system_gapdetect.go
- command_system_home.go
- command_system_initialprinter.go
- command_system_limitfeed.go
- command_system_offset.go
- command_system_print.go
- command_system_reference.go
- command_system_selftest.go
- command_system_shift.go
- command_system_size.go
- command_system_sound.go
- command_system_speed.go
- command_util_variable.go
- commang_filemgmt_download.go
- constants.go
- ethernet_client.go
- event_response.go
- gotspl.go
- printer_event.go
- tspl_client.go
- tspl_label.go
- utils.go