> From [EMAIL PROTECTED] Wed Apr 17 01:11:31 2002
> From: [EMAIL PROTECTED]
> Date: Wed, 17 Apr 2002 10:11:19 +0200 (MEST)
> To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> cc: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>,
> Gerhard Schroth <[EMAIL PROTECTED]>
> Subject: lpc redirect <-> application socket
>
> Hi Patrick et al,
>
> I'm still using 3.8.3 on my SOLARIS 7 machines, but I think this is more a
> global kind of problem. I want to use the 'lpc redirect' command on a
> queue that uses the application socket (Tectronix printer). My printcap
> entry is:
>
> h01cp1t|1b_338_c_t|:\
> :cm=Pha_750 PS_2 4 A4 t J.Meyer,B.Heinemann,
>2479/4031/TR3136,paper/foil-automatic:\
> :lp=/dev/null:\
> :bp=/usr/spool/filters/psbanner:\
> :of=/usr/spool/ifhp/libexec/filters/ifhp:\
> :ifhp=model=phaser740,dev=h01cp1%9100,waitend@,pagecount@:\
> :filter=/usr/spool/ifhp/libexec/filters/ifhp -Ttransparency:\
> :translate_incoming_format=lf:\
> :ab:\
> :mx#0:\
> :du#16:\
> :
>
> Using the 'lpc' command generally works fine but the jobs never get to the
> new destination queue becaus the IFHP filter tries to send them to the
> printer itself. I always thought in case of a redirected printer the
> filtering takes place in the final destination queue (?)
>
> Did I miss something obvious ?
>
> Take care
> ~christoph
No, it is rather subtle. You have a 'phaser' printer, which requires
that IFHP open and close the connection to the printer (i.e. - 'appsocket'
behaviour). This is done by the
:ifhp=model=phaser740,dev=h01cp1%9100,waitend@,pagecount@:\
^^^^^^^^^^^^^^^^^^^^^^^^^
You need to
a) disable filtering
b) do redirect.
The 'cheating' method is edit the printcap entry:
:NO_of=/usr/spool/ifhp/libexec/filters/ifhp:\
:ifhp=model=phaser740,dev=h01cp1%9100,waitend@,pagecount@:\
:NO_filter=/usr/spool/ifhp/libexec/filters/ifhp -Ttransparency:\
Patrick Powell Astart Technologies,
[EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D,
Network and System San Diego, CA 92123
Consulting 858-874-6543 FAX 858-279-8424
LPRng - Print Spooler (http://www.lprng.com)
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------