A B C D E F G H I J L N O P R S T U V W

A

A3 - Static variable in class com.java4less.textprinter.PaperSize
 
A4 - Static variable in class com.java4less.textprinter.PaperSize
 
autoChartSetSelection - Variable in class com.java4less.textprinter.JobProperties
allow automatic change of character set if the characters to be printed cannot be found in the defined set.

B

blCornerChar - Variable in class com.java4less.textprinter.TextPrinter
bottom left corner character (for line printing).
bold - Variable in class com.java4less.textprinter.TextProperties
is it bold?
bottomMargin - Variable in class com.java4less.textprinter.JobProperties
bottom margin (number of lines)
brCornerChar - Variable in class com.java4less.textprinter.TextPrinter
bottom right corner character (for line printing).

C

calculateLineSpacing - Variable in class com.java4less.textprinter.TextPrinter
calculate line spacing based on the number of lines in the page
calculatePitchAndHMI - Variable in class com.java4less.textprinter.TextPrinter
calculate character size based on the desired number of columns?
characterSet - Variable in class com.java4less.textprinter.TextProperties
character set to use
charSet - Variable in class com.java4less.textprinter.CommandCharSetValue
name of the character set as recognized by RTextPrinter
checkPrinterOnline - Variable in class com.java4less.textprinter.ports.HDParallelPort
check if printer is online
close() - Method in class com.java4less.textprinter.PrinterPort
closes port
close() - Method in class com.java4less.textprinter.ports.FilePort
closes port
close() - Method in class com.java4less.textprinter.ports.HDParallelPort
closes port
cols - Variable in class com.java4less.textprinter.JobProperties
size of the page, columns
columnWidth - Variable in class com.java4less.textprinter.JobProperties
wide of columns in inches.
com.java4less.textprinter - package com.java4less.textprinter
 
com.java4less.textprinter.ports - package com.java4less.textprinter.ports
 
com.java4less.textprinter.printers - package com.java4less.textprinter.printers
 
Command - class com.java4less.textprinter.Command.
ESC control command
Command(String, String) - Constructor for class com.java4less.textprinter.Command
 
CommandCharSetValue - class com.java4less.textprinter.CommandCharSetValue.
this class stores information about a character set value used in the CMD_SELECT_CHAR_SET command
CommandCharSetValue(String, String, String) - Constructor for class com.java4less.textprinter.CommandCharSetValue
 
CommandParamValue - class com.java4less.textprinter.CommandParamValue.
this class stores information about a value of a given parameter (font, characterset)
CommandParamValue(String, String) - Constructor for class com.java4less.textprinter.CommandParamValue
 
condensed - Variable in class com.java4less.textprinter.TextProperties
use condensed charaters
condensed - Variable in class com.java4less.textprinter.JobProperties
use condensed charaters
crossLineChar - Variable in class com.java4less.textprinter.TextPrinter
crossing lines characters

D

debug - Variable in class com.java4less.textprinter.TextPrinter
enable debug output
defaultCharSet - Variable in class com.java4less.textprinter.TextPrinter
printer's default charset
DiabloPrinter - class com.java4less.textprinter.printers.DiabloPrinter.
 
DiabloPrinter() - Constructor for class com.java4less.textprinter.printers.DiabloPrinter
 
doubleStrike - Variable in class com.java4less.textprinter.TextProperties
use double strike?
doubleWide - Variable in class com.java4less.textprinter.TextProperties
use double wide?
draftQuality - Variable in class com.java4less.textprinter.JobProperties
printing quality

E

endJob() - Method in class com.java4less.textprinter.TextPrinter
finishes printing job
ESCP2Printer - class com.java4less.textprinter.printers.ESCP2Printer.
commands for Epson ESCP2 or compatible printers.
ESCP2Printer() - Constructor for class com.java4less.textprinter.printers.ESCP2Printer
 
ESCPPrinter - class com.java4less.textprinter.printers.ESCPPrinter.
commands for Epson ESCP or compatible printers.
ESCPPrinter() - Constructor for class com.java4less.textprinter.printers.ESCPPrinter
 
EXECUTIVE - Static variable in class com.java4less.textprinter.PaperSize
 

F

FilePort - class com.java4less.textprinter.ports.FilePort.
Class used to access the printer using a file.
FilePort(String) - Constructor for class com.java4less.textprinter.ports.FilePort
 
fontName - Variable in class com.java4less.textprinter.TextProperties
name of the font to use

G

getBufferSize() - Method in class com.java4less.textprinter.TextPrinter
size of buffer, bytes will be sent to the port only when the buffer is full
getClone() - Method in class com.java4less.textprinter.TextProperties
create a clone
getCommand() - Method in class com.java4less.textprinter.Command
 
getDefaultJobProperties() - Method in class com.java4less.textprinter.TextPrinter
create default printer job
getDefaultTextProperties() - Method in class com.java4less.textprinter.TextPrinter
create default text properties
getFirstElements(String[][]) - Method in class com.java4less.textprinter.TextPrinter
get list of first element in array
getHeight() - Method in class com.java4less.textprinter.PaperSize
get height in inches
getName() - Method in class com.java4less.textprinter.PaperSize
get name of the paper size
getName() - Method in class com.java4less.textprinter.Command
get name
getPrinter(String) - Static method in class com.java4less.textprinter.PrinterFactory
get a printer instance.
getSupportedCharPitch() - Method in class com.java4less.textprinter.TextPrinter
get list of supported fonts sizes
getSupportedCharSets() - Method in class com.java4less.textprinter.TextPrinter
get list of supported char sets
getSupportedFonts() - Method in class com.java4less.textprinter.TextPrinter
get list of supported fonts
getSupportedInterspaing() - Method in class com.java4less.textprinter.TextPrinter
get list of supported interspacing
getTimeout() - Method in class com.java4less.textprinter.PrinterPort
time (milliseconds) to wait for the bytes to be sent to the printer
getWidth() - Method in class com.java4less.textprinter.PaperSize
get width in inches

H

hbLineChar - Variable in class com.java4less.textprinter.TextPrinter
horizontal line connected to a vertical line on the bottom
HDParallelPort - class com.java4less.textprinter.ports.HDParallelPort.
Class used to access the printer using a the Java Communications API.
HDParallelPort(String) - Constructor for class com.java4less.textprinter.ports.HDParallelPort
 
hLineChar - Variable in class com.java4less.textprinter.TextPrinter
horizontal line character (for line printing).
htLineChar - Variable in class com.java4less.textprinter.TextPrinter
horizontal line connected to a vertical line on the top

I

interspacing - Variable in class com.java4less.textprinter.JobProperties
line interspacing.
isBusy() - Method in class com.java4less.textprinter.PrinterPort
is the printer busy?
isInError() - Method in class com.java4less.textprinter.PrinterPort
is printer in Error?
isOnline() - Method in class com.java4less.textprinter.PrinterPort
is printer online?
isPaperOut() - Method in class com.java4less.textprinter.PrinterPort
is paper out?
italic - Variable in class com.java4less.textprinter.TextProperties
is it italic?

J

javaEncoding - Variable in class com.java4less.textprinter.JobProperties
jave encoding to be used if no character set conversion is performed
JobProperties - class com.java4less.textprinter.JobProperties.
this class stores information about the printer job.
JobProperties() - Constructor for class com.java4less.textprinter.JobProperties
 

L

landscape - Variable in class com.java4less.textprinter.JobProperties
landscape format, usually only laser printers support this.
LEDGER - Static variable in class com.java4less.textprinter.PaperSize
 
leftMargin - Variable in class com.java4less.textprinter.JobProperties
left margin (number of columns)
LEGAL - Static variable in class com.java4less.textprinter.PaperSize
 
LETTER - Static variable in class com.java4less.textprinter.PaperSize
 
linesCharSet - Variable in class com.java4less.textprinter.TextPrinter
character set used to draw lines.

N

name - Variable in class com.java4less.textprinter.CommandParamValue
description
newLine() - Method in class com.java4less.textprinter.TextPrinter
new line
newPage() - Method in class com.java4less.textprinter.TextPrinter
new page

O

open() - Method in class com.java4less.textprinter.PrinterPort
opens port
open() - Method in class com.java4less.textprinter.ports.FilePort
opens port
open() - Method in class com.java4less.textprinter.ports.HDParallelPort
opens port

P

paperSize - Variable in class com.java4less.textprinter.JobProperties
paper size, only required if the pitch and line spacing must be set automatically.
PaperSize - class com.java4less.textprinter.PaperSize.
size of the paper to be used
PaperSize(String, double, double, boolean) - Constructor for class com.java4less.textprinter.PaperSize
 
parallelEvent(ParallelPortEvent) - Method in class com.java4less.textprinter.ports.HDParallelPort
 
parseCommand(String) - Static method in class com.java4less.textprinter.Command
creates the printer command by parsing a description of the command: 1. it replaces the ESC string with the esc character 2. it parses the CRTL+ string 3. it removes empty characters
PCL3Printer - class com.java4less.textprinter.printers.PCL3Printer.
commands HP laser printers supporting the PCL 3 language
PCL3Printer() - Constructor for class com.java4less.textprinter.printers.PCL3Printer
 
PCL5Printer - class com.java4less.textprinter.printers.PCL5Printer.
commands HP laser printers supporting the PCL 5 language
PCL5Printer() - Constructor for class com.java4less.textprinter.printers.PCL5Printer
 
performCharSetConversion - Variable in class com.java4less.textprinter.TextPrinter
convert unicode to the printers char set
pitch - Variable in class com.java4less.textprinter.TextProperties
Size of the characters 10, 12 or 15 (characters/inch).
pitch - Variable in class com.java4less.textprinter.JobProperties
Size of the characters 10, 12 or 15 (characters/inch).
PlainPrinter - class com.java4less.textprinter.printers.PlainPrinter.
 
PlainPrinter() - Constructor for class com.java4less.textprinter.printers.PlainPrinter
 
portMode - Variable in class com.java4less.textprinter.ports.HDParallelPort
set parallel port mode
PPDSPrinter - class com.java4less.textprinter.printers.PPDSPrinter.
commands for IBM laser printers
PPDSPrinter() - Constructor for class com.java4less.textprinter.printers.PPDSPrinter
 
printArray(String[]) - Method in class com.java4less.textprinter.TextPrinter
print array in standard output
PrinterFactory - class com.java4less.textprinter.PrinterFactory.
this class is used to get an instance of a printer by name.
PrinterFactory() - Constructor for class com.java4less.textprinter.PrinterFactory
 
PrinterPort - class com.java4less.textprinter.PrinterPort.
 
PrinterPort() - Constructor for class com.java4less.textprinter.PrinterPort
 
printHorizontalLine(int, int, int) - Method in class com.java4less.textprinter.TextPrinter
print a horizontal line
printRectangle(int, int, int, int) - Method in class com.java4less.textprinter.TextPrinter
print a rectangle.
printString(String) - Method in class com.java4less.textprinter.TextPrinter
print at the current position using the default text properties object
printString(String, Font) - Method in class com.java4less.textprinter.TextPrinter
print at the current position using a java.awt.Font as TextProperties substitute
printString(String, int, int, Font) - Method in class com.java4less.textprinter.TextPrinter
print at the given position using a java.awt.Font as TextProperties substitute
printString(String, int, int, TextProperties) - Method in class com.java4less.textprinter.TextPrinter
print at the given position using the text properties object
printString(String, TextProperties) - Method in class com.java4less.textprinter.TextPrinter
print at the current position using the text properties object
printVerticalLine(int, int, int) - Method in class com.java4less.textprinter.TextPrinter
print a vertical line
proportional - Variable in class com.java4less.textprinter.TextProperties
proportional printing.
proportional - Variable in class com.java4less.textprinter.JobProperties
proportional printing.
ProPrinter - class com.java4less.textprinter.printers.ProPrinter.
commands for IBM Pro Printer and compatible
ProPrinter() - Constructor for class com.java4less.textprinter.printers.ProPrinter
 

R

resolution - Variable in class com.java4less.textprinter.JobProperties
printer resolution, only required if the pitch and line spacing must be set automatically.
rightMargin - Variable in class com.java4less.textprinter.JobProperties
right margin (number of columns)
rows - Variable in class com.java4less.textprinter.JobProperties
size of the page, lines
run() - Method in class com.java4less.textprinter.ports.FilePort
start writer thread

S

setBufferSize(int) - Method in class com.java4less.textprinter.TextPrinter
size of buffer, bytes will be sent to the port only when the buffer is full
setLFafterCR(boolean) - Method in class com.java4less.textprinter.TextPrinter
Some printers need a line feed after every carriage return, other don't
setTimeout(int) - Method in class com.java4less.textprinter.PrinterPort
time (milliseconds) to wait for the bytes to be sent to the printer
startJob(PrinterPort, JobProperties) - Method in class com.java4less.textprinter.TextPrinter
start printing job
subscript - Variable in class com.java4less.textprinter.TextProperties
use subscript
superscript - Variable in class com.java4less.textprinter.TextProperties
use superscript

T

TextPrinter - class com.java4less.textprinter.TextPrinter.
 
TextPrinter() - Constructor for class com.java4less.textprinter.TextPrinter
 
TextPrinterException - exception com.java4less.textprinter.TextPrinterException.
 
TextPrinterException(String) - Constructor for class com.java4less.textprinter.TextPrinterException
 
TextProperties - class com.java4less.textprinter.TextProperties.
this class stores information about a chunck of text to be printed.
TextProperties() - Constructor for class com.java4less.textprinter.TextProperties
 
tlCornerChar - Variable in class com.java4less.textprinter.TextPrinter
top left corner character (for line printing).
topMargin - Variable in class com.java4less.textprinter.JobProperties
top margin (number of lines)
trCornerChar - Variable in class com.java4less.textprinter.TextPrinter
top right corner character (for line printing).

U

underlined - Variable in class com.java4less.textprinter.TextProperties
is it underlined?
userDefinedCommands - Variable in class com.java4less.textprinter.JobProperties
any user defined control commands to be executed at the beginning of the job

V

value - Variable in class com.java4less.textprinter.CommandParamValue
value
vLineChar - Variable in class com.java4less.textprinter.TextPrinter
vertical line character (for line printing).
vlLineChar - Variable in class com.java4less.textprinter.TextPrinter
vertical line connected to a horizontal line on the left size
vrLineChar - Variable in class com.java4less.textprinter.TextPrinter
vertical line connected to a horizontal line on the right size

W

write(byte[]) - Method in class com.java4less.textprinter.PrinterPort
Writes an array of bytes to the port
write(byte[], int) - Method in class com.java4less.textprinter.PrinterPort
Writes an array of bytes to the port
write(byte[], int) - Method in class com.java4less.textprinter.ports.FilePort
Writes an array of bytes to the port
write(byte[], int) - Method in class com.java4less.textprinter.ports.HDParallelPort
Writes an array of bytes to the port
write(String) - Method in class com.java4less.textprinter.PrinterPort
Writes a string to the port
write(String) - Method in class com.java4less.textprinter.ports.FilePort
Writes a string to the port
write(String) - Method in class com.java4less.textprinter.ports.HDParallelPort
Writes a string to the port

A B C D E F G H I J L N O P R S T U V W