Operating System - Tru64 Unix
1753452 Members
5928 Online
108794 Solutions
New Discussion юеВ

Re: Printing to a network printer

 
SOLVED
Go to solution
sammysammy
Frequent Advisor

Printing to a network printer

Hi,

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
16 REPLIES 16
sammysammy
Frequent Advisor

Re: Printing to a network printer

I have inserted the following line in the /etc/printcap file

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?
sammysammy
Frequent Advisor

Re: Printing to a network printer

Hi,

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
sammysammy
Frequent Advisor

Re: Printing to a network printer

hi,

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
Vladimir Fabecic
Honored Contributor

Re: Printing to a network printer

First, tell us what is your printer type.
Does it have HP Jet direct?
Did you setup these printers using lprsetup?
In vino veritas, in VMS cluster
sammysammy
Frequent Advisor

Re: Printing to a network printer

Opps... it should be:
1. LINE 1
2. LINE 2
3. LINE 3

Thanks
sammysammy
Frequent Advisor

Re: Printing to a network printer

hi, thanks for the reply.
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
sammysammy
Frequent Advisor

Re: Printing to a network printer

sammysammy
Frequent Advisor

Re: Printing to a network printer

Hi,

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
Vladimir Fabecic
Honored Contributor

Re: Printing to a network printer

I would try Lexmark 4039 first.
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:
In vino veritas, in VMS cluster