public class FontConverterZpl
extends Object
| Modifier and Type | Method and Description |
|---|---|
static java.io.InputStream |
getTteFontHeader(java.io.InputStream sourceStream,
String pathOnPrinter)
Returns an
InputStream which provides the TTE header information as determined from the source
stream. |
static java.io.InputStream |
getTtfFontHeader(java.io.InputStream sourceStream,
String pathOnPrinter)
Returns an
InputStream which provides the TTF header information as determined from the source
stream. |
static void |
saveAsTtePrinterFont(java.io.InputStream sourceInputStream,
java.io.OutputStream destinationStream,
String pathOnPrinter)
Converts a native TrueType® font to a ZPL TTE format.
|
static void |
saveAsTtePrinterFont(String sourceFilePath,
java.io.OutputStream destinationStream,
String pathOnPrinter)
Converts a native TrueType® font to a ZPL TTE format.
|
static void |
saveAsTtfPrinterFont(java.io.InputStream sourceInputStream,
java.io.OutputStream destinationStream,
String pathOnPrinter)
Converts a native TrueType® font to a ZPL TTF format.
|
static void |
saveAsTtfPrinterFont(String sourceFilePath,
java.io.OutputStream destinationStream,
String pathOnPrinter)
Converts a native TrueType® font to a ZPL TTF format.
|
public static java.io.InputStream getTtfFontHeader(java.io.InputStream sourceStream,
String pathOnPrinter)
InputStream which provides the TTF header information as determined from the source
stream.sourceStream - Stream containing TrueType® font datapathOnPrinter - Location of the font file on the printer.public static java.io.InputStream getTteFontHeader(java.io.InputStream sourceStream,
String pathOnPrinter)
InputStream which provides the TTE header information as determined from the source
stream.sourceStream - Stream containing TrueType® font datapathOnPrinter - Location of the font file on the printer.public static void saveAsTtfPrinterFont(String sourceFilePath,
java.io.OutputStream destinationStream,
String pathOnPrinter)
sourceFilePath - Path to a TrueType® font.destinationStream - Destination stream for converted ZPL.pathOnPrinter - Location to save the font file on the printer.public static void saveAsTtfPrinterFont(java.io.InputStream sourceInputStream,
java.io.OutputStream destinationStream,
String pathOnPrinter)
sourceInputStream - Stream containing the TrueType® font data.destinationStream - Destination stream for converted ZPL.pathOnPrinter - Location to save the font file on the printer.public static void saveAsTtePrinterFont(String sourceFilePath,
java.io.OutputStream destinationStream,
String pathOnPrinter)
sourceFilePath - Path to a TrueType® font.destinationStream - Destination stream for converted ZPL.pathOnPrinter - Location to save the font file on the printer.public static void saveAsTtePrinterFont(java.io.InputStream sourceInputStream,
java.io.OutputStream destinationStream,
String pathOnPrinter)
sourceInputStream - Stream containing the TrueType® font data.destinationStream - Destination stream for converted ZPL.pathOnPrinter - Location to save the font file on the printer.
© 2017 ZIH Corp. All Rights Reserved.