I was able to get a copy of the appropriate strings to place in the printer
init string in the WSCST object.
Which for the record was:

0000.38
:INITPRT

0000.39 DATA
='1B252D31323334355840504A4C204A4F420D0A40504A4C20434F4D4D454E5420585
0000.40
258626567696E0D0A40504A4C20434F4D4D454E54204F49445F4154545F4143434F554E54494E475

0000.41
F494E464F524D4154494F4E5F41565020225852585F5553455249442C39393939223B0D0A40504A4

0000.42
C20434F4D4D454E5420585258656E640D0A40504A4C20454E544552204C414E47554147453D50434

0000.43 C0D0A1B45'X.

in the string above the hex series of 39393939 ( four 9s ) is the account
code on that machine for BW output

The complete String translates to:
<ESC>%-12345X@PJL JOB<crlf>
@PJL COMMENT XRXbegin<crlf>
OID_ATT_ACCOUNTING_INFORMATION_AVP "XRX_USERID,9999";<crlf>
@PJL COMMENT XRXend<crlf>
@PJL ENTER LANGUAGE=PCL<crlf>
<ESC>E

On Mon, Jan 30, 2012 at 1:00 PM, Jack Kingsley <iseriesflorida@xxxxxxxxx>wrote:

Kirk, not sure if this answer is what your looking for, but XEROX has a
library that I believe deals with a bunch of printers including work
centre. Look for a library from XEROX called XTOOLSXXXX where what I have
for this is XTOOLS0509.

On Mon, Jan 30, 2012 at 2:21 PM, Kirk Goins <kirkgoins@xxxxxxxxx> wrote:

A client has just swapped out their copier for a Xerox WorkCenter 7545.
This is a color copier/printer and then have turned on account codes to
prevent most people from printing color. Their Power720 running 7.1
prints
just fine via RemoteOutq but fails to print via PJL or SNMP complaining
about improper accounting code.

They ( and I ) would really prefer to use either PJL or SNMP device cfg
verses RemoteOutq. Anyone know how to get IBM i to print to this beast
with accounting codes enabled?

Thanks

--
Kirk
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.