infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Support Web
how to print an eventmail from a tcl to an lpr printer
Mahmoud Ihaddadene
I'm using eventmail for A30 transaction and i need to print also this email to an lpr printer from my tcl, here's a code i'm using on eventmail :
if {[regexp "mail" $trackmode] } {
exec echo "[subst $ebody]" | mail -s "[subst $esubject]" "$recipient"
}
Regards,
Mahmoud
Find more posts tagged with
Clovertech
Comments
Max Drown
Try something like this in tcl:
exec echo $var | lpr -d p00565; # where p00565 would be your printer name