Print large table sections with references
This search API allows a user to print selected sections of the large table together with referenced DMs.
Example API call
/servlets3/wietmsd?id=1459754564968&book=PMC-S1000DBIKE-XYENT-00001-01&collection=default&target=print&action=exppdf_referenced&eid=262&doctype=description&tocRef=574&selectedsections=263,264
Parameters
| Parameter | Description |
|---|---|
target | print |
action | exppdf_referenced |
id | A session ID that is valid for this collection and publication combination. |
book | The name of the publication, such as PMC-S1000DBIKE-XYENT-00001-01. |
collection | The name of the collection that the publication is registered in, such as default. |
doctype | The @DOCTYPE attribute of the <DOCUMENT/> envelope tag that wraps all documents in LiveContent S1000D, such as description |
eid | Element ID, for example eid=262 |
tocRef | The @TOCREFID attribute of the <DOCUMENT/> envelope tag that wraps all documents in LiveContent S1000D, such as 574 |
selected sections | Element IDs of selected sections of the large table, for example, 263, 278, 295, 300, 321 |
Returns
- On success
-
HTML instance with the reference to the printed PDF output that will immediately redirect to the PDF resource. The result of this API call is usually loaded into a new window to avoid losing the content of the calling window.
<HTML> <HEAD> <TITLE/> <SCRIPT>document.location='/servlets3/wietmsd/working/temp/docs_262_1459754834756.pdf'</SCRIPT> </HEAD> <BODY/> </HTML - On failure
-
<HTML> <HEAD> <TITLE>Exception</TITLE> </HEAD> <BODY> <P> <B>A failure occurred while attempting to create print output</B> </P> </BODY> </HTML>