Controlling printing preference by TC

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
msornamuthu
Junior Member
Junior Member
Posts: 3
Joined: 2013-10-21, 17:08 UTC

Controlling printing preference by TC

Post by *msornamuthu »

Is it possible to control the printing preference by TC ?

i have three pdf documents in a folder

example

a.pdf
b.pdf
c.pdf

required result

a.pdf ----> portrait------->double sided printout

b.pdf------>landscape----->double sided printout

c.pdf------->lanscape------> single sided printout


Is it possible to achieve the above requirement by pressing print command in TC
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, because TC cannot print any PDF files - this is handled by your PDF viewer.
Author of Total Commander
https://www.ghisler.com
msornamuthu
Junior Member
Junior Member
Posts: 3
Joined: 2013-10-21, 17:08 UTC

Post by *msornamuthu »

Do you have any proposal to achieve the above function for the upcoming version of TC
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7025
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

msornamuthu wrote:Do you have any proposal to achieve the above function for the upcoming version of TC
Why should a file manager have such a function ?
Document printing is part of your applications.
You may check if command line arguments of the application allow control of printing and if yes create a batch file with the required arguments.
msornamuthu
Junior Member
Junior Member
Posts: 3
Joined: 2013-10-21, 17:08 UTC

Post by *msornamuthu »

Hi thanks for your reply,

Do you have any sample batch file for printing pdf files with different preference
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7025
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

msornamuthu wrote:Hi thanks for your reply,

Do you have any sample batch file for printing pdf files with different preference
At least Adobe Reader and Sumatra PDF don't have command line args for printing options. But you can install your printer twice and set different options. Then you can use the applicable printer name in yout batch jobs.

Windows 7 makes it a bit confusing, because it displays only one reference of the installed printer in its Control Panel Printer section (Microsofts wisdom) … anyway here is how to do it.
I assume you have installed your printer.

1. Go to [Control Panel] -> [Devices and Printers] and select [Add a Printer]
2. Now select [Add a local printer]
3. Select the set port of your printer in [Choose a printer port], commonly USB001, TCP/IP etc.
4. In [Install the printer driver] select your printers Manufacturer and Model
5. [Next]
6. In [Which version of the driver do you want to use?] select [Use the driver that is currently installed]
7. Enter a name for this new printer reference in [Type a printer name]

So, what we have now is a new printer reference, a reference you can see and select in the [Print] window printer selection [Name]. What we have to do now is to setup this printers individual settings

1. Go back to [Control Panel] - [Devices and Printers] and select your printer (clicking)
2. Select [Customize your printer]
3. In [Select a printer] select your printer the same way as you would in the [Print] menu
4. The [Print property] window pops up and you can set your individual printer settings here
Post Reply