headers and footers from convert
headers and footers from convert
I am tasked to find a way to put headers and footers on printouts made by the convert program. The option -label does the trick for headers, but I have not found anything similar for footers. Can footers be made by convert, or do I need some program between convert and lp (yes, this is on unix) to achieve this?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: headers and footers from convert
How are you using -label as a header???
See IM Examples, Annotate Images/
http://www.imagemagick.org/Usage/annotating/
See IM Examples, Annotate Images/
http://www.imagemagick.org/Usage/annotating/
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: headers and footers from convert
The command line option I used was simply: -label "My running header"anthony wrote:How are you using -label as a header???
Which produces a nice header on top of the page.
Annotate does not quite do what I need. What I need are running headers and footers disconnected from the image itself.See IM Examples, Annotate Images/
http://www.imagemagick.org/Usage/annotating/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: headers and footers from convert
Oh, you were outputing th eimage to postscript.bjb wrote:The command line option I used was simply: -label "My running header"
Which produces a nice header on top of the page.
A file format specific use of -label, not a general image processing operation.
That is not posible with IM postscript output. You are getting into a area much better suited to vector graphics, rather than Raster Images as IM provides.bjb wrote:What I need are running headers and footers disconnected from the image itself.
The better idea is to use a nothing program like XFig to create a postscript document containing your labels and include normal image rather than a postscript image. There are many such object editors out there designed to generate postscript from smaller components.
However the "Fig" file format is so simple and well documented you can script up an automatic labeling program to wrap around images.
A very complex, commercial windows specific alturnative is FrontPage.
A less commonly known but just as complex is teTeX whcih can generate postscript suitable not only for a general page, but also whole books, which complex diagrams, indexing, cross referencing and mathematical expressions.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/