Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] Sendmail -> lpr (line printer), multiple sendmail commands?



******    message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com>     ******

Anyone have any ideas on this?   I'm attempting to have MiniVend dump 
orders directly to a printer for our shipping department, my initial idea 
is to add:

SendMailProgram /var/spool/lp/filters/simple | lpr -h -Ppr@printeripaddr

However, I still need the e-mail sent to billing w/ the cc#s.  How could I 
have MiniVend run the print job and email?  I'm guessing that I leave 
SendMailProgram alone and PERL in the lpr command into 
/ord/report.html.  So, I guess my question is how do I send [scratch 
order_text] to a system command in PERL from MiniVend?

Ryan Hertz                                              tel  800-645-BAIT
Webmaster                                               fax  520-645-2588
Advertising Director                            http://www.insideline.net
Gary Yamamoto Custom Baits, Inc.            http://www.yamamoto.baits.com

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: