Here is the definition. Note that this allows PCL or whatever the heck it
is to be printed, but the results are completely unsatisfactory... (only
a couple of rows of dots print) you probably wanna use pcl@ after all. PS
works fine though.
HTH,
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630
On 29 May 2001, Jason Henry Parker wrote:
> Ryan Novosielski <[EMAIL PROTECTED]> writes:
>
> > I know, I've read this file. The one that ISN'T there, and the only on
> > that works is Wilfried's hpdj2500cm definition. The printer is an
> > HP2500cm, not an HP DesignJet 2500cm... I guess it's officially a DeskJet.
>
> Ryan,
>
> I'm dealing with a 2500cm here (it was purchased while I was away, and
> now I have to make it work); could you send on the ifhp.conf you're
> using to make it work?
>
> Cheers,
> --
> Jason Henry Parker ``Choose mnemonic identifiers. If you
> [EMAIL PROTECTED] can't remember what mnemonic means,
> [EMAIL PROTECTED] you've got a problem.'' -- Larry Wall
>
[ hpdj2500cm ]
#
# This is a first, rough try for the HP DeskJet 2500 CM
# [EMAIL PROTECTED]
#
# It's parameter guessing time :-(
#
#
pjl_only=
COMMENT DEFAULT DINQUIRE ECHO ENTER EOJ
JOB PJL
RESET SET
]
pjl
pagecount@
sync@
waitend@
ps
no_ps_eoj
# The printer likes PCL ....
pcl
# Do CRLF conversion ...
crlf
pjl_user_opts=[ ]
# ?????? Would that work ????
# pjl_user_opts=[ inupper inlower outupper outlower autoselect
# autoconf transparency setup copies landscape portrait
# paper a3 a4 color bw
# rendermode grayscale mirror
# margins
# ]
# pjl_paper=@PJL SET PAPER = \%{paper}
# pjl_a4=@PJL SET PAPER = A4
# pjl_a3=@PJL SET PAPER = A3
# pjl_rendermode=@PJL SET RENDERMODE = \%{rendermode}
# pjl_color=@PJL SET RENDERMODE = COLOR
# pjl_bw=[ grayscale ]
# pjl_grayscale=@PJL SET RENDERMODE = GRAYSCALE
# pjl_mirror=@PJL MIRROR = ON
# margins=normal
# pjl_margins=@PJL MARGINS = \%{margins}
ps_user_opts=[ inupper inlower
tray tray1 tray2 tray3
paper a3 a4 color bw
]
ps_a4=<</PageSize[595 842]/ImagingBBox null>>setpagedevice
ps_a3=<</PageSize[842 1191]/ImagingBBox null>>setpagedevice
# or try the other ..
# ps_a3 = <</DeferredMediaSelection true /PageSize [842 1191] /ImagingBBox null>>
setpagedevice
# ps_a4 = <</DeferredMediaSelection true /PageSize [595 842] /ImagingBBox null>>
setpagedevice
#
# That is really untested ...
#
pcl_user_opts=[ inupper inlower
source inputslot tray tray1 tray2 tray3 manual manualfeed
paper pagesize letter legal ledger paper a3 a4 color bw
orientation direction landscape portrait
]
pcl_tray=[ source ]
pcl_source=\033&l\%{source}H
pcl_inputslot=[ source=\%{inputslot} ]
pcl_tray=[ source=\%{tray} ]
pcl_inupper=\033&l1H
pcl_manual=\033&l2H
pcl_manualfeed=[ manual ]
pcl_inlower=\033&l4H
pcl_tray1=\033&l8H
pcl_tray2=\033&l1H
pcl_tray3=\033&l4H
#?? pcl_color=
#?? pcl_bw=
## page (job) size
## use -Zpagesize=n
## 1 - executive, 2 - letter, 3 - legal, 6 - ledger, 25 - A5, 26 - A4, 27 - A3
## 80 - Monarch Envelope, 81 - Comm. 10 Envelope, 90 - Intl. DL Envelope
## 91 - Intl. C5 Envelope, 100 - Intl. D5 Envelope, 101 - Custom
## 71 - Hagaki Postcard, 72 - Oufuku-Hagaki Postcard
#
# Defaults to A4 ...
#
pagesize=26
pcl_paper=[ pagesize=\%{paper} ]
pcl_pagesize=\033&l\%{pagesize}A
pcl_letter=\033&l2A
pcl_legal=\033&l3A
pcl_ledger=\033&l6A
pcl_a5=\033&l25A
pcl_a4=\033&l26A
pcl_a3=\033&l27A
#End of [ hpdj2500cm ]