I'm trying to print checks directly from my iSeries without having to use any type of forms software. My company's current solution uses a PC based solution that reads a spool file from the iseries and transforms it into checks using printer resident fonts to print the MICR line, secure digits, and signature.
I figured out how to access and print the printer resident fonts by sending the PCL escape codes in my DDS by translating the codes into Hex and using the TRNSPY keyword.
My next step is trying to format the check as needed, and there is a lot of static information that I figured I could use an overlay to print. This information is company name, address, etc. etc. So, I read up on how to create overlays, I installed the AFP printer driver on my PC, and using Word, I created an overlay document. I imported the overlay via iSeries Navigator.
My question is, in order to use the overlay, do I have to change the data stream of my prtf to be an AFPDS stream? Will this prevent me from sending the PCL codes I need to send to use the printer resident fonts? When I tried to compile my prtf with an AFPDS data stream, I got warnings that the TRNSPY keyword may not work as I expect it to.
Some more info you may need: I'm using an HP laser printer defined as a *SCS printer on the iSeries with HPT enabled.
Any advice would be greatly appreciated.
Thank you,
Vincent
I figured out how to access and print the printer resident fonts by sending the PCL escape codes in my DDS by translating the codes into Hex and using the TRNSPY keyword.
My next step is trying to format the check as needed, and there is a lot of static information that I figured I could use an overlay to print. This information is company name, address, etc. etc. So, I read up on how to create overlays, I installed the AFP printer driver on my PC, and using Word, I created an overlay document. I imported the overlay via iSeries Navigator.
My question is, in order to use the overlay, do I have to change the data stream of my prtf to be an AFPDS stream? Will this prevent me from sending the PCL codes I need to send to use the printer resident fonts? When I tried to compile my prtf with an AFPDS data stream, I got warnings that the TRNSPY keyword may not work as I expect it to.
Some more info you may need: I'm using an HP laser printer defined as a *SCS printer on the iSeries with HPT enabled.
Any advice would be greatly appreciated.
Thank you,
Vincent
Comment