Operating System - Tru64 Unix
1752786 Members
5952 Online
108789 Solutions
New Discussion юеВ

Re: Printing to a network printer

 
SOLVED
Go to solution
Vladimir Fabecic
Honored Contributor

Re: Printing to a network printer

Sorry, I made a typo.
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.
In vino veritas, in VMS cluster
sammysammy
Frequent Advisor

Re: Printing to a network printer

Hi,

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

Re: Printing to a network printer

HI,

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

Re: Printing to a network printer

My printcap entry was just an example.
From 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.
In vino veritas, in VMS cluster
sammysammy
Frequent Advisor

Re: Printing to a network printer

Hi,

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

sammysammy
Frequent Advisor

Re: Printing to a network printer

I changed the printcap configuration to the following setting, but print job still stuck in /var/spool/lpd142 directory:

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

Re: Printing to a network printer

Looks like your ":lp=@nhomfp03:\" entry is not correct.
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
In vino veritas, in VMS cluster