ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

iSeries And Micr

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • iSeries And Micr

    Hi all,

    We have HP 9050 dn that apparently has the MICR font on it. If I print out the HP PCL5e Permanant Soft Fonts from the printer's menu, it lists the font.

    The printer itself is setup as AFP *NO and Host Transform Print *NO.

    In trying to create the MICR, I have been using a prtf and in that I have a line:
    13 1DFT(X'1B283132571B28733070382E31316-
    8302E327630732D31623338343030-
    54') TRNSPY

    Which is the escape sequence that printed out on the above mentioned Fonts list from the printer - I just converted it the HEX shown in the command.

    When I went to print the spool file I got an "Attributes not supported" message and when I ignored the message a few symbols printed on the paper and nothing else.

    I have seen this printer create MICR code before, but I believe the package that created it was using it's own macros that it would send to the printer. If I knew how to create a macro for the printer I might be able to go that route.

    That is my problem - how can I get the MICR to be printed? I cannot change the configuration of the printer and we cannot purchase canned form/check software.

    Thank you in advance for your help.

    George

  • #2
    Re: iSeries And Micr

    Did you read thru this ?


    jamie
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: iSeries And Micr

      To send an escape sequence you have to start with X'03'
      After, follow with the number of escape sequences.
      In your example you send 30 sequence (30 Decimal = 1E in Hexa) : X'1D283132571B28733070382E313168302E327630732D3162 333834303054') TRNSPY
      Then you have to send :
      X'031E1D283132571B28733070382E313168302E327630732D316233 3834303054')
      Patrick

      Comment


      • #4
        Re: iSeries And Micr

        Originally posted by jamief View Post
        Thanks Jamie....but the printer we are using is not defined as *AFPDS nor can it be re-defined. Also, we seem to already have the MICR font on the printer (according to the printer's font list).

        Thank you anyway.

        George

        Comment


        • #5
          Re: iSeries And Micr

          Patrick,

          Thank you for the suggestion. I will try that out today and post the results.

          George

          Comment


          • #6
            Re: iSeries And Micr

            I changed the line in the PRTF to the following:

            13 1DFT(X'031E1B283132571B28733070382E3-
            13168302E327630732D31623338343030-
            54')

            But received the same results...the first message was "Attributes of file CKTEST2 not supported for device CHKLSR." And taking an "I" to that just printed out a few symbols

            Comment


            • #7
              Re: iSeries And Micr

              Maybe I am referencing the MICR font wrong? When I do a "pcl font list" from the printer, this is one of the ones included in the list"

              Font: MICR
              Pitch/Point: 8.11/0.2
              Escape Sequence: <esc>(12W<esc>(s0p8.11h0.2v0s-1b38400T
              Font #: SOFT 3
              Font ID: 1003

              Font: MICR
              Pitch/Point: 8.11/0.2
              Escape Sequence: <esc>(12W<esc>(s0p8.11h0.2v0s-1b38400T
              Font #: SOFT 4
              Font ID: 1004

              Comment


              • #8
                Re: iSeries And Micr

                Does the printer have a MICR toner cartridge in it?

                Having the font is one thing, but you have to use a magnetic ink for the banks to read it.

                Comment


                • #9
                  Re: iSeries And Micr

                  Yes...we have the MICR toner cartridges.

                  Comment

                  Working...
                  X