ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Printing to Zebra ZT220 from AS400 - OUTQ Help Required

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

  • Printing to Zebra ZT220 from AS400 - OUTQ Help Required

    Hi all,

    I have tried all manner of ways to set up the Zebra on our AS400, including following the posts on this forum and the Zebra site. These are the parameters I have used to create an outq: -

    Remote system - *INTNETADR
    Remote printer queue - portLF1
    Writers to start - 1
    Connection type - *IP
    Destination type - *OTHER
    Host print transform - *YES
    Manufacturer - *WSCSTCONT132
    W/S Customisation - QWPDEFAULT
    Library - QSYS
    Image configuration - *NONE
    Internet address - 123.123.123.123
    Destination options - *NONE and 'XAIX' and 'XAUTOQ XAIX' (Tried three)
    Print separator pages - *NO
    User driver program - *NO

    In standalone mode if we copy/paste the output from one of our AS400 programs to a PC, we can print to the Zebra when it is connected to the PC with a USB connection.

    Using the Zebra set up tools I have set the network address etc. on an internal Zebranet 10/100 print server.

    When connected to the network I send a print from the AS400 and the NIC light blinks on the back of the Zebra, but the data light on the front panel doesn't come on and it doesn't print.

    Does anyone have any ideas?

    Thanks,
    Neil

  • #2
    Re: Printing to Zebra ZT220 from AS400 - OUTQ Help Required

    Hi all,

    We found that, whilst connected to the PC, we had to change the control "^" to "%" and then made the change permanent. It then worked on the AS400 quite happily. I don't know if this is anything to do with us being in the UK.

    We also had a problem printing the pound sign, which we have now overcome.

    Thanks,
    Neil

    Comment


    • #3
      Re: Printing to Zebra ZT220 from AS400 - OUTQ Help Required

      Neil,

      Thanks for answering your own question.
      We run numerous Zebra printers and can share configurations if you like.

      Take care
      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


      • #4
        Re: Printing to Zebra ZT220 from AS400 - OUTQ Help Required

        Hi Jamie,

        Originally posted by jamief View Post
        We run numerous Zebra printers and can share configurations if you like.
        Thank you for the kind offer. We've now got it printing as a *DEV/OUTQ/Client Session. The problem, for us, was all down to the "^".

        I was just about to post this on the Zebra forum but, perhaps, you can help? The following code prints the test label and then throws a blank label. Any idea what we are doing wrong?

        Due to some controls being in dots/inches, our developer has written it so that it switches backwards and forwards so that it is always in the right mode.
        Code:
        %XA         
        %MUM        
        %LL077.00%FS
        %LH000,000  
        %MUD        
        %MUM        
        %FO005,055  
        %MUD        
        %ATN,00048  
        %FDSIZE%FS  
        %MUM        
        %FO016,055  
        %MUD        
        %ATN,00048  
        %FD7%FS     
        %MUM        
        %FO005,040  
        %MUD        
        %AVN,00080
        %FH         
        %FD_9C%FS   
        %MUM        
        %FO009,040  
        %MUD        
        %AVN,00080  
        %FD42.00%FS 
        %MUM        
        %FO005,035  
        %MUD        
        %ATN,00048  
        %FDS%FS     
        %MUM        
        %FO005,030  
        %MUD        
        %ATN,00048  
        %FDB2171W%FS
        %MUM        
        %FO034,030 
        %MUD               
        %ATN,00048         
        %FD100%FS          
        %MUM               
        %FO005,015         
        %MUD               
        %BY3               
        %BEN,00050,N,N     
        %FD503460354930%FS 
        %MUM               
        %FO007,022         
        %MUD               
        %ATN,00048         
        %FD5034603549302%FS
        %PQ00001           
        %XZ
        Thanks,
        Neil

        Comment


        • #5
          Re: Printing to Zebra ZT220 from AS400 - OUTQ Help Required

          Neil,

          We use TLAshford and the software does all the heavy lifting for us.
          I haven't had to write zebra code in over 15 years, so sorry I won't be much help to you.
          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


          • #6
            Re: Printing to Zebra ZT220 from AS400 - OUTQ Help Required

            Jamie,

            OK, it was worth asking.

            Thanks,
            Neil

            Comment

            Working...
            X