For anyone interested, here is some macro code to get datamatrix and aztec barcodes to print on a Datamax I 4208 printer. D(2)_"L"_D(13)^!,
"D11"_D(13)^!, ;DATAMATRIX ;R."W"."1c".H.V."000".ROWP.COLP."200.0".000.000.VALUE", ;R=ROTATE,H=HOR MULT,V=VERT MULT,3 0'S,ROW POS,COL POS,2000000000.value "1W1c11000002500602000000000DATAMAX"_D(13)^!, - prints small barcode "1W1c22000002501202000000000DATAMAX"_D(13)^!, - prints 2x2 barcode "1W1c33000002501802000000000DATAMAX"_D(13)^!, - prints 3x3 "1W1c44000002502402000000000DATAMAX"_D(13)^!, - prints 4x4 "321100000350380DATAMATRIX ECC 200"_D(13)^!, - prints label "3211000002000651"_D(13)^!, - prints size headers "3211000002001252"_D(13)^!, "3211000002001853"_D(13)^!, "3211000002002454"_D(13)^!, ;AZTEC ;R."W1"."f".H.V."000".ROWP.COLP.1.000.VALUE "1W1f11000006000601000DATAMAX"_D(13)^!, "1W1f22000006001201000DATAMAX"_D(13)^!, "1W1f33000006001801000DATAMAX"_D(13)^!, "1W1f44000006002401000DATAMAX"_D(13)^!, "321100000700380AZTEC"_D(13)^!, "E"^! Thanks to Mark Blount for the kick start! Roger ________________________________ From: Thompson, Jeff [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2007 9:04 AM To: Roger Beverly Subject: RE: [MEDITECH-L] alternate barcode formats - 5.6 Magic Roger, Let me know if you find something out. It is something that I've been wanting to do but haven't had the time. I'll keep you in mind if I figure something out, also. Jeff Thompson, R.Ph. Pharmacy Informatics Newman Regional Health Emporia, KS 66801 Direct: 620-340-6150 ________________________________ From: meditech-l@MTUsers.com [mailto:[EMAIL PROTECTED] On Behalf Of Roger Beverly Sent: Thursday, May 17, 2007 12:53 PM To: meditech-l@MTUsers.com Subject: [MEDITECH-L] alternate barcode formats - 5.6 Magic Has anyone had any luck printing a barcode in a format other than 39 or 128 from an NPR report. I was wondering if it would be possible to use an escape sequence to allow the barcode to be printed in a printer defined format. We are using Datamax I class printers, and the programmers manuel lists 50 or so formats and the barcode details. Unfortunately I am a pharmacist and not a programmer, so I do not know how to use the info in the manual. Here is an example entry from the manual for a postnet barcode: <STX>L D11<CR> 1p000000015010032569<CR> 121100000000100Barcode p<CR> E I am not sure how to incorporate this info into the NPR report. I am guessing this would need to be sent to the printer in a computed field or a macro using ^!, but I am lost after that point. Can anyone start me in the right direction? Roger Beverly, PharmD Clinical Pharmacy Coordinator Conway Medical Center, Inc. [EMAIL PROTECTED] Conway Medical Center Disclaimer The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you E2003-HTML Conway Medical Center Disclaimer The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you E2003-TEXT
<<image002.jpg>>
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= To subscribe or unsubscribe to the meditech-l, visit MTUsers.NET. To check the status of the meditech-l, visit MTUsers.NET. For help, email [EMAIL PROTECTED] Visit the MTUsers WikiPedia at MTUsers.NET/mwiki ______________________________________ meditech-l mailing list meditech-l@MTUsers.com http://mtusers.com/mailman/listinfo/meditech-l