ImagePrintJob2
. This class writes files into external storage that
are not cleaned up and can eventually exhaust the device's storage.@Deprecated public class ImagePrintJob extends PrintJob implements Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
ImagePrintJob.Builder
Deprecated.
|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<ImagePrintJob> |
CREATOR
Deprecated.
|
File |
imageFile
Deprecated.
|
static int |
MAX_RECEIPT_WIDTH
Deprecated.
|
protected String |
urlString
Deprecated.
|
FLAG_BILL, FLAG_CUSTOMER, FLAG_EXPEDITOR, FLAG_FORCE_SIGNATURE, FLAG_FORCE_TIP, FLAG_MERCHANT, FLAG_NO_SIGNATURE, FLAG_NO_TIP, FLAG_NONE, FLAG_REFUND, FLAG_REPRINT, FLAG_SALE, FLAG_UNLABELED_ITEMS, FLAG_USE_PRINT_GROUP, flags, printToAny
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
protected |
ImagePrintJob(Bitmap bitmap,
int flags)
Deprecated.
|
protected |
ImagePrintJob(ImagePrintJob.Builder builder)
Deprecated.
|
protected |
ImagePrintJob(Parcel in)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Deprecated.
|
Category |
getPrinterCategory()
Deprecated.
|
void |
print(Context context,
Account account)
Deprecated.
Send this PrintJob to the default printer.
|
void |
writeToParcel(Parcel dest,
int flags)
Deprecated.
|
describeContents, print
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
describeContents
public static final int MAX_RECEIPT_WIDTH
public final File imageFile
protected String urlString
public static final Parcelable.Creator<ImagePrintJob> CREATOR
@Deprecated protected ImagePrintJob(Bitmap bitmap, int flags)
protected ImagePrintJob(ImagePrintJob.Builder builder)
protected ImagePrintJob(Parcel in)
public Category getPrinterCategory()
getPrinterCategory
in class PrintJob
public void print(Context context, Account account)
PrintJob
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
writeToParcel
in class PrintJob