Announcement

Collapse
No announcement yet.

Silent Print /t printer selection does not work

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bug Silent Print /t printer selection does not work

    Hi,

    I try to set up a batch file which prints automatically PDFs that are stored in a special folder. With this line it works to print on the default printer:
    @for %%p in ("W:\print\*.pdf") do "C:\Program Files (x86)\Foxit Software\Foxit Reader\Foxit Reader.exe" /p "%%p"

    But if I want to take another printer instead of the default printer with option /t it won't print. The code for that is:
    @for %%p in ("W:\iprint\*.pdf") do "C:\Program Files (x86)\Foxit Software\Foxit Reader\Foxit Reader.exe" /t "%%p" \\server\printer2

    The share works and the printer exists. There is no error when running the script.
    I use Win 7 64bit SP1.

    Can anyone assist/help?

    Thank you!

  • #2
    Hi Msaretz,

    If you need to specify a network printer with /t command line utility, it’s required to specify the full path for the printer. For instance:
    "c:\foxit reader.exe" /t "c:\user\11.pdf" \\192.168.0.160\hp color laserjet 3800 ps

    Please kindly note that the printer name is case sensitive in command line.

    Please give one more try and let us know. Thank you.

    --
    Sincerely,
    Cherry

    Comment


    • #3
      Hi cherry,

      I tried it exactly the way you said it. \\servername\printer2 -->for the server I typed in the IP-address and for the printer name I typed in the name of the printershare. To avoid problems with the small and capital cases I connected myself by unc and copied the name of the printers share.

      If I click on the batch it starts and competes whitout any error. But there is no printout. Then I tried it witch option /p, without providing the printersname, to check if there are some sntax errors. This works.

      What shell I do to get it to work?

      When I use /t without specifying the name of the printer it works. So the problem is really the name of the printer. But I did it the way you said it to me. The Server on which the printers share is hosted is a Win Srv 08 R2 Sp1. I have all rights.

      Thanks in advance!

      Comment


      • #4
        Ok I got it.
        The printer was connected by name. After the checking this in the menu I found out that the name of the Server was written in capital letters. After changing this in my script it finally worked.

        Thanks a lot for all!

        Comment


        • #5
          The print commands and names are case sensitive .

          Comment


          • #6
            The same *EXACT* command line that works when issued to Version 3.1.4.1125, does *NOT* work with verion 5.1.4.0104 (the latest as far as I can tell).

            Looks like Foxit is taking a page from Adobe's book... Break the product at random releases!

            Comment


            • #7
              @tpbeard,

              May I get the mentioned command line so we could test it on our side and further investigate? Thank you.

              Comment


              • #8
                May not do you any good...

                Originally posted by cherry View Post
                @tpbeard,

                May I get the mentioned command line so we could test it on our side and further investigate? Thank you.
                Since it's so environment specific, it may not do you any good... But here goes:

                "C:\Program Files\Foxit Software\Foxit Reader\Foxit Reader.exe" /t Y:\Cust\PlymouthInd\_VW_Working\SW_DUMMY\411\411-1000.pdf "\\R73IMAGE\pdfFactory"

                Comment


                • #9
                  Hi, i just instaleld the latest version : 5.1.4.0104, i'm with Win XP SP3
                  My print server is 94.0.0.6 the shared printer name is : HPColorcp1515
                  The printer is installed on my PC from the ip address (not the server name).

                  when i use the following command it works and print on the default printer:
                  "C:\Program Files\Foxit Software\Foxit Reader\Foxit Reader.exe" /t "c:\folder\filie1.pdf"

                  When i use the following command it doesn't work:
                  "C:\Program Files\Foxit Software\Foxit Reader\Foxit Reader.exe" /t "c:\folder\filie1.pdf" \\94.0.0.6\HPColorcp1515

                  I repescted the case sensitive name of the printer, but obviously there is something wrong somewhere...the pritner is working i tested with word.

                  Any idea ?

                  Comment


                  • #10
                    just to say that i made a typo, the file is named file1.pdf and not filie1.pdf, that was the reason it was not working.
                    Last edited by cetipabo; 06-20-2012, 08:35 AM.

                    Comment


                    • #11
                      I find that it doesn't work in 7.0.6.1126
                      Used to work in 6.2

                      Comment


                      • #12
                        Hi dlchambers,

                        What's the problem you encountered? Could you please provide more details? Thank you.

                        Comment

                        Working...
                        X