Skip navigation links
A C D E F G I P S V Z 

A

addElement(ZebraElement) - Method in class fr.w3blog.zpl.model.ZebraLabel
Function to add Element on etiquette.

C

convertAccentToZplAsciiHexa(String) - Static method in class fr.w3blog.zpl.utils.ZplUtils
Function used to converted ASCII >127 in \hexaCode accepted by ZPL language
convertPointInPixel(int) - Static method in class fr.w3blog.zpl.utils.ZplUtils
Convert point(pt) in pixel(px)

D

defaultDrawGraphic - Variable in class fr.w3blog.zpl.model.ZebraElement
Will draw a default box on the graphic if drawGraphic method is not overload
drawPreviewGraphic(PrinterOptions, Graphics2D) - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
Used to draw label preview.
drawPreviewGraphic(PrinterOptions, Graphics2D) - Method in class fr.w3blog.zpl.model.element.ZebraText
Used to draw label preview.
drawPreviewGraphic(PrinterOptions, Graphics2D) - Method in class fr.w3blog.zpl.model.ZebraElement
Used to draw label preview.
drawTopString(Graphics2D, Font, String, int, int) - Method in class fr.w3blog.zpl.model.ZebraElement
Function to draw Element, based on top position.

E

extractDotsFromFont(ZebraFont, int, ZebraPPP) - Static method in class fr.w3blog.zpl.utils.ZplUtils
Extract from font, fontSize and PPP the height and width in dots.

F

findBestEquivalentFontForPreview(ZebraFont) - Static method in enum fr.w3blog.zpl.constant.ZebraFont
Fonction use for preview to find an equivalent font compatible with Graphic2D
fr.w3blog.zpl.constant - package fr.w3blog.zpl.constant
 
fr.w3blog.zpl.model - package fr.w3blog.zpl.model
 
fr.w3blog.zpl.model.element - package fr.w3blog.zpl.model.element
 
fr.w3blog.zpl.utils - package fr.w3blog.zpl.utils
 

G

getBarCodeHeigth() - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 
getBarCodeWidth() - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 
getDefaultFontSize() - Method in class fr.w3blog.zpl.model.PrinterOptions
 
getDefaultZebraFont() - Method in class fr.w3blog.zpl.model.PrinterOptions
 
getDesiredMode() - Method in enum fr.w3blog.zpl.constant.ZebraPrintMode
 
getDotByMm() - Method in enum fr.w3blog.zpl.constant.ZebraPPP
 
getHeightDots() - Method in class fr.w3blog.zpl.model.ZebraLabel
 
getImagePreview() - Method in class fr.w3blog.zpl.model.ZebraLabel
Function use to have a preview of label rendering (not reflects reality).
getLetter() - Method in enum fr.w3blog.zpl.constant.ZebraFont
 
getLetter() - Method in enum fr.w3blog.zpl.constant.ZebraRotation
 
getPositionX() - Method in class fr.w3blog.zpl.model.ZebraElement
 
getPositionY() - Method in class fr.w3blog.zpl.model.ZebraElement
 
getPrePeelSelect() - Method in enum fr.w3blog.zpl.constant.ZebraPrintMode
 
getPrinterOptions() - Method in class fr.w3blog.zpl.model.ZebraLabel
 
getStartZplCodeBuilder() - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 
getText() - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 
getWideBarRatio() - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 
getWidthDots() - Method in class fr.w3blog.zpl.model.ZebraLabel
 
getZebraElements() - Method in class fr.w3blog.zpl.model.ZebraLabel
 
getZebraPPP() - Method in class fr.w3blog.zpl.model.PrinterOptions
 
getZebraPrintMode() - Method in class fr.w3blog.zpl.model.ZebraLabel
 
getZebraRotation() - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 
getZplCode() - Method in enum fr.w3blog.zpl.constant.ZebraPrintMode
Function which return ^MM command
getZplCode(PrinterOptions) - Method in class fr.w3blog.zpl.model.element.ZebraAFontElement
 
getZplCode(PrinterOptions) - Method in class fr.w3blog.zpl.model.element.ZebraBarCode128
 
getZplCode(PrinterOptions) - Method in class fr.w3blog.zpl.model.element.ZebraBarCode39
 
getZplCode(PrinterOptions) - Method in class fr.w3blog.zpl.model.element.ZebraGraficBox
 
getZplCode(PrinterOptions) - Method in class fr.w3blog.zpl.model.element.ZebraNativeZpl
 
getZplCode(PrinterOptions) - Method in class fr.w3blog.zpl.model.element.ZebraText
 
getZplCode(PrinterOptions) - Method in class fr.w3blog.zpl.model.ZebraElement
Return Zpl code for this Element
getZplCode() - Method in class fr.w3blog.zpl.model.ZebraLabel
 
getZplCodePosition() - Method in class fr.w3blog.zpl.model.element.ZebraGraficBox
 
getZplCodePosition() - Method in class fr.w3blog.zpl.model.ZebraElement
Function used by child class if you want to set position before draw your element.

I

isCheckDigit43() - Method in class fr.w3blog.zpl.model.element.ZebraBarCode128
 
isCheckDigit43() - Method in class fr.w3blog.zpl.model.element.ZebraBarCode39
 
isShowTextInterpretation() - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 
isShowTextInterpretationAbove() - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 

P

positionX - Variable in class fr.w3blog.zpl.model.ZebraElement
x-axis location (in dots)
positionY - Variable in class fr.w3blog.zpl.model.ZebraElement
y-axis location (in dots)
PrinterOptions - Class in fr.w3blog.zpl.model
Object about printer type and model,sended to each element to adapt zpl (Heigth, Width)
PrinterOptions() - Constructor for class fr.w3blog.zpl.model.PrinterOptions
 
PrinterOptions(ZebraPPP) - Constructor for class fr.w3blog.zpl.model.PrinterOptions
 
printZpl(String, String, int) - Static method in class fr.w3blog.zpl.utils.ZebraUtils
Function to print code Zpl to network zebra
printZpl(String, String) - Static method in class fr.w3blog.zpl.utils.ZebraUtils
Function to print code Zpl to local zebra(usb)
printZpl(ZebraLabel, String, int) - Static method in class fr.w3blog.zpl.utils.ZebraUtils
Fonction to print zebraLabel
printZpl(ZebraLabel, String) - Static method in class fr.w3blog.zpl.utils.ZebraUtils
Fonction to print zebraLabel
printZpl(List<ZebraLabel>, String, int) - Static method in class fr.w3blog.zpl.utils.ZebraUtils
Fonction to print multiple zebraLabel to network printer
printZpl(List<ZebraLabel>, String) - Static method in class fr.w3blog.zpl.utils.ZebraUtils
Fonction to print multiple zebraLabel to local printer

S

setBarCodeHeigth(Integer) - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 
setBarCodeWidth(Integer) - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 
setCheckDigit43(boolean) - Method in class fr.w3blog.zpl.model.element.ZebraBarCode128
 
setCheckDigit43(boolean) - Method in class fr.w3blog.zpl.model.element.ZebraBarCode39
 
setDefaultFontSize(Integer) - Method in class fr.w3blog.zpl.model.PrinterOptions
 
setDefaultFontSize(Integer) - Method in class fr.w3blog.zpl.model.ZebraLabel
Use to define a default Zebra font size on the label (11,13,14).
setDefaultZebraFont(ZebraFont) - Method in class fr.w3blog.zpl.model.PrinterOptions
 
setDefaultZebraFont(ZebraFont) - Method in class fr.w3blog.zpl.model.ZebraLabel
Use to define a default Zebra font on the label
setHeightDots(Integer) - Method in class fr.w3blog.zpl.model.ZebraLabel
 
setPositionX(int) - Method in class fr.w3blog.zpl.model.ZebraElement
 
setPositionY(int) - Method in class fr.w3blog.zpl.model.ZebraElement
 
setPrinterOptions(PrinterOptions) - Method in class fr.w3blog.zpl.model.ZebraLabel
 
setShowTextInterpretation(boolean) - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 
setShowTextInterpretationAbove(boolean) - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 
setText(String) - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 
setWideBarRatio(Integer) - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 
setWidthDots(Integer) - Method in class fr.w3blog.zpl.model.ZebraLabel
 
setZebraElements(List<ZebraElement>) - Method in class fr.w3blog.zpl.model.ZebraLabel
 
setZebraPPP(ZebraPPP) - Method in class fr.w3blog.zpl.model.PrinterOptions
 
setZebraPrintMode(ZebraPrintMode) - Method in class fr.w3blog.zpl.model.ZebraLabel
 
setZebraRotation(ZebraRotation) - Method in class fr.w3blog.zpl.model.element.ZebraBarCode
 

V

valueOf(String) - Static method in enum fr.w3blog.zpl.constant.ZebraFont
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum fr.w3blog.zpl.constant.ZebraPPP
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum fr.w3blog.zpl.constant.ZebraPrintMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum fr.w3blog.zpl.constant.ZebraRotation
Returns the enum constant of this type with the specified name.
values() - Static method in enum fr.w3blog.zpl.constant.ZebraFont
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum fr.w3blog.zpl.constant.ZebraPPP
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum fr.w3blog.zpl.constant.ZebraPrintMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum fr.w3blog.zpl.constant.ZebraRotation
Returns an array containing the constants of this enum type, in the order they are declared.

Z

ZebraAFontElement - Class in fr.w3blog.zpl.model.element
Element to set a font and size (explain in dot).
ZebraAFontElement(ZebraFont) - Constructor for class fr.w3blog.zpl.model.element.ZebraAFontElement
Use this constructor if you want to change the font of the next element.
ZebraAFontElement(ZebraFont, int, int) - Constructor for class fr.w3blog.zpl.model.element.ZebraAFontElement
Constructor to set font and size of the next element
ZebraAFontElement(ZebraFont, ZebraRotation, int, int) - Constructor for class fr.w3blog.zpl.model.element.ZebraAFontElement
Constructor to use if you want have non-horizontal text.
ZebraBarCode - Class in fr.w3blog.zpl.model.element
Abstract Zebra element to represent a bar code instruction Command ZPL : All instruction starting ^B
ZebraBarCode(int, int, String) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode
 
ZebraBarCode(int, int, String, int) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode
Default Constructeur width position and text
ZebraBarCode(int, int, String, int, int, int) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode
Default Constructeur width position and text
ZebraBarCode(int, int, String, int, boolean, int, int) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode
Default Constructor width position and text
ZebraBarCode(int, int, String, int, boolean, boolean) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode
Constructeur used to print text (above or below) with code
ZebraBarCode128 - Class in fr.w3blog.zpl.model.element
Element to create a bar code 128 Zpl command : ^BC
ZebraBarCode128(int, int, String) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode128
 
ZebraBarCode128(int, int, String, int) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode128
 
ZebraBarCode128(int, int, String, int, int, int) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode128
 
ZebraBarCode128(int, int, String, int, boolean, int, int) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode128
 
ZebraBarCode128(int, int, String, int, int, int, boolean) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode128
 
ZebraBarCode128(int, int, String, int, boolean, boolean) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode128
 
ZebraBarCode39 - Class in fr.w3blog.zpl.model.element
Element to create a bar code 39 Zpl command : ^B3 and ^BY
ZebraBarCode39(int, int, String, int) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode39
 
ZebraBarCode39(int, int, String, int, int, int) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode39
 
ZebraBarCode39(int, int, String, int, int, int, boolean) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode39
 
ZebraBarCode39(int, int, String, int, boolean, boolean) - Constructor for class fr.w3blog.zpl.model.element.ZebraBarCode39
 
ZebraElement - Class in fr.w3blog.zpl.model
 
ZebraElement() - Constructor for class fr.w3blog.zpl.model.ZebraElement
 
ZebraFont - Enum in fr.w3blog.zpl.constant
 
ZebraGraficBox - Class in fr.w3blog.zpl.model.element
Zebra element to create a box (or line) Zpl command : ^GB
ZebraGraficBox(int, int, Integer, Integer, Integer, String) - Constructor for class fr.w3blog.zpl.model.element.ZebraGraficBox
 
ZebraLabel - Class in fr.w3blog.zpl.model
 
ZebraLabel() - Constructor for class fr.w3blog.zpl.model.ZebraLabel
 
ZebraLabel(PrinterOptions) - Constructor for class fr.w3blog.zpl.model.ZebraLabel
 
ZebraLabel(int, int) - Constructor for class fr.w3blog.zpl.model.ZebraLabel
Create label with size
ZebraLabel(int, int, PrinterOptions) - Constructor for class fr.w3blog.zpl.model.ZebraLabel
 
ZebraNativeZpl - Class in fr.w3blog.zpl.model.element
Object use if you want add Zpl Code not supported by this library
ZebraNativeZpl(String) - Constructor for class fr.w3blog.zpl.model.element.ZebraNativeZpl
 
ZebraPPP - Enum in fr.w3blog.zpl.constant
Contante used to define printed precision
ZebraPrintException - Exception in fr.w3blog.zpl.model
Exception throwed when Socket communication with printer failed
ZebraPrintException(String) - Constructor for exception fr.w3blog.zpl.model.ZebraPrintException
Default Constructor
ZebraPrintException(String, Throwable) - Constructor for exception fr.w3blog.zpl.model.ZebraPrintException
Default Constructor
ZebraPrintMode - Enum in fr.w3blog.zpl.constant
Command to determine this action the printer takes after a label or group of label has been printed.
ZebraPrintNotFoundException - Exception in fr.w3blog.zpl.model
Exception throwed when printer cannot be found
ZebraPrintNotFoundException(String) - Constructor for exception fr.w3blog.zpl.model.ZebraPrintNotFoundException
 
ZebraPrintNotFoundException(String, Throwable) - Constructor for exception fr.w3blog.zpl.model.ZebraPrintNotFoundException
 
ZebraRotation - Enum in fr.w3blog.zpl.constant
 
ZebraText - Class in fr.w3blog.zpl.model.element
Zebra element to add Text to specified position.
ZebraText(String) - Constructor for class fr.w3blog.zpl.model.element.ZebraText
 
ZebraText(String, int) - Constructor for class fr.w3blog.zpl.model.element.ZebraText
 
ZebraText(String, ZebraFont, int) - Constructor for class fr.w3blog.zpl.model.element.ZebraText
 
ZebraText(String, ZebraFont, int, ZebraRotation) - Constructor for class fr.w3blog.zpl.model.element.ZebraText
 
ZebraText(int, int, String) - Constructor for class fr.w3blog.zpl.model.element.ZebraText
 
ZebraText(int, int, String, int) - Constructor for class fr.w3blog.zpl.model.element.ZebraText
 
ZebraText(int, int, String, ZebraFont, int, ZebraRotation) - Constructor for class fr.w3blog.zpl.model.element.ZebraText
 
ZebraText(int, int, String, ZebraFont, int) - Constructor for class fr.w3blog.zpl.model.element.ZebraText
 
ZebraUtils - Class in fr.w3blog.zpl.utils
Utilities to print zpl
ZebraUtils() - Constructor for class fr.w3blog.zpl.utils.ZebraUtils
 
zplCommand(String) - Static method in class fr.w3blog.zpl.utils.ZplUtils
Method to quickly generate zpl code with command and variable
zplCommand(String, Object...) - Static method in class fr.w3blog.zpl.utils.ZplUtils
Method to quickly generate zpl code with command and variable
zplCommandSautLigne(String) - Static method in class fr.w3blog.zpl.utils.ZplUtils
Method to quickly generate zpl code with command and variable
zplCommandSautLigne(String, Object...) - Static method in class fr.w3blog.zpl.utils.ZplUtils
Method to quickly generate zpl code with command and variable
ZplUtils - Class in fr.w3blog.zpl.utils
Common method used to manipulate ZPL
ZplUtils() - Constructor for class fr.w3blog.zpl.utils.ZplUtils
 
A C D E F G I P S V Z 
Skip navigation links

Copyright © 2015. All Rights Reserved.