ReceiptPrintJob.CutPaper Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CutPaper() |
Adds an instruction to the printer job to cut the receipt paper completely. |
CutPaper(Double) |
Adds an instruction to the printer job to cut the specified percentage of the receipt paper. |
CutPaper()
Adds an instruction to the printer job to cut the receipt paper completely.
public:
virtual void CutPaper() = CutPaper;
/// [Windows.Foundation.Metadata.Overload("CutPaperDefault")]
void CutPaper();
[Windows.Foundation.Metadata.Overload("CutPaperDefault")]
public void CutPaper();
function cutPaper()
Public Sub CutPaper ()
- Attributes
See also
Applies to
CutPaper(Double)
Adds an instruction to the printer job to cut the specified percentage of the receipt paper.
public:
virtual void CutPaper(double percentage) = CutPaper;
/// [Windows.Foundation.Metadata.Overload("CutPaper")]
void CutPaper(double const& percentage);
[Windows.Foundation.Metadata.Overload("CutPaper")]
public void CutPaper(double percentage);
function cutPaper(percentage)
Public Sub CutPaper (percentage As Double)
Parameters
- percentage
-
Double
double
Decimal representation of the percentage of the receipt that the receipt printer should cut.
Many printers with paper cutting capability can perform both full and partial cuts. Some offer gradations of partial cuts, such as a perforated cut and an almost-full cut. Use the following general guidelines:
Value | Meaning |
---|---|
1.0 | Fully cuts the paper. |
0.9 | Leaves only a small part of paper for very easy final separation. |
0.7 | Perforates the paper for final separation that is somewhat more difficult and unlikely to occur by accidental handling. |
0.5 | Partial perforation of the paper. |
Printer capabilities vary, so the actual result can be device-dependent.
- Attributes