> From [EMAIL PROTECTED] Fri Oct 20 01:25:35 2000
> From: "Serguei I.Revtov" <[EMAIL PROTECTED]>
> Date: Fri, 20 Oct 2000 11:02:29 +0400 (MSD)
> To: [EMAIL PROTECTED]
> Subject: LPRng: Printing on HP LJ 4m+ w JetDirect
>
> Hi All!
>
> Sorry if there're stupid questions...
>
> I'm trying to make LPRng-3.6.24 & ifhp-3.3.21 working with HP LJ 4m+
> with JetDirect card.
>
> # grep -v '^#' lpd.conf printcap
> lpd.conf:
> lpd.conf:force_localhost@
> lpd.conf:create_files 1
> lpd.conf:filter=/opt/LPRng/libexec/filters/ifhp
> lpd.conf:max_log_file_size=100
> lpd.conf:sd=/var/spool/lpd/%P
> lpd.conf:send_data_first
> printcap:
> printcap:lp213:
> printcap: :lp=lp213%9100:
> printcap:
>
> Everything looks workable, but printing begins with ~30 sec delay
> after sending job to lp. There's no such delay if i configure to send
> job via LPD (lp=pr@lp213) but no filter is used and no any info is
> putten into log files in that case.
>
> I've tryed to upgrade printer firmware (now it is A.08.32) - no
> result. Printserver model is JD 2552B.
>
> There's a log of small job sending:
>
> using model 'DEFAULT' at 10:02:50.881
> pagecount using 'pjl info pagecount' at 10:02:50.886
> setting up printer at 10:02:50.887
> getting sync using 'pjl echo' at 10:02:50.887
> sync done at 10:02:52.779
> pagecounter 35933 at 10:02:54.519
> pagecounter 35933 at 10:02:54.519
> sending job file at 10:02:55.799
> starting transfer at 10:02:55.799
> file program = '/opt/LPRng/bin/file -' at 10:02:55.800
> started FILE_UTIL- '/opt/LPRng/bin/file -' at 10:02:55.830
> file information = 'ascii_text' at 10:02:55.943
> initial job type 'ascii_text' at 10:02:55.943
> decoded job type 'PCL' at 10:02:55.944
> job type 'PCL' at 10:02:55.944
> code = 10006, 'Toner Low' at 10:03:05.769
> transferring 5 bytes at 10:03:05.769
> 100 percent done at 10:03:15.767
> data sent at 10:03:25.767
> sent job file at 10:03:25.767
> getting end using 'pjl job/eoj' at 10:03:35.655
> end of job detected at 10:03:36.741
> pagecounter 35934 at 10:03:38.775
> pagecounter 35934, pages 1 at 10:03:47.772
> done at 10:03:47.773
>
> Question is: is there a way to speed up printing to port 9100?
You appear to have a very strange printer. The time taken
to send 5 bytes is 10 seconds - this is MOST disturbing.
I suspect a firmware problem.
> And it would be useful to enable filtering when printing via LPD in
> future because not all of our printers would print with non-LPD
> interface.
lp:
:lpd_bounce <- does this
>
>
> And one more question: i need to download a dozen of _postscript_
> fonts before every PS job. How can i do that?
>
> I've put next lines into ifhp.conf file:
>
> ps_fontdir=/opt/LPRng/libexec/filters/fonts/ps
> font_download=courb.pfa courbo.pfa couro.pfa courr.pfa helvb.pfa helvbo.pfa
>helvo.pfa helvr.pfa iso.enc lusb.pfa lusbo.pfa luso.pfa
> ps_font=[ font_download ]
>
> Looks like filter simply ignores that descriptions.
> I've tryed to set 'fontdownload' variable to list of font files, i've
> also tryed to put line ps_init=[ ... font ... ] - that makes some
> strange result, but i don't want to put the same PS & PCL fonts into
> printer and it's not clear for me how 'font' is expanded. Ah sorry, i
> know that i need to read all documentation... lazy. ;-)
>
Experiment by using ifhp in 'standalone' mode:
cp /dev/null /tmp/f
cp /dev/null /tmp/log
ifhp -Tdev=/tmp/f,trace </some_input_file 2>&1 | tee /tmp/log
>
> Thanks in advance,
> -- Serguei
Good luck.
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.astart.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.
-----------------------------------------------------------------------------