Hello Lynn

When I send a file with ZPL II commands to a zebra printer directly (via an *userascii printer-file) the data must be ascii, as Craig points out. Mostly I have to use CCSID 437. If you read the file with a rpg-program, it is possible, that the data in your program is in EBCDIC. If this is the case, please consider to use iconv to convert the data to ascii. You can see the CCSID of your file in the IFS with the command wrklnk and option 8.

Best regards

Jan

Am 02.10.2013 15:25, schrieb Lynn McManus:
This is the contents of my text file. It is a UPS label string generated by
UPS. I am printing to a Zebra 105SL.

¬XA¬LRN¬MNY¬MFN,N¬LH10,12¬MCY¬POI¬PW812¬CI27

¬FO620,1140
¬GFA,00969,00969,019,FFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000
F0000000000001F8000000000000F000000000
F0000000000001F8000000000000F000000000
F0000000003F81F83FC000000000F000000000
F0000000003F81F83FC000000000F000000000
F000000000FFF9F9FFF000000000F000000000
F000000000FFF9F9FFF000000000F000000000
F000000000FFFFFFFFFC00000000F000000000
F000000000FFFFFFFFFC00000000F000000000
F000000000F07FFFF0FC00000000F000000000
F000000000F07FFFF0FC00000000F000000000
F000000000FC1FFFC3F000000000F000000000
F000000000FC1FFFC3F000000000F000000000
F000000000FFFFFFFFF000000000F000000000
F000000000FFFFFFFFF000000000F000000000
F0000000003FFFFFFFC000000000F000000000
F0000000003FFFFFFFC000000000F000000000
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000
F00000000001FFFFF00000000000F000000000
F00000000001FFFFF00000000000F000000000
F00000000003FFF9FC0000000000F000000000
F00000000003FFF9FC0000000000F000000000
F0000000003FE1F87FC000000000F000000000
F0000000003FE1F87FC000000000F000000000
F000000000FF81F83FF000000000F000000000
F000000000FF81F83FF000000000F000000000
F000000000FE01F803F000000000F000000000
F000000000FE01F803F000000000F000000000
F000000000F001F800F000000000F000000000
F000000000F001F800F000000000F000000000
F0000000000001F8000000000000F000000000
F0000000000001F8000000000000F0FFDC1C00
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF0FFDC1C00
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF00C1E3C00
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF00C1E3C00
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF00C1A2C00
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF00C1B6C00
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF00C1B6C00
0000000000000000000000000000000C1B6C00
0000000000000000000000000000000C19CC00
0000000000000000000000000000000C19CC00
0000000000000000000000000000000C19CC00
0000000000000000000000000000000C188C00
00000000000000000000000000000000000000
00000000000000000000000000000000000000
00000000000000000000000000000000000000
¬DN
¬FT20,630¬CVY¬BD2¬FH_¬FD003840358010000Ý)>_1E01_1D961Z99754258_1DUPSN_1DXXXX
X_1E07U-8+04S)H5U,DG$R#Y.SD&%":YH%ANEA:S,JJPW_1D7+ZS_0D_1E_04¬FS

¬FT15,23¬A0N,20,24¬FVQUEST¬FS
¬FT15,42¬A0N,20,24¬FV2707591248¬FS
¬FT15,61¬A0N,20,24¬FV300 EAST CHESTNUT STREET¬FS
¬FT15,81¬A0N,20,24¬FVMURRAY KY 42071¬FS
¬FT60,183¬A0N,28,32¬FVPROPST DISCOUNT DRUGS, INC.¬FS
¬FT60,213¬A0N,28,32¬FV2565397443¬FS
¬FT60,244¬A0N,28,32¬FV717 PRATT AVENUE NE¬FS
¬FT60,288¬A0N,45,44¬FVHUNTSVILLE AL 35801¬FS
¬FT380,30¬A0N,30,34¬FV3 LBS ¬FS
¬FT673,34¬A0N,28,32¬FV 1 OF 1¬FS
¬FT620,736¬A0N,100,76¬FV ¬FS
¬FO677,640¬GB123,123,122¬FS

¬FT300,618¬BY3¬BCN,103,N,N,,A¬FV42035801¬FS

¬FT290,493¬A0N,80,70¬FVAL 357 0-01¬FS
¬FT10,704¬A0N,56,58¬FVUPS GROUND¬FS
¬FT10,737¬A0N,26,30¬FVTRACKING #: 1Z 4E6 310 03 9975 4258¬FS
¬FO0,762¬GB800,4,4¬FS

¬FT790,1039¬A0N,22,26¬FV ¬FS
¬FT10,1035¬A0N,22,26¬FVBILLING: ¬FS
¬FT126,1035¬A0N,22,26¬FVP/P ¬FS
¬FT10,1151¬A0N,22,26¬FVDealer No.: 2817¬FS
¬FT15,153¬A0N,28,32¬FVSHIP TO: ¬FS
¬FO0,637¬GB798,14,14¬FS

¬FO0,997¬GB800,14,14¬FS

¬FO0,416¬GB800,4,4¬FS

¬FO240,416¬GB3,221,3¬FS

¬FT190,1188¬A0N,14,20¬FVXOL 13.09.14 NV45 42.0A 07/2013¬FS
¬FT105,982¬BY3¬BCN,202,N,N,,A¬FV1Z4E63100399754258¬FS

¬FT273,896¬A0N,95,74¬FVSAMPLE¬FS
¬XZ¬XZ
Lynn McManus

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Jan Grove Vejlstrup
Sent: Wednesday, October 02, 2013 1:11 AM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] print stream file to zebra.

Hello Lynn

What is the content of the file, you send to the zebra-printer? What is the
model of the zebra-printer?

Best regards

Jan

Am 02.10.2013 00:28, schrieb Lynn McManus:
Hello all again,


I am having an issue with a printer file I create as *userascii goes
to the printer and disappears. I am reading a text file from the
IFS,(I can open the file and see my ZPL font), I read the stream file,
parse out the line feeds, write to qsysprt.

Printer file gets created, cannot open as it is *userascii. When
released it simply disappears and nothing prints.


Any ideas?


Thanks in advance!


Lynn


Lynn McManus


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.