![Xerox AS/400 Installation And Setup Manual Download Page 18](http://html2.mh-extra.com/html/xerox/as-400/as-400_installation-and-setup-manual_3764333018.webp)
dc05cc0371
18
CRTXDEVPRT Driver Program Option
When using the CRTXDEVPRT you have the choice of using the IBM supplied drivers IBMSNMPDRV, HPPJLDRV
or the Xerox driver called XSNMPDRV that is modeled after the IBMSNMPDRV but has some enhanced features.
The Xerox SNMP driver adds the capability to Prepend or Postpend printer setup functions such as stapling or
hole punching not available in the WSCO. The Prepend collection is transmitted before the spool file data. The
Postpend collection is transmitted after the spool file data. The sample source files are located in QTXTSRC in the
XTOOLS
xxxx
library. This is the same source file that contains the source for the Xerox WorkStation
Customization Tables. One way to create the source files is to use
“strpdm” and copy the Prepend and Postpend
examples to make new files for editing. Control characters are entered into the source file using the hex value, so
the esc character would be \x1b. A line feed would become \x0a.
Even though lines in source members are typically delimited by New Line characters, it is required that the user
add the \x0a as a line terminator at the end of each line so that when the source text is converted to ASCII it
knows which lines to include in the data sent to the printer.
The XSNMPDRV owner and authority is set to XRXUSER and Use adopted authority is *YES. This must be
changed to *OWNER and *NO for Use adopted authority.