System Administration
Showing results for 
Search instead for 
Did you mean: 

lprsetup remote printer Xerox DC 220

Melinda Myers
Occasional Visitor

lprsetup remote printer Xerox DC 220

I used lprsetup for this printer that is on a remote server. The /etc/printcap entry is as follows:


Where QNAME is the name of the queue on the remote server. I have added an /etc/hosts entry for QNAME for the correct IP. The printer is on and I have verified that I have the correct IP. When a printjob is sent to the printer it just "hangs" in the queue.
The lpstat -a reflects the following:

printer is on remote host QNAME with name text
queuing is enabled
printing is enabled
1 entry in spool area
Tue Dec 30 14:56:34 2003: sending to QNAME

Another SA tells me that this has been a problem once in the past with Xerox printers, and she believes that it had something to do with the "rp" entry.

Anyone have any ideas?

Michael Schulte zur Sur
Honored Contributor

Re: lprsetup remote printer Xerox DC 220


it certainly looks strange to me, if you use the same name for the host and queue. What kind of print server are you using? I myself prefer the tcpip protocol against the lpd protocol. Can you ping the printer/print server? Have you tried to send a text with ftp?


Ralf Puchner
Honored Contributor

Re: lprsetup remote printer Xerox DC 220

First of all, HP does not support XEROX printers directly. So please find a compatible printer on the supported list and configure it identically.

Depending on your OS version you have different approaches:

- lpd, telnet printing
- local connection
- terminal server printing

be sure the xerox printer (e.g. printer card) supports the selected mode. If so have a look into the documentation and get portnumber or queuename for proper printing. Upper-/lowercase is important!

Use lprsetup to configure the printer. In newer versions of Tru64 there are pcf filters included.

A sample printcap entry is:

:if=/usr/lbin/pcfof +Cln15.pcf:\
:of=/usr/lbin/pcfof +Cln15.pcf:\

pcfof is a default print filter and +C specifies the different printer (here ln15) related configurations. see /usr/lbin/pcf for additional printers and definitions. printerhostname is the hostname defined in /etc/hosts and socket_3001 is the name of the port defined within /etc/services.

The pcf filters does only work for PCL compatible printers. If using postscript printers, change if/of entry to a normal postscript filter!
Help() { FirstReadManual(urgently); Go_to_it;; }
Gary Hansford
Frequent Advisor

Re: lprsetup remote printer Xerox DC 220

I use Document Centre 220 ST's here, this is what I've done.



I then use the following command to perform the prints (due to lpd daemon not doing it within the Document Centre).

cat ${FILE} | \
/usr/lbin/pcfof +Chplj4mplus_a4.pcf \
${xerox_opts} | \
lpr ${lpropts}


${FILE} = filename

${xerox_opt} = Print Options (man pcfof)

e.g. -Olandscape

${lpropts} = -#copies -Pprinter

Only what the LPD daemon of the DC supports

What is happening is the pcfof converts your file into a temporary PCF document which is then transfered to the LPD daemon on the DC220. The DC220 LPD daemon doesn't understand many of the layout commands but does interact nicely with LPR from Tru64.

Works lovely on 4.0f and 5.1 - no probs.

If there's a better solution out there - would be interested...

Hope this helps