Difference between revisions of "S63 - Stock Image (Picture) Filename (Stock Control Report Generator variable)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
(Updated from revision control)
 
Line 4: Line 4:
  
 
== Description ==
 
== Description ==
Returns the name of an image file associated with the stock item. This can be used in conjunction with image printer commands (e.g. {{DataValue|^{I filename}}} with the built-in Platinum Windows printer driver) to include images on printed reports.
+
Returns the name of an image file associated with the stock item.
 +
 
 +
This can be used in conjunction with image printer commands (e.g. {{DataValue|^{I filename}}} with the built-in Platinum Windows printer driver) to include images on printed reports.
  
 
{{Example|text=
 
{{Example|text=

Latest revision as of 07:04, 13 February 2018

Syntax

S63{id}

Description

Returns the name of an image file associated with the stock item.

This can be used in conjunction with image printer commands (e.g. '^{I filename'} with the built-in Platinum Windows printer driver) to include images on printed reports.

"^{I" + S63 + ",,25}" prints the default image (with a height of 25mm).


Parameters

id
A numeric parameter that can be omitted (it defaults to "0").
The identification number of the image to print from 1 to 999. A value of 0, or if the parameter is omitted, will give the designated default/favourite image.

Returns

A text value whose typical size is 90 characters.

See also

$FILENAME.