Free Trial
Web API version
Licensing
Request A Quote
HAVE QUESTIONS OR NEED HELP? SUBMIT THE SUPPORT REQUEST FORM or write email to SUPPORT@BYTESCOUT.COM
Represents a class that prints barcodes using a printer.
Inheritance Hierarchy
Bytescout.BarCodeBarcodePrinter
Namespace: Bytescout.BarCode
Assembly: Bytescout.BarCode (in Bytescout.BarCode.dll) Version: 7.6.3.1256-master
Syntax
The BarcodePrinter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BarcodePrinter |
Initializes a new instance of the BarcodePrinter class.
|
Properties
Name | Description | |
---|---|---|
Collate |
Gets or sets a value indicating whether the printed document is collated.
| |
Color |
Gets or sets a value indicating whether the page should be printed in color.
| |
Copies |
Gets or sets the number of copies of the document to print.
Note: Not all printers support printing multiple copes. | |
Duplex |
Gets or sets the printer setting for double-sided printing (duplex). To set duplex mode by name use
the SetDuplex(String) method.
Note: Not all printers support the duplex printing. | |
FitBarcodesIntoGrid |
Gets or sets whether to fit the size of the generated barcodes into the grid cell size.
| |
Landscape |
Gets or sets a value indicating whether the page is printed in landscape or portrait orientation.
| |
Margins |
Gets or sets the margins for printed page.
| |
PaperSize |
Gets or sets the paper size for the page. To set paper size by name use the SetPaperSize(String) method.
| |
PaperSource |
Gets or sets the page's paper source; for example, the printer's upper tray.
To set paper source by its predefined name use the SetPaperSource(String) method.
| |
PrinterResolution |
Gets or sets the printer resolution for the page. To set resolution by its predefined name
use the SetPrinterResolution(String) method. To set custom resolution use
the SetPrinterResolution(Int32, Int32) method.
|
Methods
Name | Description | |
---|---|---|
AddBarcodeValue |
Adds barcode value that will be used to generate barcodes for printing.
| |
AddBarcodeValues |
Adds barcode values that will be used to generate barcodes for printing.
| |
Dispose | Releases all resources used by the BarcodePrinter | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Prints barcodes to specified printer.
| ||
Reset | ||
SetDuplex |
Sets duplex mode by predefined name. The predefined names of duplex modes should correspond
to the Duplex enumeration.
| |
SetGrid |
Sets dimensions of the grid that will be used to allocate generated barcodes on a page.
| |
SetMargins |
Sets the margins for the printed page.
| |
SetPaperSize |
Sets paper format by predefined name, such as "A4" or "Letter". The predefined names
of paper formats should correspond to the PaperKind enumeration.
| |
SetPaperSource |
Sets paper source by predefined name. The names of predefined paper sources should correspond
to the PaperSourceKind enumeration.
| |
SetPrinterResolution(String) |
Sets printer resolution by predefined name such as "High" or "Draft". The names of predefined resolutions
should correspond to the PrinterResolutionKind enumeration.
| |
SetPrinterResolution(Int32, Int32) |
Sets custom printer resolution.
| |
ToString | (Inherited from Object.) |
See Also