Daniel E Singer on wrote...
| This message is in MIME format. The first part should be readable text,
| while the remaining parts are likely unreadable without MIME-aware tools.
| Send mail to [EMAIL PROTECTED] for more info.
|
| ---559023410-561187597-1036099375=:18230
| Content-Type: TEXT/PLAIN; charset=US-ASCII
|
| On Thu, 31 Oct 2002, Anthony Thyssen wrote:
|
| > It is rather simple. All the lpr -h flag does is remove the
| > "L" line from the control file being passed to the lpd server.
| >
| > As such the easy way to fix this is to add a
| > :incoming_control_filter={small postscript}
| >
| > that either removed the line starting with "L" or
| > is no line was present, add one by duplicating the "P" line
| > replacing the "P" with an "L".
| > ...
|
| Thanks, that looks like a reasonable option. As usual, there are many
| ways that things can be done in lprng. I might at some point go back
| and investigate doing something like that. In the mean time, I've
| already devised a Samba-specific solution to the problem (ie, you
| still need to use "lpr -h" from UNIX, so it's not a particularly
| symmetric solution). I'll go ahead and show how this was done in case
| anyone else is interested. Again, we're essentially trying to
| simulate "lpr -h" from PCs printing through Samba.
|
You could just have pr5-h a alias, had remove the "L" Control line
if the "Q" line ended in "-h" :-)
I am thinking along those lines for Automatic N-UP printing
and/or other special print features.
Better than using a extra bounce queue, for only an options change.
Bounce queues are better suited to major file format conversions.
based on queue name.
By the way you don't need samba for Windows 2000 or Windows XP
they can print directly to the lpd queue.
Anthony Thyssen ( System Programmer ) http://www.sct.gu.edu.au/~anthony/
-----------------------------------------------------------------------------
In fact, the mere act of opening the box will determine the state of
the cat, although in this case there were three determinate states
the cat could be in: these being Alive, Dead, and Bloody Furious.
-- Schrodinger's Moggy -- Terry Pratchett, "Lords and Ladies"
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.sct.gu.edu.au/~anthony/
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------