- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: lprsetup remote printer Xerox DC 220
Operating System - Tru64 Unix
1821625
Members
3432
Online
109633
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2003 08:00 AM
тАО12-30-2003 08:00 AM
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:
lp3|3|QNAME:\
:lf=/usr/adm/lp3err:\
:lp=:\
:rm=QNAME:\
:rp=text:\
:sd=/usr/spool/lpd3:
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:
QNAME:
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?
Thanks.
lp3|3|QNAME:\
:lf=/usr/adm/lp3err:\
:lp=:\
:rm=QNAME:\
:rp=text:\
:sd=/usr/spool/lpd3:
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:
QNAME:
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?
Thanks.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2003 07:23 AM
тАО12-31-2003 07:23 AM
Re: lprsetup remote printer Xerox DC 220
Hi,
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?
greetings,
Michael
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?
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2004 01:42 AM
тАО01-01-2004 01:42 AM
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:
lp|lp0:\
:if=/usr/lbin/pcfof +Cln15.pcf:\
:lf=/usr/adm/lp0err:\
:mx#0:\
:lp=@printerhostname/socket_3001:\
:of=/usr/lbin/pcfof +Cln15.pcf:\
:pl#66:\
:pw#80:\
:sd=/usr/spool/lp0:\
:xf=/usr/lbin/xf:
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!
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:
lp|lp0:\
:if=/usr/lbin/pcfof +Cln15.pcf:\
:lf=/usr/adm/lp0err:\
:mx#0:\
:lp=@printerhostname/socket_3001:\
:of=/usr/lbin/pcfof +Cln15.pcf:\
:pl#66:\
:pw#80:\
:sd=/usr/spool/lp0:\
:xf=/usr/lbin/xf:
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;; }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2004 04:33 AM
тАО01-05-2004 04:33 AM
Re: lprsetup remote printer Xerox DC 220
I use Document Centre 220 ST's here, this is what I've done.
Printcap:
3|lp3|qname:\
:lf=/usr/adm/lp3.err:\
:lp=:\
:rm=qname:\
:rp=lp:\
:sd=/usr/spool/lp3:\
:sh:
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}
where:-
${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
Gary
Printcap:
3|lp3|qname:\
:lf=/usr/adm/lp3.err:\
:lp=:\
:rm=qname:\
:rp=lp:\
:sd=/usr/spool/lp3:\
:sh:
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}
where:-
${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
Gary
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP