|
Have you tried replacing it with a space? (0x20)
If the device is expecting ASCII, then a space shouldn't spawn errors,
right?
Yvan
2012/7/19 DrFranken <midrange@xxxxxxxxxxxx>
Is anyone using Printronix label printers LAN connected for the
exclusive purpose of printing pre-formatted labels?
We have beat this problem to death, IBM is out of ideas (up to "You can
pay for a consultant.")
Problem is that IBM i (5.4) is sending an occasional '0C' (feed
character.) When that is in the middle of the label command language
stream it's fine because the printer's control process ignores it.
However when it happens to be in the ASCII bits between labels where the
'EXECUTE FORM' is sent, then it causes that row of labels to print Twice!
Attempting to use a WSCST object to replace the 0C with nothing (i.e.
DATA = ''X) fails because ''X and '00'X work out to the same thing. So
the 00 appears instead of the 0C and that sends the printer wacko and it
prints errors instead of labels.
I tried to be cute by replacing the 0C with a 0A because the 0C was
overlaying 0A. Worked for printing BUT the system always sends an 0C at
the end of the print file so now it sends 0A and that wacks the
alignment by one line for each label job.
SOMEBODY has to be using these printers??? Thoughts?
- Larry "DrFranken" Bolhuis.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.