|
As someone else stated well, barcode printing can be accomplished many ways. 1. Using native RPG primitives, you can print barcodes to an IPDS printer. It's purely a DDS function as shown below. ENAME R 1 4 EMPNOZ 6 2 8 EMPNOB 7 3 4BARCODE(CODE3OF9 2 *NOHRI) Above is a DDS stub from a program that prints specific employee badges upon demand. Note that the Empno? field is shown twice, once for regular print, once for bar code. The difference in length is for the checkdigit associated with empno (MAPICS). The nohri stands for no human readable, as we find it too small. The 2 between is character height, IBM is pretty good in the manual about this stuff. 2. A company called cablenet makes an IPDS converter that fits nicely between your twinax and an HP laser's parallel connection. Get a laser with both a NIC and parallel and you've a great service combo! (I think black box makes (re-packages) the device as well) You should have this for MAPICS routers (travellers) anyway! 3. Use a 'pc' based Thermal Transfer printer, such as Zebra. Encode ZPL (Zebra printer language) within the DDS and put a protocol converter between the twinax & printer (EBCDIC to ASCII) and your off! 1 1'~CC?' 2 1'?XA' 3 1'?FO60,40?GB1125,1055,4?FS' 4 1'?FO580,40?GB0,215,4?FS' 5 1'?FO80,53?CFF?FDFROM:?FS' 6 1'?FO80,83?A0,30,30?FDSHUR-LOK CORP.' 6 35'?FS' 9 1'?FO325,30?XGR:SLLOGO1.GRF1,1?FS' Above is a sample of DDS for ZPL, its drawing borders, incorporating text & variables, barcodes, and even graphics such as logos! It can get cumbersome, but there are ways of accomplishing within RPG, this is appealing to me because its all background, no interactive, spool/screen scrapes, no batches and best of all NO LICENSING FEES!!!!!!! Hope this wasn't too low level, can supply full examples if you like. james leleux % shur-lok corp. +--- | This is the MAPICS Mailing List! | To submit a new message, send your mail to MAPICS-L@midrange.com. | To subscribe to this list send email to MAPICS-L-SUB@midrange.com. | To unsubscribe from this list send email to MAPICS-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: dshaw@spartan.com +---
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.