Skip to content

glabels-3-batch: Add support for stdin/stdout pipelines #49

Open
@pushytoxin

Description

@pushytoxin

This would add a powerful use case where one could feed glabels-3-batch with CSV data on the input, use a template, and pipe the resulting PDF to lp for immediate printing.

Currently this is possible with a sleight of hand: the /dev/stdout file can be set as output file, but the stdout will also be used for writing LABEL FILE = test.glabels.

Is the LABEL FILE output useful to anyone?

Todos:

  • support the glabels-3-batch -o - shorthand to signify stdout as the output pdf file
  • clean up any use of diagnostic writes onto the stdout, and use stderr instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions