Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] pdfjam ERROR: --outfile cannot be a directory when input is stdin #16

Open
Wikinaut opened this issue Nov 25, 2019 · 7 comments
Open

Comments

@Wikinaut
Copy link

I have no idea what the reason for this message is:

 pdfjam-pocketmod 8.pdf
          ----
  pdfjam: This is pdfjam version 3.03.
  pdfjam: Reading any site-wide or user-specific defaults...
          (none found)
  pdfjam: Effective call for this run of pdfjam:
          /usr/bin/pdfjam --outfile /dev/stdout -- 8.pdf 1-8 
  pdfjam: Calling /usr/bin/pdflatex...
  pdfjam: Finished.  Output was written to '/dev/stdout'.
          ----
  pdfjam: This is pdfjam version 3.03.
  pdfjam: Reading any site-wide or user-specific defaults...
          (none found)
  pdfjam: Effective call for this run of pdfjam:
          /usr/bin/pdfjam --angle '180' --outfile /dev/stdout -- /dev/stdin 1,8,7,6 
  pdfjam: Calling /usr/bin/pdflatex...
  pdfjam: Finished.  Output was written to '/dev/stdout'.
          ----
  pdfjam: This is pdfjam version 3.03.
  pdfjam: Reading any site-wide or user-specific defaults...
          (none found)
  pdfjam: Effective call for this run of pdfjam:
          /usr/bin/pdfjam --nup '4x2' --landscape --frame 'true' -- 8.pdf 2-5 /dev/stdin - 
  pdfjam: Calling /usr/bin/pdflatex...
  pdfjam ERROR: --outfile cannot be a directory when input is stdin
@Wikinaut
Copy link
Author

Apparently it was necessary to add --outfile like in

pdfjam-pocketmod in.pdf --outfile out.pdf

1 similar comment
@Wikinaut
Copy link
Author

Apparently it was necessary to add --outfile like in

pdfjam-pocketmod in.pdf --outfile out.pdf

@Wikinaut
Copy link
Author

@DavidFirth shouldn't it work without ? The documentation is silent about it.

@DavidFirth
Copy link
Collaborator

Which documentation are you referring to, there?

@Wikinaut
Copy link
Author

pdfjam --help
pdfjam-pocketmod --help

Instead of printing

pdfjam ERROR: --outfile cannot be a directory when input is stdin

you could better say

pdfjam ERROR: --outfile cannot be a directory when input is stdin / or --outfile option is missing, please define an outfile.

@DavidFirth
Copy link
Collaborator

Thanks! That's a good suggestion, and I'll add it as "to do" (in pdfjam --- note that pdfjam-pocketmod is no longer part of pdfjam, and is no longer supported by me).

@DavidFirth DavidFirth reopened this Nov 27, 2019
@Wikinaut
Copy link
Author

Yes, I know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants