Skip to content

Commit

Permalink
Merged PR 3022: Add a comment about print job lifetimes to Remarks se…
Browse files Browse the repository at this point in the history
…ction in POS docs

Should make it clear to developers that once the ClaimedPosPrinter object has been closed, then any PrintJob objects that have been created should be considered closed as well.
  • Loading branch information
mchen-msft authored and muhsinking committed Sep 5, 2017
1 parent 0234939 commit 6a0c16d
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ Runs the print job on the printer station asynchronously.
The operation to run the print job. This operation returns true if the print job succeeds; otherwise, the operation returns false.

## -remarks
The print job is sent to the claimed printer station object that created the print job.
The claimed printer station object must remain valid when calling this method.

## -examples

## -see-also
[JournalPrintJob.ExecuteAsync](journalprintjob_executeasync.md), [ReceiptPrintJob.ExecuteAsync](receiptprintjob_executeasync.md), [SlipPrintJob.ExecuteAsync](slipprintjob_executeasync.md)
[JournalPrintJob.ExecuteAsync](journalprintjob_executeasync.md), [ReceiptPrintJob.ExecuteAsync](receiptprintjob_executeasync.md), [SlipPrintJob.ExecuteAsync](slipprintjob_executeasync.md)
3 changes: 2 additions & 1 deletion windows.devices.pointofservice/journalprintjob.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ Represents a set of printing instructions that you want to run on the journal pr

## -remarks
To create a new print job for the journal printer, call [ClaimedJournalPrinter.CreateJob](claimedjournalprinter_createjob.md).
The created print job object is valid as long as the ClaimedJournalPrinter object that created it is valid.

## -examples

## -see-also
[IPosPrinterJob](iposprinterjob.md), [ClaimedJournalPrinter.CreateJob](claimedjournalprinter_createjob.md)
[IPosPrinterJob](iposprinterjob.md), [ClaimedJournalPrinter.CreateJob](claimedjournalprinter_createjob.md)
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ Runs the print job on the journal printer station asynchronously.
The operation to run the print job. This operation returns true if the print job succeeds; otherwise, the operation returns false.

## -remarks
The print job is sent to the claimed printer station object that created the print job.
The claimed printer station object must remain valid when calling this method.

## -examples

## -see-also
[IPosPrinterJob.ExecuteAsync](iposprinterjob_executeasync.md)
[IPosPrinterJob.ExecuteAsync](iposprinterjob_executeasync.md)
3 changes: 2 additions & 1 deletion windows.devices.pointofservice/receiptprintjob.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ Represents a set of printing instructions that you want to run on the receipt pr

## -remarks
To create a new print job for the receipt printer, call [ClaimedReceiptPrinter.CreateJob](claimedreceiptprinter_createjob.md).
The created print job object is valid as long as the ClaimedReceiptPrinter object that created it is valid.

## -examples

## -see-also
[IReceiptOrSlipJob](ireceiptorslipjob.md), [IPosPrinterJob](iposprinterjob.md), [ClaimedReceiptPrinter.CreateJob](claimedreceiptprinter_createjob.md)
[IReceiptOrSlipJob](ireceiptorslipjob.md), [IPosPrinterJob](iposprinterjob.md), [ClaimedReceiptPrinter.CreateJob](claimedreceiptprinter_createjob.md)
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ Runs the print job on the receipt printer station asynchronously.
The operation to run the print job. This operation returns true if the print job succeeds; otherwise, the operation returns false.

## -remarks
The print job is sent to the claimed printer station object that created the print job.
The claimed printer station object must remain valid when calling this method.

## -examples

## -see-also
[IPosPrinterJob.ExecuteAsync](iposprinterjob_executeasync.md)
[IPosPrinterJob.ExecuteAsync](iposprinterjob_executeasync.md)
3 changes: 2 additions & 1 deletion windows.devices.pointofservice/slipprintjob.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ Represents a set of printing instructions that you want to run on the slip print

## -remarks
To create a new print job for the slip printer, call [ClaimedSlipPrinter.CreateJob](claimedslipprinter_createjob.md).
The created print job object is valid as long as the ClaimedSlipPrinter object that created it is valid.

## -examples

## -see-also
[IReceiptOrSlipJob](ireceiptorslipjob.md), [IPosPrinterJob](iposprinterjob.md), [ClaimedSlipPrinter.CreateJob](claimedslipprinter_createjob.md)
[IReceiptOrSlipJob](ireceiptorslipjob.md), [IPosPrinterJob](iposprinterjob.md), [ClaimedSlipPrinter.CreateJob](claimedslipprinter_createjob.md)
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ Runs the print job on the slip printer station asynchronously.
The operation to run the print job. This operation returns true if the print job succeeds; otherwise, the operation returns false.

## -remarks
The print job is sent to the claimed printer station object that created the print job.
The claimed printer station object must remain valid when calling this method.

## -examples

## -see-also
[IPosPrinterJob.ExecuteAsync](iposprinterjob_executeasync.md)
[IPosPrinterJob.ExecuteAsync](iposprinterjob_executeasync.md)

0 comments on commit 6a0c16d

Please sign in to comment.