Muokkaa

Jaa


Iasphelp::getLongPaperName method

The LongPaperName property enables an ASP Web page to convert a short paper name to a long paper name.

Syntax

HRESULT get_LongPaperName(
  [in]  BSTR bstrShortName,
  [out] BSTR *pVal
);

Parameters

bstrShortName [in]
A caller-supplied pointer to a string that contains a short paper name.

pVal [out]
A caller-supplied location to receive a pointer to a string that contains a long paper name.

Return value

Win32 error codes can also be returned.

Return code Description
S_OK The operation succeeded.
E_POINTER At least one of the parameters does not point to a valid memory location.
E_OUTOFMEMORY Out of memory.

VBScript Example

Dim objPrinter, LongName
Set objPrinter = Server.CreateObject ("OlePrn.AspHelp")
LongName = objPrinter.LongPaperName("iso-a0")

Requirements

Target platform: Desktop