|
With ASCII Transparency?
Also spoke to IBM(Client Access support team). They said that there in no way to trigger "ESC P" in Client access accept by putting it in WSCST(Work Station Customizing Object), but they no longer support it therefore they can not let me know how to do it. Does anyone has any knowledge what syntaxes do I have to put in my WSCST object and where? Text file is pretty big. Please see attached.
It seems to me IBM support have given you an acceptable pointer to the solution. The caveat is that I've never tried this particular support using a WSCST however ... A look through the WSCST source you sent shows two interesting tags :INITPRT and :RESETPRT A cursory glance through the WSCST Programming Reference says: "The INITPRT (initialize printer) tag defines the ASCII control sequence for the initialize printer function for an ASCII printer. The host print transform function uses the INITPRT tag at the beginning of each print job." and "The RESETPRT (reset printer) tag defines the ASCII control sequence for the reset printer function for an ASCII printer. The RESETPRT tag is used by the host print transform at the end of each print job." Because printing a receipt is a "print job" (presuming each receipt is a separate spooled file) it would seem reasonable that you could modify either of these tags to include the ESC P incantation. Your only decision is whether to open the drawer before printing the receipt (i.e. :INITPRT) or after (:RESETPRT). The current data for these tags already includes the Escape character. I'm fairly sure that Escape codes can be strung together so you only need to add the 70 to the end of the current data. Easy enough to try it both with and without the second 1B and see what happens. Regards, Simon Coulter. --------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.
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.