Documentation Center

Print figures

This API call produces a PDF that contains a list of graphics, figures, or media. No document content is included in this PDF. When calling the API function, one is able to specify which figures are printed by their file name, without the extension. Because the figures are no associated with a document while being printed, the caller of the function must also provide the appropriate title for each figure so that it can be added to the PDF.

Example API call

/servlets3/wietmsd?id=1459778897933&book=s1000d_bike_41&collection=default&target=print&action=print_figures&eid=14&image_list=ICN-S1000DBIKE-AAA-D000000-0-U8025-00502-A-04-1;ICN-S1000DBIKE-AAA-DA52000-0-U8025-00523-A-04-1;&title_list=Cleaning%20the%20bike;Degreasing%20the%20freehub;&eid=14

Parameters

ParameterDescription
targetprint
actionprint_figures
eidThe element level ID on the <DOCUMENT/> envelope tag that wraps all documents in LiveContent, such as "14".
image_listA ";" (semicolon) delimited list of image file names without their extension. In many specifications, such as S1000D, this name is contained in the @boardno attribute.
title_listA ";" (semicolon) delimited list of titles that match the image_list parameter. The order of these parameters needs to match.
idA session ID that is valid for this collection and publication combination.
collectionThe name of the collection that the publication is registered in, such as default.
book The name of the publication, such as s1000d_bike_41.

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 be 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_5_1459780684838.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>