Epson TM-U950 Connection to AS400

pts.
Tags:
Development
Using a COBOL program, I am trying to print to the slip printer portion of the Epson TM-U950 POS Printer. I can print to the receipt/journal, but can not direct the print to the slip printer. I am on V5R3 and am defining my print session thru Client Access. I have tried sending ESC sequences to the printer, but does not help. Thanks

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi JimAlex,
we use workstation customization objects ( *WSCST-objects ) to solve those problems. This WSCST-table can be integrated in the client access printer session.
To use this you have to write a special character to the printerfile which will be translated by the WSCST-Table. That means X’A8′ for example will be replaced by the appropriate ESC-sequences. Here part of the WSCST-Table which I created for use with EPSON TMT88-printer with customer display :

:WSCST DEVCLASS=TRANSFORM.

:TRNSFRMTBL.
:PRTDTASTRM
DATASTREAM=IBMPPDS1.
:INITPRT
DATA =’1B40’X.
:RESETPRT
DATA =’10’X.
………
:CODEPAGE
CODEPAGE= 850
DATA =”X.
/* start customer display ( ASCII X’A8′ = EBCDIC X’AB’ */
:ASCIICTL
ASCII=’A8’X
DATA =’1B3D001B3D02’X.
/* end customer display ( ASCII X’A7′ = EBCDIC X’9B’ */
:ASCIICTL
ASCII=’A7’X
DATA =’1B3D001B3D01’X.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following