All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================

I have had times where I needed to get the description of a device from the 
device table when formatting extremely fussy labels,
where the very slight different HP printer models was an issue.

Here is how you could figure out what the device model is:

(Assumes you are Magic)

ZZ%OP(*S,$["util.files"]),
*D[/.PRT]|M^MODEL,
*D[/.PRT]|ID^NAME,
C(*U)


The device table entry for a printer looks like this:

 Node(s): *D["DEPOTP1"

 *[D,DEPOTP1] = ^803041665^AA
 *[D,DEPOTP1,A] = ^DEPOTP1
 *[D,DEPOTP1,ID] = TMH-Depot Printer 2 HPLJ4100DTN  #601812
 *[D,DEPOTP1,M] = HPLASERIIII
 *[D,DEPOTP1,T] = R

$util.files is a spot in the "$" data where MT keeps a pointer to the device 
table

The printer is a "R" = remote printer
 
The report writer also keeps a printer type in @Z.rpt.prt.dev a/k/a /R.PRT.DEV, 
so using @Z.rpt.prt.dev would be an easier way to
check the device model.





Joe Cocuzzo
Vice President
NPR Services
Iatric Systems, Inc.
Phone/Fax: (978) 805-4115
Email: [EMAIL PROTECTED]
Web: www.iatric.com


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pearce, David 
(R3)
Sent: Friday, July 14, 2006 8:51 AM
To: [email protected]
Subject: [MEDITECH-L] Determine Printer Driver

All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================

Hi All,
Has anyone ever used the printer the user selects for a report and looked at 
the OPS data to determine the type of printer being printed to. 
I was hoping to be able to determine if the report is being sent to a FARGO 
type printer, or a JJWILD.

Dave Pearce
Programmer / Analyst
River Valley Health
Ph. (506) 452-5984

-------------RVH DISCLAIMER-------------


This electronic transmission and any accompanying attachments may contain 
privileged or confidential information intended only for the use of the 
individual or organization named above. Any action related with this 
communication as well as any reproduction, transmission and/or dissemination in 
whole or in part is strictly prohibited. If you  have received this 
communication in error please notify the sender and delete this email 
immediately. Thank you.

Ce message électronique et tout fichier qui y est joint pourraient contenir des 
renseignements privilégiés ou confidentiels destinés uniquement à la personne 
ou à l'organisme nommé ci-dessus. Toute action entreprise relativement à ce 
message ainsi que toute reproduction, transmission ou diffusion partielle ou 
totale de celui-ci sont strictement défendues. Si vous avez reçu ce message 
électronique par erreur, veuillez en informer l'expéditeur et détruire le 
message immédiatement. Merci. 

_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to