|
Hi Steve, Thanks for the reply. My answers are inline. From: "Steve Richter" <srichter@AutoCoder.com> > how do you load the macro? Do you "print" the macro as a preceeding splf? The macro is loaded from a PC, copied from a PC .txt file (DOS command: copy macrofil.txt lpt1: /b). > how is the printer attached to the as400? you said the cnnType is *Ip. is > there anything between the printer and the as400? The printer has an ethernet card and its own IP address, so it's simply on the LAN to which the AS400 has access. No routers or gateways in between. > why use any customization object? In order to put in the printer initialization string which will cause the macro to run and draw the overlay, without having to modify any vendor programs. > it is really important to get the dump working. can you set a smaller font > before the switching to dump mode? It's already at 6pt. Now that I think about it, another idea would be to put crlf at the end of all the init strings in the customization object... > I have done this in the past, loading a macro in the printer to overlay a > form outline. The hp was attached to an IO terminal. the IO terminal had a > special printer passthru cmd that enabled the escape symbol to be passed to > the printer. I dont recall the details, but I am pretty sure that once the > macro was loaded, each splf sent to the sna attached printer did not reset > the printer, so the macro stayed resident and it worked. Sounds similar except I don't have all the stuff in between. We have made some progress. I removed everything from the customization object except the name and the :INITPRT and :RESETPRT. That came close -- the overlay printed, but the spool data was all on one line. So I added back in :CARRTN, :FORMFEED, and :LINEFEED and it's almost working. The only remaining problem is getting the font set correctly. I would say that getting it to work by removing all that stuff proves that something in there was resetting the printer in some way so that it lost my command to enable the macros for each page. My guess is still the page orientation. I'll probably try that tomorrow. The other interesting part of this is that I'm 70 miles from the printer, and I'm not doing the macro. I had the guy on the other end fax me the dump, but it was so tiny it was impossible to be sure what half the characters in the dump were. Regards, Peter Dow Dow Software Services, Inc. 909 425-0194 voice 909 425-0196 fax > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: david@midrange.com > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.