> From [EMAIL PROTECTED] Wed Oct 4 10:02:38 2000
> Date: Wed, 4 Oct 2000 10:50:42 -0500 (CDT)
> From: "Roger A. Hackett" <[EMAIL PROTECTED]>
> Subject: LPRng: Xerox DocuColor 4 CP manual tray select, media type thick
> To: [EMAIL PROTECTED]
>
> I'm trying to configure ifhp.conf to let me select the manual input
> tray and set the media type to thick for a Xerox DocuColor 4 CP (with
> fiery rasterizer). I can do this from Windows NT with the Xerox
> supplied device driver and sent a sample print file with those options
> selected to a file.
>
> The specific postscript commands I found in the file are as follows:
>
> [{
> %%BeginFeature: *InputSlot TrayManual
> userdict /XJXsettraysel known
> { 4 XJXsettraysel }
> if
> %%EndFeature
> } stopped cleartomark
>
>
> [{
> %%BeginFeature: *MediaType Thick
> userdict /XJXsetmediatype known
> { 2 XJXsetmediatype } if
> %%EndFeature
> } stopped cleartomark
>
>
> I tried setting up an entry in ifhp.conf as follows:
>
> # PRINTER fiery
> [ fiery ]
> tc=ps
> ps_transparancy=
> %%BeginFeature: *InputSlot TrayManual
> userdict /XJXsettraysel known
> { 4 XJXsettraysel }
> if
> %%EndFeature
> %%BeginFeature: *MediaType Thick
> userdict /XJXsetmediatype known
> { 2 XJXsetmediatype } if
> %%EndFeature
>
You need to have a space as the first char:
# PRINTER fiery
[ fiery ]
tc=ps
ps_transparancy=
%%BeginFeature: *InputSlot TrayManual
userdict /XJXsettraysel known
{ 4 XJXsettraysel }
if
%%EndFeature
%%BeginFeature: *MediaType Thick
userdict /XJXsetmediatype known
{ 2 XJXsetmediatype } if
%%EndFeature
> Using "lpr -P fiery - Z transparancy somefile.ps" or "lpr -P fiery -Z
> ps_transparancy somefile.ps" ends up printing from tray 1 on letter
> sized paper.
>
> Here is my printcap entry for the fiery:
>
> print_docucolor|fiery|fiery_postscript|xerox_color_copier|xerox_rm642
> :[EMAIL PROTECTED]
> :mx=0
> :sd=/usr/spool/lpd/%P
> :ifhp=model=fiery
> :lpd_bounce
> :if=/usr/local/libexec/filters/ifhp
> :filter=/usr/local/libexec/filters/ifhp
>
> Any thoughts?
1. Test to make sure that the right commands are being put into the
output. Set up a 'temporary output file':
print_docucolor|fiery|fiery_postscript|xerox_color_copier|xerox_rm642
#:[EMAIL PROTECTED]
:lp=/tmp/file
:mx=0
:sd=/usr/spool/lpd/%P
:ifhp=model=fiery
:lpd_bounce
:if=/usr/local/libexec/filters/ifhp
:filter=/usr/local/libexec/filters/ifhp
touch /tmp/file
chmod 666 /tmp/file
lpc reread
lpr -Pprint_docucolor -Z transparency somefiletoprint
Now look at the /tmp/file output and make sure your commands
are there.
>
> Thanks,
> Roger
>
>
>
> Roger A. Hackett
> CPDN Phone (504)592-6108
> 935 Gravier Street FAX: (504)592-7106
> New Orleans, LA 70112 E-Mail: [EMAIL PROTECTED]
>
>
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------
>
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------