> From [EMAIL PROTECTED] Fri Nov 30 09:48:45 2001
> Date: Fri, 30 Nov 2001 17:53:22 +0100
> From: Dezider =?ISO-8859-2?Q?G=F3ra?= <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: Please help the newbie
>
> Hello guys,
>
> I'm having problems with configuration of LPRng.
> I have print server with Samba 2.2.2. I was using CUPS, but after I 
> upgraded to 1.1.10, it stopped working properly and after week of 
> problems I decided to go for LPRng.
> The situation is:
> 1 Samba server
> 9 HP Jetdirects with attached printers ( HP LJ 4000, HP LJ 6P, HP LJ 
> 1100a, HP DJ 895Cxi, HP DJ OfficeJetK80( using driver for DJ 970Cxi), 3x 
> Epson DFX 8500, Kyocera FS1000+).
> Now can somebody help me with setup and tuning of this situation?
> I've searched the mailing list, but the info I've found isn't enough for 
> me, 'cause I use this for 4 hours, and I need a little jumpstart.
> So, I installed LPRng, LPRngTool, ifhp.
> Using LPRng created all the entries in printcap and tried it.
> Something works, something not.
> And I'm having problems with filters.
> I get errors, that postscript isn't supported, and it tries to abort the 
> printing. But it seems to hang with it.
> So I removed filters, but now I don't have printer drivers.
> Can somebody guide me how to do it right?
> thanks in advance,
> Dezider.

1.  Get the SOURCE for LPRng (3.8.1),  and do:

    tar zxvf LPRng-3.8.1.tgz
    cd LPRng-3.8.1
    sh STANDARD_configuration
    make clean
    make
    su  (to root)
    make install

2.  Get the SOURCE for IFHP (latest version) and do:
    tar zxvf ifhp-XXX.tgz
    cd ifhp-XXX.tgz
    sh STANDARD_configuration
    make clean
    make
    su  (to root)
    make install

3.  Edit the /etc/printcap file:
.common:
  :sd=/var/spool/LPD/%P
  :filter=/usr/libexec/filters/ifhp

# printers - name them what you want
#  Don't worry about the ifhp model stuff yet
pr1:tc=.common
   :lp=IPADDR.OF.pr1%9100
pr2:tc=.common
   :lp=IPADDR.OF.pr2%9100

4. now do:

   checkpc -f
   lpc reread

   At this point you should be able to send a test page to the printers.

   The LPRng/UTILS directory has some,  but you can use the test pages 
   (one.pcl, one.ps, one.pjl) in the LPRng/UTILS directory

   Note:  you can generate these by using:

cat <<EOF >/tmp/one 
.ce 100
.sz 20
1
EOF
groff -Tps /tmp/one >/tmp/one.ps
groff -Tlj4 /tmp/one >/tmp/one.pcl

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

Reply via email to