> From [EMAIL PROTECTED] Thu Aug  3 14:11:26 2000
> Date: Thu, 03 Aug 2000 12:45:53 -0600
> From: "Michael J. Carter" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: ps_paper doesn't override Tek Phaser 550 'AutoSelect'
>
> OK, now I'm very confused. -Z options don't seem to work at all.
>
> The following command prints jobs to transparency media:
>
> lpr -Pn114rgb_t /u/carter/test.ps
>
> where the client printcap entry is:
>
> n114rgb_transparency|n114rgb_t
>   :cm=Tek Phaser 550 in server room (transparency media tray)
>   :sd=/var/spool/lpd/remote/misc
>   :lp=n114rgb_transparency@tattoo
>
> and the server printcap entries are:
>
> n114rgb_transparency|n114rgb_t
>         :cm=Tek Phaser 550 in server room (transparency media tray)
>         :if=/packages/libexec/filters/ifhp
>         :ifhp=model=phaser,appsocket@,transparency
>         :lp=n114rgb@tattoo
>         :lpd_bounce
>         :sd=/var/spool/lpd/ip/n114rgb_transparency
>
> n114rgb
>         :cm=Tek Phaser 550 in server room
>         :if=/packages/libexec/filters/ifhp
>         :ifhp=model=phaser,dev=128.165.69.14%9100
>         :lp=/dev/null
>         :mx=0
>         :sd=/var/spool/lpd/ip/n114rgb
>         :sh
>
> BUT, the following prints on paper instead of transparency:
>
> lpr -Pn114rgb -Ztransparency /u/carter/test.ps
>
> where the client printcap entry is:
>
> n114rgb
>   :cm=Tek Phaser 550 in server room
>   :sd=/var/spool/lpd/remote/misc
>   :lp=n114rgb@tattoo
>
> and the server printcap entry is listed above.
>
> Why does using a lpd_bounce queue with ifhp doing the transparency filtering
> behave differently than sending a -Ztransparency option to the "regular"
> queue?
>
> I'm using LPRng-3.6.22 and ifhp-3.3.19 with the default ifhp.conf file.
>
> Note that this problem exists w/ output tray selection on my HP LJ8000 as
> well, i.e. filtering via a bounce queue works, but -Z options don't.
>  
> Thanks for any advice,
> mjc

This is odd, but here is what I get (I sent the output to /tmp/out
rather than a real printer):

h4: {390} % lpr -Pn114rgb /tmp/one.ps
h4: {391} % cat /tmp/out

%!
%!PS-Adobe-3.0
%% one page (i.e. - a page with a 1 on it)
%%/Times-Roman
/Courier
findfont 200 scalefont setfont
72 300 moveto
(1) show
showpage
^D

h4: {392} % lpr -Pn114rgb -Ztransparency /tmp/one.ps
h4: {393} % cat /tmp/out
%!

 mark
 {
   4 dict begin
     /MediaPosition null def
     /MediaType (Transparency) def
     /TraySwitch true def
     /ManualFeed false def
     currentdict end setpagedevice
 } stopped cleartomark
%!PS-Adobe-3.0
%% one page (i.e. - a page with a 1 on it)
%%/Times-Roman
/Courier
findfont 200 scalefont setfont
72 300 moveto
(1) show
showpage
^D


Note that I got what I expected - the Transparency set.

h4: {399} % cp /dev/null /tmp/out
h4: {400} % lpr -Pn114rgb_transparency /tmp/one.ps
h4: {401} % cat /tmp/out
%!
%!

 mark
 {
   4 dict begin
     /MediaPosition null def
     /MediaType (Transparency) def
     /TraySwitch true def
     /ManualFeed false def
     currentdict end setpagedevice
 } stopped cleartomark
%!PS-Adobe-3.0
%% one page (i.e. - a page with a 1 on it)
%%/Times-Roman
/Courier
findfont 200 scalefont setfont
72 300 moveto
(1) show
showpage
^D^D

This is fine - we have the transparency set.


Note that the only difference that I can see is that you have
two %! at the start...

This is odd.

If you find the answer,  I would be MOST interested.

Patrick Powell

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to