Description Usage Arguments Note Examples
Submit print job to printer
1 2 3 |
printerid |
The ID of the printer |
title |
Title of print job |
ticket |
Print ticket, see notes |
content |
Document to print, see notes |
contentType |
MIME type of document to print |
tag |
Tags to add to print job |
For info about parameters see https://developers.google.com/cloud-print/docs/appInterfaces#submit
If content is a path to a file it will use httr::upload_file
otherwise it well send raw content
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
printer <- gcp_search("myPrinter")
gcp_submit(printer$id[1],
"New Title",
content =
"<h1>Hello World</h1>",
contentType = "text/html"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.