Share via


PosPrinter Class

Definition

Defines the programmatic interface for a UPOS Printer device.

public abstract class PosPrinter : Microsoft.PointOfService.PosCommon
type PosPrinter = class
    inherit PosCommon
Public MustInherit Class PosPrinter
Inherits PosCommon
Inheritance
Derived

Constructors

PosPrinter()

Creates an instance of the PosPrinter class.

Fields

CharacterSetAnsi

Indicates the default character set supports the ANSI character set.

CharacterSetAscii

Indicates the default character set supports the ASCII character set.

CharacterSetUnicode

Indicates the default character set supports the Unicode character set.

ExtendedErrorBadFormat

Indicates an unsupported format.

ExtendedErrorCoverOpen

Indicates that the printer cover is open.

ExtendedErrorFirmwareBadFile

Indicates the specified firmware file or files exist, but one or more of those files are either not in the correct format or are corrupted.

(Inherited from PosCommon)
ExtendedErrorJournalCartridgeEmpty

Indicates the journal cartridge is empty.

ExtendedErrorJournalCartridgeRemoved

Indicates the journal cartridge has been removed.

ExtendedErrorJournalEmpty

Indicates the journal station is out of paper.

ExtendedErrorJournalHeadCleaning

Indicates the journal cartridge head is being cleaned.

ExtendedErrorReceiptCartridgeEmpty

Indicates the receipt cartridge is empty.

ExtendedErrorReceiptCartridgeRemoved

Indicates the receipt cartridge has been removed.

ExtendedErrorReceiptEmpty

Indicates the receipt station is out of paper.

ExtendedErrorReceiptHeadCleaning

Indicates the receipt cartridge head is being cleaned.

ExtendedErrorSlipCartridgeEmpty

Indicates the slip cartridge is empty.

ExtendedErrorSlipCartridgeRemoved

Indicates the slip cartridge has been removed.

ExtendedErrorSlipEmpty

Indicates a form has not been inserted into the slip station.

ExtendedErrorSlipForm

Indicates a form is present while the printer is being taken out of from removal mode.

ExtendedErrorSlipHeadCleaning

Indicates the slip cartridge head is being cleaned.

ExtendedErrorStatistics

Indicates a specified statistic could not be reset or updated.

(Inherited from PosCommon)
ExtendedErrorStatisticsDependency (Inherited from PosCommon)
ExtendedErrorTooBig

Indicates the bitmap is either too wide to print without transformation, or too big to tranform.

PrinterBarCodeCenter

Indicates the bar code should be printed aligned with the center of the station.

PrinterBarCodeLeft

Indicates the bar code should be printed aligned with the leftmost print column.

PrinterBarCodeRight

Indicates the bar code should be printed aligned with the rightmost print column.

PrinterBitmapAsIs

Indicates the bitmap should be printed with one bitmap pixel per printer dot.

PrinterBitmapCenter

Indicates the bitmap should be printed aligned with the center of the station.

PrinterBitmapLeft

Indicates the bitmap should be printed aligned with the leftmost print column.

PrinterBitmapRight

Indicates the bitmap should be printed aligned with the rightmost print column.

PrinterCutPaperFullCut

Indicates a full paper cut.

StatisticBarcodePrintedCount

Incremented when a bar code is successfully printed.

StatisticCommunicationErrorCount

Holds the programmatic name of the Communication Error Count common statistic.

(Inherited from PosCommon)
StatisticDeviceCategory

Holds the programmatic name of the Device Category common statistic.

(Inherited from PosCommon)
StatisticFailedPaperCutCount

Incremented for each failed paper cut.

StatisticFailedPrintSideChangeCount

Incremented for each failed print side change or failed check flip.

StatisticFirmwareRevision

Holds the programmatic name of the Firmware Revision common statistic.

(Inherited from PosCommon)
StatisticFormInsertionCount

Incremented when a form is successfully inserted into the document/slip station.

StatisticHomeErrorCount

Incremented when a home error occurs.

StatisticHoursPoweredCount

Holds the programmatic name of the Hours Powered On common statistic.

(Inherited from PosCommon)
StatisticInstallationDate

Holds the programmatic name of the Installation Date common statistic.

(Inherited from PosCommon)
StatisticInterface

Holds the programmatic name of the Interface common statistic.

(Inherited from PosCommon)
StatisticJournalCharacterPrintedCount

Incremented for every journal character printed.

StatisticJournalCoverOpenCount

Incremented every time that the document/slip station cover opened.

StatisticJournalLinePrintedCount

Incremented for each journal line printed.

StatisticManufactureDate

Holds the programmatic name of the Manufacture Date common statistic.

(Inherited from PosCommon)
StatisticManufacturerName

Holds the programmatic name of the Manufacturer Name common statistic.

(Inherited from PosCommon)
StatisticMaximumTempReachedCount

Incremented every time that maximum temperature is reached.

StatisticMechanicalRevision

Holds the programmatic name of the Mechanical Revision common statistic.

(Inherited from PosCommon)
StatisticModelName

Holds the programmatic name of the Model Name common statistic.

(Inherited from PosCommon)
StatisticNVRAMWriteCount

Incremented every time that NVRAM is written to.

StatisticPaperCutCount

Incremented every time that paper is cut successfully.

StatisticPrinterFaultCount

Incremented when a printer fault occurs.

StatisticPrintSideChangeCount

Incremented when the print side changes or a check flips.

StatisticReceiptCharacterPrintedCount

Incremented every time that a receipt character is printed.

StatisticReceiptCoverOpenCount

Incremented every time that the receipt cover opened.

StatisticReceiptLineFeedCount

Incremented every time that a receipt line feed is performed.

StatisticReceiptLinePrintedCount

Incremented every time that a receipt line is printed.

StatisticSerialNumber

Holds the programmatic name of the Serial Number common statistic.

(Inherited from PosCommon)
StatisticSlipCharacterPrintedCount

Incremented every time that a slip character is printed.

StatisticSlipCoverOpenCount

Incremented every time that the slip cover opened.

StatisticSlipLineFeedCount

Incremented every time that a slip line feed is performed.

StatisticSlipLinePrintedCount

Incremented every time that a slip line is printed.

StatisticStampFiredCount

Incremented for each Stamp raised.

StatisticUnifiedPOSVersion

Holds the programmatic name of the Unified POS Version common statistic.

(Inherited from PosCommon)
StatusCoverOK

Indicates the printer cover is closed.

StatusCoverOpen

Indicates the printer cover is open.

StatusIdle

Indicates all asynchronous output is finished, either successfully or because the output has been cleared. The printer State property is now set to ControlState.Idle.

StatusJournalCartridgeEmpty

Indicates the journal cartridge has to be replaced.

StatusJournalCartridgeNearEmpty

Indicates the journal cartridge is near its end.

StatusJournalCartridgeOK

Indicates all journal cartridges are ready.

StatusJournalCoverOK

Indicates the journal cover is closed.

StatusJournalCoverOpen

Indicates the journal cover is open.

StatusJournalEmpty

Indicates there is no journal paper.

StatusJournalHeadCleaning

Indicates the journal cartridge has begun head cleaning.

StatusJournalNearEmpty

Indicates the journal paper is low.

StatusJournalPaperOK

Indicates the journal paper is ready.

StatusPowerOff

Indicates that the device’s power is turned off or it is detached from the terminal.

(Inherited from PosCommon)
StatusPowerOffline

Indicates that the device is powered on but is either not ready or unable to respond to requests.

(Inherited from PosCommon)
StatusPowerOffOffline

Indicates that either the device’s power is off or it is offline.

(Inherited from PosCommon)
StatusPowerOnline

Indicates that the device’s power is turned on and it is ready for use.

(Inherited from PosCommon)
StatusReceiptCartridgeEmpty

Indicates the receipt cartridge has to be replaced.

StatusReceiptCartridgeNearEmpty

Indicates the receipt cartridge is nearing empty.

StatusReceiptCartridgeOK

Indicates all receipt cartridges are ready.

StatusReceiptCoverOK

Indicates the receipt cover is closed.

StatusReceiptCoverOpen

Indicates the receipt cover is open.

StatusReceiptEmpty

Indicates there is no receipt paper.

StatusReceiptHeadCleaning

Indicates the receipt cartridge has begun head cleaning.

StatusReceiptNearEmpty

Indicates the receipt paper is low.

StatusReceiptPaperOK

Indicates the receipt paper is ready.

StatusSlipCartridgeEmpty

Indicates the slip cartridge has to be replaced.

StatusSlipCartridgeNearEmpty

Indicates the slip cartridge is nearing empty.

StatusSlipCartridgeOK

Indicates all slip cartridges are ready.

StatusSlipCoverOK

Indicates the slip cover is closed.

StatusSlipCoverOpen

Indicates the slip cover is open.

StatusSlipEmpty

Indicates that no slip form is inserted and no slip form has been detected at the entrance to the slip station.

StatusSlipHeadCleaning

Indicates the receipt cartridge has begun head cleaning.

StatusSlipNearEmpty

Indicates the slip form is close to the bottom.

StatusSlipPaperOK

Indicates the slip form is inserted.

StatusUpdateFirmwareComplete

Indicates the update firmware process has completed successfully.

(Inherited from PosCommon)
StatusUpdateFirmwareCompleteDeviceNotRestored

Indicates the update firmware process succeeded. However, the Service Object and/or the physical device cannot be returned to the state they were in before the update firmware process started.

(Inherited from PosCommon)
StatusUpdateFirmwareFailedDeviceNeedsFirmware

Indicates the update firmware process failed. The device will not be operational until another attempt to update the firmware is successful.

(Inherited from PosCommon)
StatusUpdateFirmwareFailedDeviceOk

Indicates the update firmware process failed. However, the device is still operational.

(Inherited from PosCommon)
StatusUpdateFirmwareFailedDeviceUnknown

Indicates the update firmware process failed. The device is in an indeterminate state.

(Inherited from PosCommon)
StatusUpdateFirmwareFailedDeviceUnrecoverable

Indicates the update firmware process failed. The device is either unusable or unrecoverable through software.

(Inherited from PosCommon)
StatusUpdateFirmwareProgress

Indicates the update firmware process has completed 1 to 100 percent successfully.

(Inherited from PosCommon)
WaitForever

Used as the value for a timeout parameter in common and device-specific methods to indicate the method should wait until it receives a response, instead of timing out.

(Inherited from PosCommon)

Properties

AsyncMode

Gets or sets a Boolean value that indicates whether certain print methods will be performed asynchronously.

CapCharacterSet

Gets the default character set capability.

CapCompareFirmwareVersion

Gets a Boolean value that indicates whether the Service Object/device supports comparing the firmware version in the physical device against that of a firmware file.

(Inherited from PosCommon)
CapConcurrentJrnRec

Gets a Boolean value that indicates whether the journal and receipt stations can print at the same time.

CapConcurrentJrnSlp

Gets a Boolean value that indicates whether the journal and slip stations can print at the same time.

CapConcurrentPageMode

Gets a Boolean value that indicates whether the printer can support Page Mode at the same time for both the receipt and slip stations.

CapConcurrentRecSlp

Gets a Boolean value that indicates whether the receipt and slip stations can print at the same time.

CapCoverSensor

Gets a Boolean value that indicates whether the printer has a "cover open" sensor.

CapJrn2Color

Gets a Boolean value that indicates whether the journal can print dark plus an alternate color.

CapJrnBold

Gets a Boolean value that indicates whether the journal can print bold characters.

CapJrnCartridgeSensor

Gets the presence of journal cartridge monitoring sensors.

CapJrnColor

Gets available journal color cartridges.

CapJrnDHigh

Gets a Boolean value that indicates whether the journal can print double-high characters.

CapJrnDWide

Gets a Boolean value that indicates whether the journal can print double-wide characters.

CapJrnDWideDHigh

Gets a Boolean value that indicates whether the journal can print characters that are both double-high and double-wide.

CapJrnEmptySensor

Gets a Boolean value that indicates whether the journal has an out-of-paper sensor.

CapJrnItalic

Gets a Boolean value that indicates whether the journal can print italic characters.

CapJrnNearEndSensor

Gets a Boolean value that indicates whether the journal has a low-paper sensor.

CapJrnPresent

Gets a Boolean value that indicates whether the journal print station is present.

CapJrnUnderline

Gets a Boolean value that indicates whether the journal can underline characters.

CapMapCharacterSet

Gets a Boolean value that indicates whether when printing data, the service object can map the characters sent by the application (in the character set that is defined by the CharacterSet property) to the character sets that are defined by the CharacterSetList property.

CapPowerReporting

Gets the power reporting capabilities of the device.

(Inherited from PosCommon)
CapRec2Color

Gets a Boolean value that indicates whether the receipt can print dark plus an alternate color.

CapRecBarCode

Gets a Boolean value that indicates whether the receipt has bar code printing capability.

CapRecBitmap

Gets a Boolean value that indicates whether the receipt can print bitmaps.

CapRecBold

Gets a Boolean value that indicates whether the receipt can print bold characters.

CapRecCartridgeSensor

Gets the presence of receipt cartridge monitoring sensors.

CapRecColor

Gets the receipt color cartridges.

CapRecDHigh

Gets a Boolean value that indicates whether the receipt can print double-high characters.

CapRecDWide

Gets a Boolean value that indicates whether the receipt can print double-wide characters.

CapRecDWideDHigh

Gets a Boolean value that indicates whether the receipt can print double-high, double-wide characters.

CapRecEmptySensor

Gets a Boolean value that indicates whether the receipt has an out-of-paper sensor.

CapRecItalic

Gets a Boolean value that indicates whether the receipt can print italic characters.

CapRecLeft90

Gets a Boolean value that indicates whether the receipt can print in rotated-90-degree-left mode.

CapRecMarkFeed

Gets the type of mark-sensed paper handling available.

CapRecNearEndSensor

Gets a Boolean value that indicates whether the receipt has a low-paper sensor.

CapRecPageMode
CapRecPaperCut

Gets a Boolean value that indicates whether the receipt can perform paper cuts.

CapRecPresent

Gets a Boolean value that indicates whether the receipt print station is present.

CapRecRight90

Gets a Boolean value that indicates whether the receipt can print in a rotated-90-degree-right mode.

CapRecRotate180

Gets a Boolean value that indicates whether the receipt can print in a rotated upside-down mode.

CapRecRuledLine
CapRecStamp

Gets a Boolean value that indicates whether the receipt has a stamp capability.

CapRecUnderline

Gets a Boolean value that indicates whether the receipt can underline characters.

CapSlp2Color

Gets a Boolean value that indicates whether the slip can print dark plus an alternate color.

CapSlpBarCode

Gets a Boolean value that indicates whether the slip has bar code printing capability.

CapSlpBitmap

Gets a Boolean value that indicates whether the slip can print bitmaps.

CapSlpBold

Gets a Boolean value that indicates whether the slip can print bold characters.

CapSlpBothSidesPrint

Gets a Boolean value that indicates whether the slip print station supports printing on both sides of the document.

CapSlpCartridgeSensor

Gets the presence of slip-cartridge monitoring sensors.

CapSlpColor

Gets the type of color cartridges supported for slip printing.

CapSlpDHigh

Gets a Boolean value that indicates whether the slip can print double-high characters.

CapSlpDWide

Gets a Boolean value that indicates whether the slip can print double-wide characters.

CapSlpDWideDHigh

Gets a Boolean value that indicates whether the slip can print characters that are both double-wide and double-high.

CapSlpEmptySensor

Gets a Boolean value that indicates whether the slip has a "slip in" sensor.

CapSlpFullSlip

Gets a Boolean value that indicates whether the slip is a full slip station; it can print full-length forms.

CapSlpItalic

Gets a Boolean value that indicates whether the slip can print italic characters.

CapSlpLeft90

Gets a Boolean value that indicates whether the slip can print in a rotated 90 degree left mode.

CapSlpNearEndSensor

Gets a Boolean value that indicates whether the slip has a "slip near end" sensor.

CapSlpPageMode

Gets a Boolean value that indicates whether the printer can support Page Mode for the slip station.

CapSlpPresent

Gets a Boolean value that indicates whether the slip print station is present.

CapSlpRight90

Gets a Boolean value that indicates whether the slip can print in a rotated-90-degree-right mode.

CapSlpRotate180

Gets a Boolean value that indicates whether the slip can print in an upside-down mode.

CapSlpRuledLine
CapSlpUnderline

Gets a Boolean value that indicates whether the slip can underline characters.

CapStatisticsReporting

Gets a Boolean value that indicates whether the device can accumulate and can provide various statistics regarding usage.

(Inherited from PosCommon)
CapTransaction

Gets a Boolean value that indicates whether each station supports printer transactions.

CapUpdateFirmware

Gets a Boolean value that indicates whether the device's firmware can be updated through the UpdateFirmware method.

(Inherited from PosCommon)
CapUpdateStatistics

Gets a Boolean value that indicates whether some or all the device statistics can be reset to 0 (zero) by using the ResetStatistic and ResetStatistics methods, or updated by using the UpdateStatistic and UpdateStatistics methods.

(Inherited from PosCommon)
CartridgeNotify

Gets or sets the type of cartridge state notification the application wants to receive.

CharacterSet

Gets or sets the numeric value that indicates the character set that the application wants to use for printing characters.

CharacterSetList

Gets the list of character set numbers supported for printing.

CheckHealthText

Gets a string that indicates the health of the device.

(Inherited from PosCommon)
Claimed

Gets a Boolean value that indicates whether the device is claimed for exclusive access.

(Inherited from PosCommon)
Compatibility (Inherited from PosDevice)
CoverOpen

Gets a Boolean value that indicates whether the printer’s cover is open.

DeviceDescription

Gets a string identifying the device and the company that manufactured it.

(Inherited from PosCommon)
DeviceEnabled

Gets or sets a Boolean value that indicates whether the device has been placed in an operational state.

(Inherited from PosCommon)
DeviceInstanceId (Inherited from PosCommon)
DeviceName

Gets a short string identifying the device and any pertinent information about it.

(Inherited from PosCommon)
DevicePath

Gets or sets the hardware path of a device.

(Inherited from PosCommon)
ErrorLevel

Gets the severity of the most recent error condition.

ErrorStation

Gets the station or stations that were printing when an error was detected.

ErrorString

Gets a vendor-supplied description of the current error.

FlagWhenIdle

Gets or sets a Boolean value that indicates whether the service object queues a StatusUpdateEvent event by using the StatusIdle constant when the device is in an idle state, and reset FlagWhenIdle to false.

FontTypefaceList

Gets a string array that specifies the fonts and typefaces supported by the printer.

FreezeEvents

Gets or sets a Boolean value that indicates whether the application has requested that the Service Object not deliver events.

(Inherited from PosCommon)
HardwareId (Inherited from PosCommon)
IsExclusiveUseDevice
JrnCartridgeState

Gets the status of the selected journal cartridge (ink, ribbon, or toner).

JrnCurrentCartridge

Gets or sets the currently selected journal cartridge.

JrnEmpty

Gets or sets a Boolean value that indicates whether the journal is out of paper.

JrnLetterQuality

Gets or sets a Boolean value that indicates whether the printer can print in high-quality mode.

JrnLineChars

Gets or sets the number of characters that the application wants to print on a journal line.

JrnLineCharsList

Gets a collection of the line widths (characters per line) supported by the journal station.

JrnLineHeight

Gets or sets the journal print line height that the application wants to use, expressed in the unit of measure indicated by the MapMode property setting.

JrnLineSpacing

Gets or sets the spacing of each single-high print line, including both the printed line height and the white space between each pair of lines that the application wants to use.

JrnLineWidth

Gets the width of a line for the number of characters indicated by the JrnLineChars property, expressed in the unit of measure indicated by the MapMode property.

JrnNearEnd

Gets a Boolean value that indicates whether the journal paper is low.

MapCharacterSet

Gets a Boolean value that indicates whether the service object maps the characters transferred by the application to the character set selected in the CharacterSet property.

MapMode

Gets or sets the mapping mode of the printer the application wants to use.

OutputId

Gets the identifier associated with the current output request.

PageModeArea

Gets the page area for the selected PageModeStation expressed in the unit of measure given by MapMode.

PageModeDescriptor

Gets the basic Page mode functionality of the printer for the selected PageModeStation property.

PageModeHorizontalPosition

Gets or sets the horizontal start position offset within the print area for the print station specified by the PageModeStation property, expressed in the unit of measure specified by the MapMode property.

PageModePrintArea
PageModePrintDirection
PageModeStation
PageModeVerticalPosition

Gets or sets the vertical start position offset within the print area for the print station specified by the PageModeStation property, expressed in the unit of measure specified by the MapMode property.

PowerNotify

Gets or sets the type of power notification selection made by the application.

(Inherited from PosCommon)
PowerState

Gets the current power condition.

(Inherited from PosCommon)
RecBarCodeRotationList

Gets a list of the directions in which a receipt bar code can be rotated.

RecBitmapRotationList

Gets a list of the directions in which a receipt bitmap can be rotated.

RecCartridgeState

Gets the status of the selected receipt cartridge (ink, ribbon or toner).

RecCurrentCartridge

Gets or sets the receipt cartridge selected by the application.

RecEmpty

Gets a Boolean value that indicates whether the receipt is out of paper.

RecLetterQuality

Gets a Boolean value that indicates whether the printer prints in high-quality mode.

RecLineChars

Gets or sets the number of characters that the application wants to print on a receipt line.

RecLineCharsList

Gets a collection of the line widths (characters per line) supported by the receipt station.

RecLineHeight

Gets or sets the receipt print line height, expressed in the unit of measure indicated by the MapMode property setting, that the application wants to use.

RecLineSpacing

Gets or sets the spacing of each single-high print line. This includes both the printed line height and the white space between each pair of lines, that the application wants to use.

RecLinesToPaperCut

Gets the number of lines that must be advanced before cutting the receipt paper.

RecLineWidth

Gets the width of a line, based on the number of characters specified in the RecLineChars property, expressed in the unit of measure indicated by the MapMode property.

RecNearEnd

Gets a Boolean value that indicates whether the receipt paper is low.

RecSidewaysMaxChars

Gets the maximum number of characters that can be printed on each line in sideways mode.

RecSidewaysMaxLines

Gets the maximum number of lines that can be printed in sideways mode.

RotateSpecial

Gets or sets the rotation orientation for bar codes that the application wants to use.

ServiceObjectDescription

Gets a string identifying the Service Object that supports the device and the company that produced it.

(Inherited from PosCommon)
ServiceObjectVersion

Gets the Service Object version number.

(Inherited from PosCommon)
SlpBarCodeRotationList

Gets a collection of the directions in which a slip bar code may be rotated.

SlpBitmapRotationList

Gets a collection of the directions in which a slip bitmap can be rotated.

SlpCartridgeState

Gets the status of the selected slip cartridge (ink, ribbon, or toner).

SlpCurrentCartridge

Gets or sets the slip cartridge the application wants to use.

SlpEmpty

Gets a Boolean value that indicates whether a slip form is not present.

SlpLetterQuality

Gets or sets a Boolean value that indicates whether the printer prints in high-quality mode.

SlpLineChars

Gets or sets the number of characters that the application wants to print on a slip line.

SlpLineCharsList

Gets a collection of the line widths (characters per line) supported by the slip station.

SlpLineHeight

Gets or sets the slip print-line height, expressed in the unit of measure indicated by the MapMode property setting, that the application wants to use.

SlpLinesNearEndToEnd

Gets the number of lines that can be printed after the SlpNearEnd property has been set to true but before the printer reaches the end of the slip.

SlpLineSpacing

Gets or sets the spacing of each single-high print line. This includes both the printed line height and the white space between each pair of lines that the application wants to use.

SlpLineWidth

Gets the line width, based on the number of characters specified for the SlpLineChars property, expressed in the unit of measure indicated by the MapMode property.

SlpMaxLines

Gets the maximum number of lines that can be printed on a form.

SlpNearEnd

Gets a Boolean value that indicates whether the slip form is near its end.

SlpPrintSide

Gets the side of the slip print station document on which printing will occur.

SlpSidewaysMaxChars

Gets the maximum number of characters that can be printed on each line in sideways mode.

SlpSidewaysMaxLines

Gets the maximum number of lines that can be printed in sideways mode.

State

Gets the current state of the device.

(Inherited from PosCommon)
SynchronizingObject

Gets or sets the object that is used to marshal the event handler calls issued because of a POS event.

(Inherited from PosCommon)

Methods

BeginInsertion(Int32)

Starts form insertion processing. BeginInsertion is paired with the EndInsertion method to control form insertion.

BeginRemoval(Int32)

Starts form removal processing.

ChangePrintSide(PrinterSide)

Selects the side of the document that it wants to print on.

CheckHealth(HealthCheckLevel)

Tests the state of a device.

(Inherited from PosCommon)
Claim(Int32)

Requests exclusive access to the device.

(Inherited from PosCommon)
ClearOutput()

Clears all device output that has been buffered. Also, when it is possible, stops outputs that are in progress.

ClearPrintArea()

Clears the area defined by the PageModePrintArea property.

Close()

Releases the device and its resources.

(Inherited from PosCommon)
CompareFirmwareVersion(String)

Determines whether the version of the specified firmware is newer than, older than, or the same as the version of firmware in the physical device.

(Inherited from PosCommon)
CutPaper(Int32)

Cuts the receipt paper.

DeleteConfigurationProperty(String)

Deletes the specified property from the XML configuration file.

(Inherited from PosCommon)
DirectIO(Int32, Int32, Object)

Used to communicate directly with the Service Object.

(Inherited from PosCommon)
DrawRuledLine(PrinterStation, String, LineDirection, Int32, LineStyle, Int32)
EndInsertion()

Ends form-insertion processing.

EndRemoval()

Ends form-removal processing.

GetConfigurationProperty(String)

Used by the Service Object to retrieve the specified property from the XML configuration file.

(Inherited from PosCommon)
Invoke(Delegate, Object[])

Used by the Service Objects to raise an event.

(Inherited from PosCommon)
MarkFeed(PrinterMarkFeeds)

Uses the printer’s mark sensor for receipt paper.

Open()

Opens a device for later input/output processing.

(Inherited from PosCommon)
PageModePrint(PageModePrintControl)

Starts or exits Page Mode for the station specified in the PageModeStation property.

PrintBarCode(PrinterStation, String, BarCodeSymbology, Int32, Int32, Int32, BarCodeTextPosition)

Prints a bar code on the specified printer station.

PrintBitmap(PrinterStation, String, Int32, Int32)

Prints a bitmap on the specified printer station.

PrintImmediate(PrinterStation, String)

Prints the string immediately that is specified for data on the printer station specified by station.

PrintMemoryBitmap(PrinterStation, Bitmap, Int32, Int32)

Prints a bitmap from memory on the specified printer station.

PrintNormal(PrinterStation, String)

Prints the string specified in data on the printer station specified in station.

PrintTwoNormal(PrinterStation, String, String)

Prints two strings on two print stations concurrently. When supported, this may give increased print performance.

Release()

Releases exclusive access to the device.

(Inherited from PosCommon)
ResetStatistic(String)

Resets the specified statistic to 0 (zero).

(Inherited from PosCommon)
ResetStatistics()

Resets all statistics associated with a device to 0 (zero).

(Inherited from PosCommon)
ResetStatistics(StatisticCategories)

Resets all statistics for a specified category to 0 (zero).

(Inherited from PosCommon)
ResetStatistics(String[])

Resets the specified statistics to 0 (zero).

(Inherited from PosCommon)
RetrieveStatistic(String)

Retrieves the specified device statistic.

(Inherited from PosCommon)
RetrieveStatistics()

Retrieves all device statistics.

(Inherited from PosCommon)
RetrieveStatistics(StatisticCategories)

Retrieves the statistics for the specified category.

(Inherited from PosCommon)
RetrieveStatistics(String[])

Retrieves the specified statistics.

(Inherited from PosCommon)
RotatePrint(PrinterStation, PrintRotation)

Enters or exits rotated print mode.

SetBitmap(Int32, PrinterStation, String, Int32, Int32)

Saves information about a bitmap for later printing.

SetConfigurationProperty(String, String)

Sets a property value (or create a new property) in the XML configuration file.

(Inherited from PosCommon)
SetLogo(PrinterLogoLocation, String)

Saves a data string as the top or bottom logo.

TransactionPrint(PrinterStation, PrinterTransactionControl)

Enters or exits transaction mode.

UpdateFirmware(String)

Updates the firmware of a device with the version of the firmware contained or defined in the file specified by the firmwareFileName parameter regardless of whether that firmware’s version is newer than, older than, or the same as the version of the firmware already in the device.

(Inherited from PosCommon)
UpdateStatistic(String, Object)

Updates the value of a specified device statistic.

(Inherited from PosCommon)
UpdateStatistics(Statistic[])

Updates a list of statistics with the corresponding specified values.

(Inherited from PosCommon)
UpdateStatistics(StatisticCategories, Object)

Updates the specified category of statistics with the specified value.

(Inherited from PosCommon)
ValidateData(PrinterStation, String)

Determines whether a data sequence, possibly including one or more escape sequences, is valid for the specified station, before it calls the PrintImmediate, PrintNormal, or PrintTwoNormal methods.

Events

DeviceAddedEvent (Inherited from PosCommon)
DeviceRemovedEvent (Inherited from PosCommon)
DirectIOEvent

Raised by the Service Object to communicate information directly to the application.

(Inherited from PosCommon)
ErrorEvent

Queued by the service object when an error is detected and the device’s State transitions into the error state.

OutputCompleteEvent

Queued by the service object to notify the application when asynchronous processing that corresponds to an OutputID has successfully completed.

StatusUpdateEvent

Raised by the Service Object to alert the application of a device status change.

(Inherited from PosCommon)

Applies to