docs(printer): fix example (#1439)

`this.p` is not defined as Printer is imported as `printer`
This commit is contained in:
Jan Piotrowski 2017-04-28 15:32:13 +02:00 committed by Ibby Hadeed
parent 822be1c248
commit dd69810494

View File

@ -62,7 +62,7 @@ export interface PrintOptions {
* grayscale: true
* };
*
* this.p.print(content, options).then(onSuccess, onError);
* this.printer.print(content, options).then(onSuccess, onError);
* ```
* @interfaces
* PrintOptions