Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printcap entry - Please help!

Status
Not open for further replies.

josel

Programmer
Oct 16, 2001
716
US
Given an entry

miaLeis1: :lp=/rprint/pmialeis1:ex:sd=/usr/spool/lpd/miaLeis1:

I know lp is the port to open for output and sd is the
spool directory. Upon viewing content of /rprint, I found
a list of files all matching entries in printcap.

The files are fifo type. Most files are blank and some
are not. Printer miaLeis1 is not printing and its file
shows a non-zero size

prw------- 1 root sys 2037 Nov 4 11:50 pmialeis1

I have following two questions:

1. How are these files or output ports created?
2. How can I restart printing?

I tried /usr/lib/lp[shut/sched] and tcp (stop/start).
I checked printers in scoadmin and printer is enabled
and accepting ...

What else am I to do?

Thank you all in advance!


Jose Lerebours

KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
Have you just do a
Code:
 man printcap
?
How is your miaLeis1 printer configured ?
Standalone on the network with an embedded LPR/LPD ?
Attached to an another machine ?
 
>Have you just do a man printcap ?
Yes, but it only has general definition of the
applicable macros (if you can call them that).

>How is your miaLeis1 printer configured ?
Networked using TCP/IP off a printer server

>Standalone on the network with an embedded LPR/LPD ?
Networked ...

>Attached to an another machine ?
No, it's networked ...

I want to know how is the /rprinter/mialeis1 file
created. I did `type` on it and it says to be a
fifo file type. I checked `man mkdev` and again,
it is too general.

Thanks;


Jose Lerebours

KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
> Networked using TCP/IP off a printer server
You have to know the job queue name on the printer server
Some typical examples are raw, direct, lp, port1, ...
The IP address of the printer must be in the /etc/hosts file, something like this:
Code:
x.y.z.y miaLeis1
The /etc/printcap should then be like this:
Code:
miaLeis1:        :lp=:rm=miaLeis1:rp=queue:sd=/usr/spool/lpd/miaLeis1:mx#0:


Hope This Help
PH.
 
PHV,

That is the way I normally do it. This particular
server, sort of, fell on my lap and I now have to
deal with inherited problems.

They say printers were working and simply stopped
a couple of days ago. I was confident I would fix
them in matter of minutes and then, BANG!, I hit this
brick wall and the termcap entries I've never seen
before.

Oh, let me mention that the server is in TX, I am in
FL and the IT department in TX is not forthcoming
as far as providing IP addresses. There are no entries
in /etc/hosts matching this printer nor any other
(even those that still work OK).

Regards;


Jose Lerebours


KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top