1 Reply Latest reply on Nov 3, 2017 12:55 PM by Jeff Strauss

    Getting "*** Unrecognized Option: --pdf" when using Tabcmd

    Stephen Shepperd

      I'm trying to export a pdf using tabcmd but I'm getting an error that says "*** Unrecognized Option: --pdf". I know that "--pdf" is an option, so why am I getting this error?

       

      Below is my command:

      tabcmd login -s localhost:8000 -t Default -u admin -p admin export "views/Superstore/Overview?Region=East" --pdf --pagelayout landscape -f Z:\VM Shared Files\Tabcmd\SampleEast.pdf

       

      Thanks!

        • 1. Re: Getting "*** Unrecognized Option: --pdf" when using Tabcmd
          Jeff Strauss

          Hi Stephen.  It should either be 2 separate commands, or just an export with an integrated login.  Also when you're using the default site, you don't need to specify the site.

           

          option 1:

          login:

          tabcmd login -s localhost:8000 -u admin -p admin

           

          then export:

          tabcmd export "views/Superstore/Overview?Region=South" --pdf --pagelayout landscape -f Z:\VM Shared Files\Tabcmd\SampleEast.pdf

           

           

           

          option 2:

          export with combined login:

          tabcmd export "views/Superstore/Overview?Region=South" --pdf --pagelayout landscape -f Z:\VM Shared Files\Tabcmd\SampleEast.pdf -s localhost:8000 -u admin -p admin