On Mon, 7 Jul 2003, Paul Armstrong wrote:
PA> We've got a machine running NCR UNIX (with the default lp) that's
PA> printing to our core print gateway which is running lprng. We don't
PA> own the NCR machine so we can't change the lp on it to lprng.
PA>
PA> The users need to be able to pring with "-o cpi=compressed". This is
PA> about equivalent to -Zpitch=20 in lprng. Unforuntately, lp won't send
PA> -Z options as it doesn't recognise them and lprng doesn't recognise
PA> the cpi=compressed or -o cpi=20.
PA>
PA> I've tried the following in lprng without success:
PA>
tidovrl07c:force_localhost:rp=raw:sd=/var/spool/lpd/tidovrl07c:sh:ifhp=pitch=20:if=/usr/local/libexec/filters/ifhp:rm=10.49.1.90:lpr_bounce:
PA>
PA>
tidovrl07c:rp=raw:sd=/var/spool/lpd/tidovrl07c:sh:ifhp=pitch=20:if=/usr/local/libexec/filters/ifhp:rm=10.49.1.90:lpr_bounce:
PA>
PA>
tidovrl07c:rp=raw:sd=/var/spool/lpd/tidovrl07c:sh:if=/usr/local/libexec/filters/ifhp
-Zpitch=20:rm=10.49.1.90:lpr_bounce:
PA>
PA> A Solaris machine I'm using for testing this has the following configuration:
PA> tidovrl07c:\
PA> :bsdaddr=print-gateway,tidovrl07c,Solaris:
PA>
PA> If I print from the print gateway itself, I get the correct output, if
PA> I print from the Solaris host, I get standard 10cpi printing.
PA>
PA> LPRng version is 3.6.19 on Solaris 8 .
PA>
PA> Any ideas on this would be appreciated.
I cut and paste from the HOWTO:
4.19.2. Converting SystemV Options to LPRng Options
On some SystemV lp print spoolers, the lp -o option, puts the option
information into the control file S line, and on other systems on the puts
the option information into the control file O line. To convert these
options to LPRng Z options use the :prefix_option_to_option=from,from...
to facility to prefix the from control file lines to the to control file
line. For example:
# System V to LPRng - S and O to Z options
convert:server:tc=.common
:[EMAIL PROTECTED]:prefix_option_to_option=S,O Z
# LPRng to System V O options
convert:server:tc=.common
:[EMAIL PROTECTED]:prefix_option_to_option=Z O
/Henrik
--
The only real sin is regret.
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------