Multi Commander Support Forum

Multi Commander => Script => Topic started by: Yarra on August 24, 2014, 03:54:00

Title: Need a script command to print a text file to a printer
Post by: Yarra on August 24, 2014, 03:54:00
Hi, I am hoping some kind person could help me with this problem can a button be configured to print a text file to the default printer or a user selected printer.  :-[
Title: Re: Need a script command to print a text file to a printer
Post by: Stefan on February 03, 2015, 13:30:19
Let me try...

To create own commands, see:

http://multicommander.com/docs/user-defined-commands

- - -

Then try to create a command line print command:

http://multicommander.com/docs/UDC_batch

print /d:LPT1: "${focusfilepath}"

or

notepad /p "${focusfilepath}"


More info about PRINT at http://superuser.com/questions/477895/printing-from-windows-7-command-line

- - -

Next, to create an user button or menu, see:

http://multicommander.com/docs/button-editor
Using The Button Editor To Customize The Button Panel

http://multicommander.com/docs/UserMenuEditor
To add your own User Defined Commands to the menu

- - -

HTH?
I can't really test here, without printer access.