× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



It looks like the special value *DFT did the trick.

A GLS8903 127A
A BARCODE(DATAMATRIX 1 +
A (*DATAMATRIX *DFT 36))
A POSITION(3.3 9.1)

Now I am able to print a barcode with mixed case and a | pipe.

Bill and Dan, thanks for the very useful input!

Best Regards
Wim



"Scott, Bill" <Bill.Scott@xxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
04/06/2009 22:03
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
"Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
cc

Subject
RE: 2D DataMatrix Barcode Error






V5R4 DDS Data Matrix spec calls for alternative-data-type of *USRDEF,
*AIMSTD and *UCCEAN with the default being *USRDEF.

There are also called ASCII, C40, TEXT, and BASE256. I think that it wants
to encode to C40 or TEXT and does bad things when it tries to fit a 127
mixed characters into a 36 x 36 matrix. Change 36 x 36 to *DFT and/or
force your data to be all upper or all lower case and you should have no
problem printing.

See this
http://www.idautomation.com/datamatrixfaq.html#Encoding_Modes
And look at the bottom of the web page for the size table.
Or if you prefer IBM's, look on physical page 76-79 in S544-3766-06 Bar
Code Object Content Architecture Reference

If you are still stuck, contact me and I'll test on other IPDS printers.

Bill Scott
Océ North America, Inc.
Tel.: (561) 997-3256
e-mail: Bill.Scott@xxxxxxx

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dan Kimmel
Sent: Thursday, June 04, 2009 11:54
To: Midrange Systems Technical Discussion
Subject: RE: 2D DataMatrix Barcode Error

This may be as far as I can go toward helping without dumping the print
stream.

You might check the device description of the printer and make sure it is
all coordinated with your printer. Auto-gen'd device descriptions are
sometimes wrong.

Is sysval QCCSID 37?

Contents of the MoDCA barcode tag generated by the print file may be
translated at a different point in the workflow than the rest of the text.
Your print file generates MoDCA AFP. The print writer uses the device
description to convert that stream to IPDS. The printer reads the IPDS and
rasterizes it to the paper. Anything can be a problem. IPDS is a
bi-directional data stream. I've heard of these things breaking when the
network blocked the back-channel.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Wim_Vandepoel@xxxxxxx
Sent: Thursday, June 04, 2009 8:34 AM
To: Midrange Systems Technical Discussion
Subject: RE: 2D DataMatrix Barcode Error

Thanks for the reply Dan,

Here is what I can find about code pages and CCSID's...

- the printer default code page is Int. Set 5 500
- the job's default code page is 37
- the printer file has *DEVD as character identifier
- the device character identifier is *SYSVAL

According to the manual, the system extracts the ccsid of the job that
generates the spool file and translates EBCDIC data to code page 500.
The printer then translates the data from code page 500 to the appropriate
ASCII code page.

Did I miss something?

FWIW, I get the same errors on V5R4.
Wim



"Dan Kimmel" <dkimmel@xxxxxxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
03/06/2009 20:11
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
"Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx> cc

Subject
RE: 2D DataMatrix Barcode Error






The message is that the printer refused to print the barcode. Most likely
due to a character that the barcode doesn't support. Datamatrix promises
to print any ASCII character. So somewhere the EBCDIC to ASCII is not
producing a valid ASCII character representation. IPDS is usually a EBCDIC
stream to the printer, but that depends on how your printer definition is
configured. In that case, printer should be doing whatever character
translation is necessary to produce the barcode. The printer firmware is
rasterizing the bitmap for the barcode and should know its own EBDCIC to
ASCII translation.

Examine the CCSID of your print file and see if that matches the CCSID the
printer expects. I'm guessing you are someplace where everything is not
37.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Wim_Vandepoel@xxxxxxx
Sent: Wednesday, June 03, 2009 2:03 AM
To: midrange-l@xxxxxxxxxxxx
Subject: 2D DataMatrix Barcode Error

Hi All,

I am trying to print a 2D Datamatrix Barcode with an IPDS printer
(infoprint 1552).
The data to print consists of address pieces seperated by a pipe.

If I only use upper case or lower case, numbers and spaces, the barcode
prints out fine.

If I combine upper and lower, or if I use a pipe or other characters like
comma, dot, slash, ampersand...
I get the following error:

Message ID . . . . . . : PQT3665, Bar Code Specification Check
exception.
Message ID . . . . . . : PQT3630, Sense data X'040C0100 DE000001
00000000 D6810000 00000000 00000001' was received


Here is the DDS code:

A GLS8902 127A
A BARCODE(DATAMATRIX 1 +
A (*DATAMATRIX 36 36))
A POSITION(3.3 0.6)

We are at v5r3.

Any idea why I can not print those characters?
Could it be a translation error?

Best Regards
Wim
--




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.