If anyone is interested, I've entered all the information from the PPD for
the Lexmark Optra e312 into an IFHP printer configuration.

## --- cut here ---

[ lope312 lexmark_optra_e312 ]

## the ps entry has all my xxx-to-postscript conversions (see
## my previous email to this list).
tc=ps

## The lexmark supports both pcl and pjl in addition to postscript.
pcl
pjl

pjl_user_opts += [
                density economode noeconomode picturegrade nopicturegrade
        ]

pjl_density = @PJL SET DENSITY = \%s{density}<OA>

pjl_enconomode = @PJL SET ECONOMODE = ON<0A>
pjl_noenconomode = @PJL SET ECONOMODE = OFF<0A>

pjl_picturegrade = @PJL SET LPARM:POSTSCRIPT LPICTUREGRADE = ON<0A>
pjl_nopicturegrade = @PJL SET LPARM:POSTSCRIPT LPICTUREGRADE = OFF<0A>

ps_user_opts += [
                smoothing nosmoothing enhance noenhance
                300x300 600x600 plain cardstock transparency
                labels bond letterhead preprinted color envelope
                custom1 custom2 custom3 custom4 custom5 custom6
                lxcollate nolxcollate letter legal b5 a4
                executive a5 universal monarch c9 comm10 dl c5
                isob5 other autoselect intray1 manual
        ]

ps_smoothing = %% Turn smoothing ON
        << /PostRenderingEnhanceDetails << /REValue 2 >> >> setpagedevice
ps_nosmoothing = %% Turn smoothing OFF
        << /PostRenderingEnhanceDetails << /REValue 0 >> >> setpagedevice

ps_enhance = %% Turn imageenhance ON
        1 dict dup /DeviceRenderingInfo 1 dict dup /ImageEnhancement 1 put put 
setpagedevice
ps_noenhance = %% Turn imageenhance OFF
        1 dict dup /DeviceRenderingInfo 1 dict dup /ImageEnhancement 0 put put 
setpagedevice

## resolution
ps_300x300 = %% Set resolution to 300x300
        << /HWResolution [300 300] >> setpagedevice
ps_600x600 = %% Set resolution to 600x600
        << /HWResolution [600 600] >> setpagedevice

ps_lxcollate = %% Turn lxcollate ON
        << /Collate true >> setpagedevice
ps_nolxcollate = %% Turn lxcollate OFF
        << /Collate false >> setpagedevice

## media types
ps_plain = << /MediaType (Plain) /Policies << /MediaType 2 >> >> setpagedevice
ps_cardstock = << /MediaType (Card Stock) /Policies << /MediaType 2 >> >> setpagedevice
ps_transparency = << /MediaType (Transparency) /Policies << /MediaType 2 >> >> 
setpagedevice
ps_labels = << /MediaType (Labels) /Policies << /MediaType 2 >> >> setpagedevice
ps_bond = << /MediaType (Bond) /Policies << /MediaType 2 >> >> setpagedevice
ps_letterhead = << /MediaType (Letterhead) /Policies << /MediaType 2 >> >> 
setpagedevice
ps_preprinted = << /MediaType (Preprinted) /Policies << /MediaType 2 >> >> 
setpagedevice
ps_color = << /MediaType (Color) /Policies << /MediaType 2 >> >> setpagedevice
ps_envelope = << /MediaType (Envelope) /Policies << /MediaType 2 >> >> setpagedevice
ps_custom1 = << /MediaType (Custom Type 1) /Policies << /MediaType 2 >> >> 
setpagedevice
ps_custom2 = << /MediaType (Custom Type 2) /Policies << /MediaType 2 >> >> 
setpagedevice
ps_custom3 = << /MediaType (Custom Type 3) /Policies << /MediaType 2 >> >> 
setpagedevice
ps_custom4 = << /MediaType (Custom Type 4) /Policies << /MediaType 2 >> >> 
setpagedevice
ps_custom5 = << /MediaType (Custom Type 5) /Policies << /MediaType 2 >> >> 
setpagedevice
ps_custom6 = << /MediaType (Custom Type 6) /Policies << /MediaType 2 >> >> 
setpagedevice

ps_letter = %% Letter
        2 dict dup /PageSize [612 792]  put dup /ImagingBBox null put setpagedevice
ps_legal = %% Legal
        2 dict dup /PageSize [612 1008] put dup /ImagingBBox null put setpagedevice
ps_b5 = %% B5
        2 dict dup /PageSize [516 729]  put dup /ImagingBBox null put setpagedevice
ps_a4 = %% A4
        2 dict dup /PageSize [595 842]  put dup /ImagingBBox null put setpagedevice
ps_executive = %% Executive
        2 dict dup /PageSize [522 756]  put dup /ImagingBBox null put setpagedevice
ps_a5 = %% A5
        2 dict dup /PageSize [420 595]  put dup /ImagingBBox null put setpagedevice
ps_universal = %% Universal
        2 dict dup /PageSize [612 1008]  put dup /ImagingBBox null put setpagedevice
ps_monarch = %% Monarch Envelope
        2 dict dup /PageSize [279 540]  put dup /ImagingBBox null put setpagedevice
ps_c9 = %% C9 Envelope
        2 dict dup /PageSize [279 639]  put dup /ImagingBBox null put setpagedevice
ps_comm10 = %% comm10 (Number 10 Envlope?)
        2 dict dup /PageSize [297 684]  put dup /ImagingBBox null put setpagedevice
ps_dl = %% DL Envelope
        2 dict dup /PageSize [312 624]  put dup /ImagingBBox null put setpagedevice
ps_c5 = %% C5 Envelope
        2 dict dup /PageSize [459 649]  put dup /ImagingBBox null put setpagedevice
ps_isob5 = %% ISO B5 Envelope
        2 dict dup /PageSize [499 708]  put dup /ImagingBBox null put setpagedevice
ps_other = %% Other Envelope (8.5 x 14)
        2 dict dup /PageSize [612 1008] put dup /ImagingBBox null put setpagedevice

## autoselect
ps_autoselect = %% Autoselect input tray
        1 dict dup /Policies 1 dict dup /PageSize 2 put put setpagedevice

ps_intray1 = %% Select input tray 1
        1 dict dup /ManualFeed false put setpagedevice
        1 dict dup /MediaPosition null put setpagedevice
        currentpagedevice /InputAttributes get 0 get setpagedevice
        1 dict dup /InputAttributes 1 dict dup /Priority [0] put put setpagedevice
        1 dict dup /Policies 1 dict dup /PageSize 7 put put setpagedevice

## manual
ps_manual = %% Select manual input tray
        1 dict dup /ManualFeed true  put setpagedevice
        1 dict dup /MediaPosition null put setpagedevice
        1 dict dup /Policies 1 dict dup /PageSize 2 put put setpagedevice



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