Plugin to send printfiles to printer "copy test.prn lpt
Moderators: Hacker, petermad, Stefan2, white
Plugin to send printfiles to printer "copy test.prn lpt
There are some tools around to send "printfiles / plotfiles / plot data" to the printer - like the old famous dos-command "copy test.plt /b lpt1". The best tools that I know can be found at www.noliturbare.com.
But: Is there a plugin for TC which handles this job?
Like
- select files
- press button
- set printer (one of the connected)
- copy files to printer ..
Any ideas?
Peter
But: Is there a plugin for TC which handles this job?
Like
- select files
- press button
- set printer (one of the connected)
- copy files to printer ..
Any ideas?
Peter
TC 10.xx / #266191
Win 10 x64
Win 10 x64
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Just create a button with this command:
Simply copy the above code and paste it into your button bar
This will send the selected file to lpt1
Code: Select all
TOTALCMD#BAR#DATA
"%ComSpec%" /c copy
%P%N /b lpt1
%COMMANDER_PATH%\TOTALCMD.EXE,2
.prn Datei drucken
-1
This will send the selected file to lpt1
#5767 Personal license
Perhaps PrintFile (http://www.lerup.com/printfile/) could be of any help for you?
Nice small tool which I used quite often in my former job.
You could try creating a button to https://plugins.ghisler.com/addons/lst2str.zip or https://plugins.ghisler.com/addons/lst2multi.zip using PrintFile. Just a quick idea, did not test it this way.
Could you please explain me
Cheers
Klaus
Nice small tool which I used quite often in my former job.
You could try creating a button to https://plugins.ghisler.com/addons/lst2str.zip or https://plugins.ghisler.com/addons/lst2multi.zip using PrintFile. Just a quick idea, did not test it this way.
Could you please explain me
? I do not understand.use the sort-feature of TC
Cheers
Klaus
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
To remember PrintFile:
I created a button like this:
Command: <path to>lst2str.exe
Parameter: /X:"<path to>PRFILE32.EXE" /L:%L /N:30 /C:2048
Startpath: <empty>
Using this button will pass a sorted list of the selected files to PrintFile and Printfile asks for the printer to be used.
And from the PrintFile readme.txt:
Cheers
Klaus
I created a button like this:
Command: <path to>lst2str.exe
Parameter: /X:"<path to>PRFILE32.EXE" /L:%L /N:30 /C:2048
Startpath: <empty>
Using this button will pass a sorted list of the selected files to PrintFile and Printfile asks for the printer to be used.
And from the PrintFile readme.txt:
I hope this helps.…the program can be seen as a Windows replacement for the DOS
command "copy/b filename LPTx" . As opposed to this DOS command,
PrintFile works well with network printers that have no connection to
any LPTx. This function is mainly intended for printing PostScript files
but may just as well be used for any file created by the "Print to
File" option available for most Windows printer driv…
Cheers
Klaus
Problems ...Peter wrote:I will test in the next days and will report here.
Peter
My button is defined as:
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Sonderprogramme\lst2str\lst2str.exe
/X:"%COMMANDER_PATH%\Sonderprogramme\PrintFile\prfile32.exe" /L:%L /N:30 /C:2048
D:\Program Files\totalcmd\TOTALCMD.EXE,24
Plotdateien versenden
-1
???You have not specified either /X: or /L: parameters, please add them and try again ...
Peter
TC 10.xx / #266191
Win 10 x64
Win 10 x64
Peter,
Did you try standard TC command, using %P%S or %p%s (DOS Names) as prfile32.exe seems to only work well with full name ?
On my side, my networks printer are found and proposed.
Did you try standard TC command, using %P%S or %p%s (DOS Names) as prfile32.exe seems to only work well with full name ?
Code: Select all
TOTALCMD#BAR#DATA
"%COMMANDER_PATH%\Sonderprogramme\PrintFile\prfile32.exe"
%p%s
D:\Program Files\totalcmd\TOTALCMD.EXE,24
Plotdateien versenden
-1
I am not sure, but TC-variables like %COMMANDER_PATH% are not supported in parameters (buttons, startmenues or user-defined commands) field.Peter wrote:My button is defined as:And I get an error-message:Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_PATH%\Sonderprogramme\lst2str\lst2str.exe /X:"%COMMANDER_PATH%\Sonderprogramme\PrintFile\prfile32.exe" /L:%L /N:30 /C:2048 D:\Program Files\totalcmd\TOTALCMD.EXE,24 Plotdateien versenden -1
You have not specified either /X: or /L: parameters, please add them and try again ...
At least I think I read so somewhere in the forum.
Cheers
Klaus
Yes, it works.nsp wrote:...Did you try standard TC command, using %P%S or %p%s (DOS Names) as prfile32.exe seems to only work well with full name ?....

But only with one file

Now I replaced the % with full-path - I get the same error-message of lst2str described above.klsgfx wrote:...I am not sure, but TC-variables like %COMMANDER_PATH% are not supported in parameters (buttons, startmenues or user-defined commands) field....

Peter
TC 10.xx / #266191
Win 10 x64
Win 10 x64
Hm.Peter wrote:Now I replaced the % with full-path - I get the same error-message of lst2str described above.
My button:
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_PATH%\tools\lst2str.exe
/X:"c:\tmp\test pfad\Sonderprogramme\PrintFile\PRFILE32.EXE" /L:%L /N:30 /C:2048
C:\tc\TOTALCMD.EXE,24
PrintFile
-1
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Sonderprogramme\lst2str\lst2str.exe
/X:"%COMMANDER_PATH%\Sonderprogramme\PrintFile\prfile32.exe" /L:%L /N:30 /C:2048
D:\Program Files\totalcmd\TOTALCMD.EXE,24
Plotdateien versenden
-1
So why is it working for me and not for Peter?
I ran out of ideas - sorry.
Klaus