Appendix

Prompts supported by single-function printers

Single-function printers do not support all prompts supported by multifunction printers. Lists of supported prompts are included in the table below.

 

Touch screen printers

Non-touch screen printers

Supported prompts

  • ArrayPrompt

  • AuthenticationPrompt1

  • BooleanPrompt

  • CustomVlmlPrompt

  • ImageBooleanPrompt

  • ImageListPrompt

  • ImageMessagePrompt

  • IntegerPrompt

  • ListPrompt

  • MessagePrompt

  • NumericPrompt

  • PasswordPrompt

  • StringPrompt

  • NullPrompt

  • ArrayPrompt

  • AuthenticationPrompt1, 2

  • BooleanPrompt

  • IntegerPrompt

  • ListPrompt

  • MessagePrompt

  • NumericPrompt

  • PasswordPrompt3

  • StringPrompt2

  • NullPrompt4


Double-byte character support

Not all printer models support double-byte characters. If your printer is not listed in the table below, it does not support double-byte characters.

Printer model

Simplified Chinese

Traditional Chinese

Japanese

Korean

C748

C792

C925

C950

CS510

CS720

CS725

CS820

CX410

CX510

CX725

CX820

CX825

CX860

MS610

MS810, MS812, MS911

MX410, MX510, MX511

MX610, MX611

MX710, MX711

MX810, MX811, MX812

MX910, MX911, MX912

X463, X464, X466

X

X548

X642

X

X

X

X644, X646

X

X

X651, X652, X654, X656, X658

X

6500

X734, X736, X738

X

X746, X748

X782

X

X

X792

X850, X852, X854

X

X860, X862, X864

X

X925

X940, X945

X

X950, X952, X954


Sample script for an export event

Public Function fnJSAPIProfileCall(ByVal profileName As String, 
pWorkdoc As SCBCdrPROJLib.SCBCdrWorkdoc)
   Dim SOAPResponse, XML

   SOAPResponse = fnJSAPIStart(profileName, pWorkdoc)

   ' Parse START response
   Set XML = CreateObject("Microsoft.XMLDOM")
   XML.setProperty "SelectionLanguage", "XPath"
   XML.async = False
   XML.loadXML(SOAPResponse)

   Dim names, values
   Set names = XML.selectNodes("//name")
   Set values = XML.selectNodes("//value")

   Dim key, sessionID, scanUrl, tomcatIP, webdavUser, webdavPasswd
   Dim idx
   For idx=0 To names.length-1
      key = names(idx).Text

      If key = "sessionID" Then
         sessionID = values(idx).Text
      ElseIf key = "tomcatIP" Then
         tomcatIP = values(idx).Text
      ElseIf key = "scanUrl" Then
         scanUrl = values(idx).Text
      ElseIf key = "webdavUser" Then
         webdavUser = values(idx).Text
      ElseIf key = "webdavPasswd" Then
         webdavPasswd = values(idx).Text
      End If
   Next

   ' Optionally put the original tiff to the correct webdav folder 
   ' location for processing by the script being run.
   Dim doWebDavPut As Boolean   
   doWebDavPut = True ' hardcoded True for this example
   If doWebDavPut Then
      Dim http, fNameWithoutExt, fName, fileObject, fileBytes
      ' Original tiff file
      fNameWithoutExt = Left(pWorkdoc.Filename, CStr(Len(pWorkdoc.Filename) - 3))
      fName = fNameWithoutExt & "tif"

      ' Load tif bytes
      Set fileObject = CreateObject("ADODB.Stream")
      fileObject.type = 1
      fileObject.Open
      fileObject.LoadFromFile fName

      fileBytes = fileObject.Read

      ' webdav put bytes
      Set http = CreateObject("MSXML2.XMLHTTP.3.0")
      http.Open "PUT", scanUrl & "/scan.0.file.0.tif", False, webdavUser, webdavPasswd
      http.setRequestHeader "translate", "f" ' Set this to prevent stream problems
      http.Send fileBytes ' Send the stream across
   End If

   fnJSAPIMetadata(sessionID, scanUrl, tomcatIP)
End Function