Link to home
Start Free TrialLog in
Avatar of azturhan
azturhanFlag for Türkiye

asked on

Printing from AS400 to a Zebra4M Plus thermal printer

Hello all,

we have just purchased a Zebra 4M Plus thermal printer to be used in label barcode printing. It is at the moment attached to my PC locally (on LPT1) to be tested by us as IT. I defined it as a virtual printer from Client Access.
The vendor told us to create the labels using the Bar-One program they supplied us and use the code created on the .ZPV file to create the printouts on the As400 side. Which I did. In other words I have a spooled file which contains just text that is supposed to be translated by this printer to create proper labels. I direct this spooled file to the thermal printer and it gives QSYSOPR messages such as "write stopped printing file X. Cancel on device Y"
what can the problem be?
Avatar of Bryav
Bryav
Flag of United States of America image

I'm not exactly sure on this one, but it sounds like it may have something to do with the setup of the outq.  Are you sure you have the proper IP address selected and the appropriate configuration on the device & outq?  Also, you may need to send IPDS or some specific data stream to the the zebra printer, I can't remember, but it may need to be setup as an Advanced Function Printer/outq.

My experience with zebra printer has been to create the actual bar code on the 400 and then just send the bar-coded spool file directly to the zebra printer.  I haven't set up ones where you let the pc act as a print server and then let it create teh bar code.

But, my initial thought is that it's a device or outq setup issue, or the spool file type itself.  It may be as simple as doing an override to the print file (ovrprt) to specify IPDS or non-IPDS on the spool file.  Or to set up the outq/device as either an AFP devise or not.

Let us know if you have other details.  There should be some documentation about how to configure the outq/device or the spool file, or at least what it's expecting.

Hope that helps a little. Sorry I can't help more.

Bryant
ASKER CERTIFIED SOLUTION
Avatar of Theo Kouwenhoven
Theo Kouwenhoven
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
BTW,

I never use extra programs to develope labels, just look into the ZPL manual and try to figureout how ZPL is working, it's easy to lern.

regards
Murph
Hi azturhan,

I realize connected to your PC, the Printer will have no IP address.
in that case just copy the testfile to the printer with:

    COPY c:\MyDir\LABEL.TXT LPT1

This will do the same as sending via it FTP.

Regards