This is almost trivial.

Either add your printer to your DNS if you are running one, or edit
/etc/hosts and add your printer's name and IP.

Once done make sure you can PING it by name...

I.E. "ping hplaser4", etc...

Fire up printtool.

Remove your old entries. (DO THIS as you probably have it wrong...)

"Add" a new printer and select "Remote unix, LPD Queue".


In the NAMES box enter the printer name, by which it will be known to Linux
separate aliases by vertical bars... "|" (don't type in the quotes unless
instructed.)

I.E. "lp0|hp4|hplaser4"

Accept the default for the spool directory.

In "Remote Host" use the name you gave it in your DNS or in /etc/hosts.

In "Remote Queue" use the name "RAW".

In the "Input Filter" box, click select, and choose the most appropriate
driver/filter in the dialog box.

Turn ON "fix stair stepping" and optionally "send EOJ" though the latter
might produce page feeds.

Accept the changes.

Restart the LPD and print something to the printer

"lpr -Phplaser4 filetoprint.doc"

If nothing comes out, reboot your system and try again.

Have fun.

-JMS
[EMAIL PROTECTED]



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of shock
Sent: Saturday, March 25, 2000 11:30 AM
To: [EMAIL PROTECTED]
Subject: HP Laserjet 2100TN


Hey all.  I'm trying to set up my printcap to add a new printer, but RH's
printtool is confusing me.  The printer is a HP Laserjet 2100TN.  It
connects
directly to the network with an IP address of 192.168.1.50.  It doesn't show
to
have a printer name, and there's no host computer associated with it.
Here's
how I have printtool configured:

Names (name1|name2|...) :  lp
Spool Directory:  /var/spool/lpd/lp
File Limit in Kb (0 = no limit): 0
Hostname of Printer Server:
IP number of Server (optional): 192.168.1.50
Printer name:
User:
Password:
Workgroup: LAWOFFICE
Input Filter: *auto* - LaserJet

Now, here's the entries in /etc/printcap that this created:

##PRINTTOOL3## SMB laserjet 300x300 letter {} LaserJeft Default {}
lp:\
    :sd=/var/spool/lpd/lp:\
    :mx=#0:\
    :sh:\
    :if=/var/spool/lpd/lp/filter:\
    :af=/var/spool/lpd/lp/acct:\
    :lp=/dev/null:

I know /dev/null can't be correct (although it may be appropriate for most
of
the stuff I write ;-).  I've never configured this machine for any printer
(but
/dev/lp0, /dev/lp1 and /dev/lp2 exist).

Is anyone successfully printing to this type of printer?  If so, I'd sure
appreciate it if you could send me a copy of your printcap.  Otherwise, does
anyone have any suggestions on how I go about accomplishing this?

Thanks!
--
steve



--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to