[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Problem printing to network printers

To get this to work, you need to do several things...

1) The Linux machine must know a "name" for the printer, provided by some
DNS, BIND, HOSTS or other service.

Thus if you printer is called "HPLASER4" then "ping hplaser4.yourdomain.com"
MUST return a valid ping.

2) You must modify your PRINTCAP entry to reflect the above:

##PRINTTOOL3## REMOTE ljet4 600x600 letter {} LaserJet4 Default {}

(I did this from the printtool).

3) the /var/spool/lpd/lp0 directory must exist and contain the needed filter
and config files. Again print tool will do all of this for you.

4) Your TCP/IP services must be set up and running.

5) While not strictly necessary, make sure your printer(s) are online before
you reboot your linux box... Linux will then attach to the printer's
"queue"... and away you go!

opjose ex-pressnet com

-----Original Message-----
From: PC Venkatesh <PC Venkatesh occ treas gov>
To: redhat-install-list redhat com <redhat-install-list redhat com>
Date: Thursday, March 04, 1999 10:21 AM
Subject: Problem printing to network printers

>Problems Printing to Network Printer
>Summary: I just installed RH Linux 5.2.  My setup seems to be simply unable
>print to network
>When trying to print an ascii test page from Redhat's "Print System
>(i.e., in X), I get
>the message: " Error printing test page to printername.  Error Reason: lpr:
>connect: No such file
>or directory.  Jobs queued, but cannot start daemon. "
>The  message from lpc status printername is: "queueing is enabled, printing
>enabled, 5 entries
>Basic info on my setup:
>I have a Dell Dimension (Intel) with dualboot of Linux and Win95b.
>Our network is ethernet; mostly running TCP/IP (Microsoft's version?) but
>conjunction with
>something called Banyan Vines (e.g., for assorted  network
>mail; login to access other file-servers, etc.).  The printers
>are mostly various HP models.  I'm told they are connected to the network
>"netprint" boxes
>which have ports on them.  I treated the printers as Remote Unix/lpd hosts
>RH's setup choices.
>Within my LAN/WAN, I can sucessfully : (i) ping  machines including the
>printers; (ii) telnet
>to Unix boxes on the LAN.  I can also access the internet via Netscape.  So
>network access seems
>reasonably okay [not entirely though, but more on that another time!]
>What I've done so far:
>1.  Scoured through RH mailist list archivefound other people who reported
>similar problems,
>but either solutions did not show up in the archive or I couldn't see how
>apply them.  E.g.,
>since I don't think there is a remote host machine (managing the printers)
>such there is no file  /etc/hosts.lpd' to edit
>and provide my machine name.
>I have also directly sent the previous "posters"  this post already.  From
>one response I got, I discovered that
>although  the error messages were identical,  the nature of the underlying
>problems (and hence
>the solutions?)  seemed very different.
>2.  Experimented with various ways of naming the printer and the remote
>with no luck.  One of my sys-admins (self-styled ) runs a Solaris box and
>print.  He gave me the equivalent of his printcap file and I tried some
>variations on that basis---with no luck.  Although he was my best hope,
>not very helpful (other than to say configuring Solaris is different from
>configuring Linux!!)
>3.  Read several HOWTOs but these provided insufficient detail for a novice
>like myself.
>Section 11.5 of the Linux Printing HowTo looks promising but again not
> for someone
>like me.
>4.  My local sysadmins have not been of much help so far.
>Naturally, I cannot crow about Linux to my colleagues till I get the
>fixed!! Thanks in
>  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
>         To unsubscribe: mail redhat-install-list-request redhat com with
>                       "unsubscribe" as the Subject.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]