To Anyone Who Can Help,
I have a request from our Pharmacy User. We are Using Meditech’s CS (Client Server) Pharmacy System Version 5.65
We currently print a Pharmacy IV Label using NPR that prints a RX# - BAR.CODE field on the label
We us a “DATAMAX M CLASS” Thermal Printer to print IV Labels. I have been asked to switch to a “2d” BARCODE format.
I have asked Meditech for help with this. They have stated that my printer in the UNIVERSE must be defined as “GENERIC” and the print driver for the printer must be setup to use a “GENERIC” print driver. Which they now are. Meditech has also given me a sample NPR program: “PHA.RX.zcus.jph.bulk.label.2d” report # 00983 that I downloaded from the Meditech Report Archive that prints a “2d” format.
The code in the “print” macro of the program uses “escape/mapping” codes that I do not understand. Here is a sample:
*(Can anyone help me with this? I am getting everything printing on the same line overlapping output/unreadable and no “2d” bartcode. Please help if you can.)*
n Gary Baker -- gary....@uthct.edu
;- ESC SEQ Codes for Datamax Label Printer
;---------
N("")^!,
D(2)_"L"_D(13)^!,
"1911A0500800010"_@patient's.name_D(13)^!,
"1911A0500800280"_@patient's.location_" "_(@patient's.room.bed)_D(13)^!,
"1911A0500650010"_@patient's.acct.number_" DOB:"_%Z.date.out.long(@patient's.computed.birthdate)_" Disp:"_%Z.date.out(@.today)_D(13)^!,
"1911A0500500010"_...@MED.GEN.NAME_" "_@med's.strength_D(13)^!,
IF{@med's.name "1911A0500350010"_"("_@med's.name_")"_D(13)^!},
"1911A0500200010"_...@TEXT.OUT_D(13)^!,
"1911A0500050010"_"DISPENSE: "_...@number.to.dispense_" x "_@med's.bulk.size_" "_...@BULK.ID_D(13)^!,
;---------------------------------------------------------
; 2D Datamatrix Barcode
"1W1c33000000003052000000000"_@NUMBER_D(13)^!,
;----------------------------------------------------------
-/LBLS[999]^MAX,
IF{MAX=/["trq"];@FORM.FEED},
1
IF{@med's.bulk.id^Z Z:14T}
TEXT.OUT
IF{@Text.out(@label.comment[1])^Y Y:35T}
If you are seeing the print commands on your label either the printer is not actually set up as GENERIC or the print driver is not actually GENERIC TEXT on the print server.
The code in this macro is Datamax DPL code
If you are printing to preview you will see a bunch of overlapping lines. If you are printing to a laser or other printer you will also get overlapping lines including the print strings and the data.
Joe Cocuzzo
Vice President
NPR Services
Iatric Systems, Inc.
Phone/Fax: (978) 805-4115
Email: Joe.C...@iatric.com
Web: www.iatric.com
Iatric Systems is a leading provider of integrated software applications, interfaces and reporting solutions for hospitals and healthcare systems.
Can you explain to me what Datamax DPL code means? Does that mean it will not work on the Datamax M Class printer I am working with?
My knowledge of Datamax Thermal Printers is limited. Any help would be appreciated………Gary Baker
DPL = Datamax Printer Language.
It should work with your printer. If you see the codes themselves printing, that is a sign that either the printer is not set up as Generic in UNV or that there is a datamax print driver messing with you on the print server. Or possible the UNV setup is not quite correct even though they did put GENERIC in the type field.
Joe Cocuzzo
Vice President
NPR Services
Iatric Systems, Inc.
Phone/Fax: (978) 805-4115
Email: Joe.C...@iatric.com
Web: www.iatric.com
I have a CS IV Label in the Meditech Archives for CS..Report ID: 01247
Product Line: Client Server
Application: PHA
You will want to get very close to a programming manual for the Datamax.
In the Macro of my report I have explained the 2d programming format for
this line for this particular Barcode and font.
1W1c22000013000802000000000"_@number_D(13)^!
;"1 W1c 22 000 0130 0120 2000 0000 00"_@number_D(13)^!,
Rotation Font WH BCHt Row Col FntH FntW Data string
ie
di
tg
ht
h
; Above W requires 2 add char to spec Barcode/Font ID
I have uploaded a new version which has a better looping format for the
meds, additives and carriers.Report ID 01355
You will probably want to make changes... once you get the hang of it.
Howard
Howard D.Chase, RN
Senior Clinical Systems Analyst
Androscoggin Valley Hospital
59 Page Hill Road
Berlin, NH 03570
603-326-5669
On 3/8/2012 3:55 PM, Baker, Gary wrote:
> To Anyone Who Can Help,
>
> I have a request from our Pharmacy User. We are Using Meditech’s CS
> (Client Server) Pharmacy System Version 5.65
>
> We currently print a Pharmacy IV Label using NPR that prints a RX# -
> BAR.CODE field on the label
>
> We us a “DATAMAX M CLASS” Thermal Printer to print IV Labels. I have
> been asked to switch to a “2d” BARCODE format.
>
> I have asked Meditech for help with this. They have stated that my
> printer in the UNIVERSE must be defined as “GENERIC” and the print
> driver for the printer must be setup to use a “GENERIC” print driver.
> Which they now are. Meditech has also given me a sample NPR program:
> “PHA.RX.zcus.jph.bulk.label.2d” report # 00983 that I downloaded from
> the Meditech Report Archive that prints a “2d” format.
>
> The code in the “print” macro of the program uses “escape/mapping” codes
> that I do not understand. Here is a sample:
>
> **(Can anyone help me with this? I am getting everything printing on the
> same line overlapping output/unreadable and no “2d” bartcode. Please
> help if you can.)**
>
> nGary Baker -- gary....@uthct.edu <mailto:gary....@uthct.edu>
> ===###===###===###===###===###===###===
>
> Please do NOT send messages that ask "Please post to the list" or "I'd like to see your answers" or "Send that info to me, too" These are useless messages that just waste the email server's resources. Instead, email the original requester and ask that they send you or post the results of their question.
>
> To UNSUBSCRIBE or to SUBSCRIBE, go to http://MTUsers.net for information.
>
> You can locate the:
> 1) meditech-l archives
> 2) NPR/Magic/CS tips
> 3) job opportunities in the Meditech community
> http://mtusers.net
>
> Do NOT send email to meditech...@MTUsers.com. This is a system email box that is NOT monitored by a human. If you need help or advice on how to use the meditech-l, email lo...@MTUsers.com or ju...@MTUsers.net. Both of these people help manage the meditech-l, so they are your best resource.
>
> ===***===***===***===***===***===***===
===###===###===###===###===###===###===
Please do NOT send messages that ask "Please post to the list" or "I'd like to see your answers" or "Send that info to me, too" These are useless messages that just waste the email server's resources. Instead, email the original requester and ask that they send you or post the results of their question.
To UNSUBSCRIBE or to SUBSCRIBE, go to http://MTUsers.net for information.
You can locate the:
1) meditech-l archives
2) NPR/Magic/CS tips
3) job opportunities in the Meditech community
http://mtusers.net
Do NOT send email to meditech...@MTUsers.com. This is a system email box that is NOT monitored by a human. If you need help or advice on how to use the meditech-l, email lo...@MTUsers.com or ju...@MTUsers.net. Both of these people help manage the meditech-l, so they are your best resource.
===***===***===***===***===***===***===