copy filename lpt1:It is possible to modify the registry to provide this basic command for all files.
REGEDIT4 [HKEY_CLASSES_ROOT\*\shell\CopyToPrinter] @="* Copy To Printer" [HKEY_CLASSES_ROOT\*\shell\CopyToPrinter\command] @="command.com /c copy "%1" lpt1:"Unfortunately, using this technique, there is no way to execute the command without opening a DOS window. It should be possible to use either a pif file or a bat file to run the command minimized but ... all attempts to do this failed. For example
[HKEY_CLASSES_ROOT\*\shell\CopyToPrinterPif] @="* Copy To Printer - pif" [HKEY_CLASSES_ROOT\*\shell\CopyToPrinterPif\command] @=""c:\windows\pif\Copy To Printer.pif" "%1""In the pif file
Cmd line: xcopy.exe %1 lpt1: Run: MinimizedLots of intermittents.
bat files with long names need 2 pif files - one for 8.3 and one for the long name. However, only the 8.3 pif file can be edited. Therefore, create and edit a pif file, rename it for the long name, and create and edit another.
A bat file fails if the path contains a space. Long filenames appear to be ok, but long directory names are not.