HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Third party printers
Operating System - HP-UX
1830493
Members
2696
Online
110005
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
Forums
Discussions
Discussions
Discussions
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
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
03-29-2002 06:51 PM
03-29-2002 06:51 PM
Third party printers
I have three canon photocopy machines in my building that need to have the ability to print from our app. That runs on HPUX 10.20. I have tried to add a remote printer and enabled the BSD flag. Garbage out. I recreated the printer but this time without the BSD flag enabled. Once again garbage out. What would be the best way to connect this device. The photocopy has a integrated network card that has a IP address.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2002 12:16 AM
03-30-2002 12:16 AM
Re: Third party printers
1. Make sure you can ping the printer -- if you can't you need to resolve the network or printer issue.
If the printer responds, then:
A. Edit the /etc/inetd.conf file
Add an entry for rlpdaemon - it should look like:
printer stream tcp nowait root /usr/lib/rlpdaemon rlpdaemon -i -l
B. Restart inetd
# /etc/inetd -c
C. rlpdaemon is a Berkeley service and requires and entry in the
/etc/hosts file. NOTE: all Berkeley services do a gethostbyname
at the remote end, if the request fails then rlp will not
respond at all.
D. The REMOTE is now fully configured for rlp.
2. Configuring the LOCAL machine.
A. Do an lpstat -t, and look for the printer device that you
wish to configure.
B. The scheduler must be shut down:
/usr/lib/lpshut
C. Now configure the printer:
/usr/lib/lpadmin -p -mrmodel -v/dev/null -ocmrcmodel
-osmrsmodel -orm -orp
NOTE: The '-ob3' option must be used if remotely printing
to a BSD printer. See lpadmin(1M) for details.
3. The rlp printer is now configured on the LOCAL machine. There
are a few basic steps that need to be taken in order to get
the printer to be functional.
- /usr/bin/enable
- /usr/lib/accept
Then issue the command,
- /usr/lib/lpsched
Done.
If the above doesn't work,
try telnet'ing to the printer:
telnet 515
Trying...
Connected to
Escape character is '^|'
If you don't get something back that looks like the above, then it may be a network issue.
If all else fails, you may need to contact Cannon for assistance.
Hope this helps.
Ross Martin
If the printer responds, then:
A. Edit the /etc/inetd.conf file
Add an entry for rlpdaemon - it should look like:
printer stream tcp nowait root /usr/lib/rlpdaemon rlpdaemon -i -l
B. Restart inetd
# /etc/inetd -c
C. rlpdaemon is a Berkeley service and requires and entry in the
/etc/hosts file. NOTE: all Berkeley services do a gethostbyname
at the remote end, if the request fails then rlp will not
respond at all.
D. The REMOTE is now fully configured for rlp.
2. Configuring the LOCAL machine.
A. Do an lpstat -t, and look for the printer device that you
wish to configure.
B. The scheduler must be shut down:
/usr/lib/lpshut
C. Now configure the printer:
/usr/lib/lpadmin -p
-osmrsmodel -orm
NOTE: The '-ob3' option must be used if remotely printing
to a BSD printer. See lpadmin(1M) for details.
3. The rlp printer is now configured on the LOCAL machine. There
are a few basic steps that need to be taken in order to get
the printer to be functional.
- /usr/bin/enable
- /usr/lib/accept
Then issue the command,
- /usr/lib/lpsched
Done.
If the above doesn't work,
try telnet'ing to the printer:
telnet
Trying...
Connected to
Escape character is '^|'
If you don't get something back that looks like the above, then it may be a network issue.
If all else fails, you may need to contact Cannon for assistance.
Hope this helps.
Ross Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2002 01:08 AM
03-30-2002 01:08 AM
Re: Third party printers
Hi Otto,
Configure the printer as a local printer connected to the parallel printer on any system. On the hp us side configure this printer as a remote printer connetedto a remote system. While configuring this printer as a remote printer on hp ux configure it as a bsd printer.
Try this link,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=e15d711813d5a8155f/screen=ckiDisplayDocument?docId=200000041602968
Hope this helps.
Regds
Configure the printer as a local printer connected to the parallel printer on any system. On the hp us side configure this printer as a remote printer connetedto a remote system. While configuring this printer as a remote printer on hp ux configure it as a bsd printer.
Try this link,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=e15d711813d5a8155f/screen=ckiDisplayDocument?docId=200000041602968
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2002 11:55 PM
04-01-2002 11:55 PM
Re: Third party printers
Hi,
I was involved in solving a problem with
printing to a canon photocopy machine a couple
of years ago. The problem was found to be
that the canon did not handle a UNIX-type
linetermination (lf instead of cr-lf that
comes from a pc).
As you say it is "garbage out" it is difficult
to say if you have the same problem.
But assuming it is the same problem, the
solution may be as follows:
. use SAM to set define the printer as
a remote printer. If needed try
with and without the BSD-flag.
. Modifiy the interface-script found in
/etc/lp/interface so that it translates
lf to cr-lf. This is done like this:
Add the following two lines between
the lines with the 5 shift and the line
with the rlp command:
/usr/bin/ux2dos $1 > /tmp/$$trfil
mv /tmp/$$trfil $1
Regards
Olav
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP