Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-18-2009, 02:29 PM   #16
LQ Newbie
Registered: Feb 2009
Location: Southeast Florida
Distribution: Fedora 10
Posts: 3

Rep: Reputation: 0

The m4 file I'm using is (reports.m4):




\chead{\leftmark {\bfseries ACME, Inc.}\\ \rightmark{666 Mockingbird Lane; Arlington, TX 76002}}
\rhead{\leftmark{TX Division}\\ \rightmark{(456) 123-1456}}




I run with a script that does:
m4 -D reportfile=/tmp/whatever.txt /etc/scripts/reports.m4 > /tmp/whatever.tex
pdflatex /tmp/whatever.tex
Old 06-16-2009, 02:23 AM   #17
LQ Newbie
Registered: May 2009
Posts: 2

Rep: Reputation: 0

I don't understand exactly what you did (because mainly, I am completly ignorant of m4 and tex).
Does this script allow to print without any manual operation to a CUPS print queue ?
In this case, where do you put it and how is it called in the CUPS process ?

With great gratitude of your future explanation. :-)
Old 02-01-2014, 10:21 AM   #18
LQ Newbie
Registered: Feb 2014
Location: Malden, Netherlands
Distribution: OpenSuSE
Posts: 2

Rep: Reputation: Disabled
Postprinted letterhead

I did the trick by having letterhead in PDF-files, converting all input to PDF, put it together with pdftk, *and* I did some things to hide all this stuff inside CUPS configuration.

Eventually, the different letterheads are available as so called CUPS printer instances.

Explanation (in Dutch) here


cups, pdf

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to wget a webpage, and save as PDF (like cups-pdf) ? frenchn00b Programming 3 11-18-2008 03:48 PM
PDF printing to cups with many output problems! maginotjr Linux - Server 1 03-06-2008 05:44 AM
cups not printing pdf documents javeree Linux - Software 0 12-07-2004 05:55 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
Printing option to letterhead johniccp Linux - Newbie 0 04-16-2004 10:24 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration