- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Printing to a network printer
Categories
Company
Local Language
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
Forums
Discussions
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
Discussion Boards
Community
Resources
Forums
Blogs
- 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-27-2007 01:33 PM
тАО03-27-2007 01:33 PM
I've searched around the system and google, but have a bit problem in locating the right information about how to setup print queue that printing to a network printer from Tru64 5.1B-4 system.
Your help is much appreciated.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 03:57 PM
тАО03-27-2007 03:57 PM
Re: Printing to a network printer
NHOMFP01|lp119|nhomfp01:\
:lf=/usr/adm/lp119err:\
:lp=:\
:rm=nhomfp01:\
:rp=nhomfp01:\
:sd=/usr/spool/lpd119:
NHOMFP03|lp142|nhomfp03:\
:lf=/usr/adm/lp142err:\
:lp=:\
:rm=nhomfp03:\
:rp=nhomfp03:\
:sd=/usr/spool/lpd142:
The nhomfp03 is a network printer we want to print to from this system. The lp142 is an arbitrary name I created for this printer. do I have to follow some specific rule to create this printer name (lp142)?
Thanks
Can anyone tell me how to test this setup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 05:23 PM
тАО03-27-2007 05:23 PM
Re: Printing to a network printer
I tried the following lpr commandline,
lpr -Pnhomfp03 /etc/printcap
it sends the printcap file to the printer, but the output is is not indented properly and it only prints few lines on the page:
abc|lp0:\
:lf=/usr/adm/lperr:\
:lp=:\
Can anyone please tell me what is wrong with my printing command/configuration and how to fix this error?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 06:33 PM
тАО03-27-2007 06:33 PM
Re: Printing to a network printer
Let me elaborate more about the problem.
When the 5.1B-4 system sends a print job to the Lexmark laser printer, the printer prints it in "stair stepping" form:
eg.
LINE 1
LINE 2
LINE 3.
I am sending a text file to the printer with lpr command:
lpr -Plp142 /etc/printcap
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 06:34 PM
тАО03-27-2007 06:34 PM
Re: Printing to a network printer
Does it have HP Jet direct?
Did you setup these printers using lprsetup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 06:34 PM
тАО03-27-2007 06:34 PM
Re: Printing to a network printer
1. LINE 1
2. LINE 2
3. LINE 3
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 06:47 PM
тАО03-27-2007 06:47 PM
Re: Printing to a network printer
This is a LEXMARK network laser printer. I am not sure what type of print it is.
We only knows its hostname and IP. I didn't use lprsetup to configure the printer.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 06:55 PM
тАО03-27-2007 06:55 PM
Re: Printing to a network printer
Look like this:
http://cgi.ebay.com/Lexmark-T634-MFP-Near-New-One-of-a-Kind-4000-Unit_W0QQitemZ270101249381QQcategoryZ16189QQcmdZViewItem?hash=item270101249381#ebayphotohosting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 07:27 PM
тАО03-27-2007 07:27 PM
Re: Printing to a network printer
Now I just executed lprsetup,I need to select a printer type from the following printers:
Printer Types:
1. Compaq Advanced Server ClientPS
2. Compaq Advanced Server ClientText
3. Compaq LN16
4. Compaq LN32
5. Digital Colormate PS
6. Digital DEClaser 1100
7. Digital DEClaser 1150
8. Digital DEClaser 2100
9. Digital DEClaser 2150
10. Digital DEClaser 2200
11. Digital DEClaser 2250
12. Digital DEClaser 2300
13. Digital DEClaser 2400
14. Digital DEClaser 3200
15. Digital DEClaser 3250
16. Digital DEClaser 3500
17. Digital DEClaser 5100
18. Digital LA100
19. Digital LA120
20. Digital LA210
21. Digital LA280
22. Digital LA30N
23. Digital LA30N A4
24. Digital LA30W
25. Digital LA30W A4
26. Digital LA324
27. Digital LA380
28. Digital LA380CB
29. Digital LA380K
30. Digital LA400
31. Digital LA424
32. Digital LA50
33. Digital LA600
34. Digital LA70
35. Digital LA75
36. Digital LA84
37. Digital LA86
38. Digital LA88
39. Digital LA88C
40. Digital LA90
41. Digital LG02
42. Digital LG04 Plus
Press 'ENTER' to continue scrolling, type '(q)uit' to end scrolling:
As I said, I am using LEXMARK model 4036-304, which printer type is most suitable?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 10:41 PM
тАО03-27-2007 10:41 PM
Re: Printing to a network printer
On this page there is a list of supported printers:
http://h30097.www3.hp.com/printing/printers.html
Here is one example of printcap entry:
lj3800|lp6:\
:af=/usr/adm/lp6acct:\
:if=/usr/lbin/ppdof +OPageSize=Letter +Chplj2500.rpd:\
:lf=/usr/adm/lp6err:\
:lp=@hpcolor3800/port_9100:\
:mx#0:\
:of=/usr/lbin/ppdof +OPageSize=Letter +Chplj2500.rpd:\
:pl#72:\
:pw#0:\
:rw:\
:sh:\
:sd=/usr/spool/lpd6:\
:xf=/usr/lbin/xf:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 10:53 PM
тАО03-27-2007 10:53 PM
Re: Printing to a network printer
I meant I would try T610 first. Then with T612, T614 and T616.
Download drivers from link above and install them.
You have 90% chance that your printer would work with one of these drivers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2007 12:29 AM
тАО03-28-2007 12:29 AM
Re: Printing to a network printer
This printer is a network printer, it is in the same subnet as the Tru64 51B-4 is connected. Do I still need to install the Txxx driver in this Tru64? it doesn't physically connected to this network printer.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2007 12:38 AM
тАО03-28-2007 12:38 AM
Re: Printing to a network printer
I just have a look thru the website you shown here. Tru64 5.1 had already built-in LEXMARK 4039 plus driver in the base system. Can I just copy this portion of your printcap script into my printcap script?
Why do I need to have a port_9110 in the printcap file?
I am setting up a printing client (the Tru64). The Tru64 server is then use lpr sends print job to the LEXMARK 4903 printer.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2007 01:52 AM
тАО03-28-2007 01:52 AM
SolutionFrom your post I was not sure which printer you have, T634 or 4903
If you have driver for your printer built-in, fine.
You do not need port_9100 if your printer does not have JetDirect. That was just an example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2007 12:15 PM
тАО03-28-2007 12:15 PM
Re: Printing to a network printer
I added the following configuration in the printcap file, but this time lpr doesn't send the print job to the printer.
NHOMFP03|lp142|nhomfp03:\
:af=/usr/adm/lp142err:\
:if=/usr/lbin/ppdof +OPageSize=Letter +Chplj2500.rpd:\
:lf=/usr/adm/lp142err:\
:lp=:\
:mx#0:\
:of=/usr/lbin/ppdof +OPageSize=Letter +Chplj2500.rpd:\
:pl#72:\
:pw#0:\
:rw:\
:sh:\
:sd=/usr/spool/lpd142:\
:xf=/usr/lbin/xf:
The lpr commandline I used is:
lpr -Pnhomfp03 /.cshrc
I also found the print jobs get written to the spool directory /var/spool/lpd142/
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2007 01:07 PM
тАО03-28-2007 01:07 PM
Re: Printing to a network printer
lp142|142|NHOMFP03:\
:af=/usr/adm/lp142acct:\
:if=/usr/lbin/ppdof +OPageSize=Letter +ClexmarkT622.rpd:\
:lf=/usr/adm/lp142err:\
:lp=@nhomfp03:\
:mx#0:\
:of=/usr/lbin/ppdof +OPageSize=Letter +ClexmarkT622.rpd:\
:pl#66:\
:pw#0:\
:rw:\
:sd=/usr/spool/lpd142:\
:xf=/usr/lbin/xf:
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2007 08:03 PM
тАО03-28-2007 08:03 PM
Re: Printing to a network printer
Since allmost all new printers support printing to JetDirect port (tcp port 9100), I recomend to use it rather than LPD.
Do the following:
- first check is tcp port 9100 opened:
# telnet nhomfp03 9100 (nhomfp03 should be ip address of your printer)
- add following line to /etc/services:
port_9100 9100/tcp #jetdirect print port
- modify lp entry to be:
:lp=@nhomfp03/port_9100:\
- restart printer:
# lpc restart lp142