* Remote printers
@ 1996-11-11 15:40 Daryl Fallin
0 siblings, 0 replies; 3+ messages in thread
From: Daryl Fallin @ 1996-11-11 15:40 UTC (permalink / raw)
To: tru64-unix-managers
Hello,=20
This is my first post to this mailing list, and I know that this is =
probably a simple question.
I need to set up a remote printer on my DEC-ALPHA running OSF/1 V3.0. I =
have a Lexmark Optra R printer that I have assigned an IP address. The =
printer and the DEC have different class C addresses but are connected =
through frame relay. The Lexmark can be set up so that it has a =
Hostname and a printer name. I have tried to edit the printcap file and =
created an spooling directory and created an accounting file and error =
file and have given ownership to daemon.
This is the printcap entry:
Tech_CO_laser|lp14|lpco|laserco:\
:lf=3D/usr/adm/lp14err:\
:lp=3D:/dev/null:\
:rm=3Dtech_dept_ip:\
:rp=3Dtech_ip:\
:sd=3D/usr/spool/lpd14:
I also have this entry in the /etc/hosts file
XXX.XXX.XXX.XXX tech_dept_ip.leesummit.k12.mo.us tech_dept
where XXX.XXX.XXX.XXX is the IP address of the printer.
Thanks for the help,
Daryl Fallin
LAN/WAN Administrator
Lee's Summit School District
http://www.leesummit.k12.mo.us
dfallin@garfield.leesummit.k12.mo.us
^ permalink raw reply [flat|nested] 3+ messages in thread
* Remote Printers
@ 1999-03-26 1:03 Jason Carter (PE - CSD)
0 siblings, 0 replies; 3+ messages in thread
From: Jason Carter (PE - CSD) @ 1999-03-26 1:03 UTC (permalink / raw)
To: tru64-unix-managers
Once upon a time (when I was maintaining a SCO Unix system) I had a
utility that allowed remote printers to be set up as if they were local
printers (it was called netprn) and it worked by sending directly to the
IP port on the remote machine. This was great because it allowed me to
enable/disable printers locally.
I am using Digital Unix 4.0d - is there a similar utility available for
it somewhere out there?
Jason Carter
Network Year 2000
Project Coordinator
Newcrest Mining Ltd
Ph: +61 8 9270 7009
Mb: 041 993 8578
^ permalink raw reply [flat|nested] 3+ messages in thread
* Remote Printers
@ 2001-04-04 17:07 Thomas, Douglas L.
0 siblings, 0 replies; 3+ messages in thread
From: Thomas, Douglas L. @ 2001-04-04 17:07 UTC (permalink / raw)
To: tru64-unix-managers
Hi All,
We have numerous HP LaserJet 4 Plus printers connected to our network via
Lantronics Ethernet/Parallel devices. My /etc/printcap has entries for
these printers like this:
lp|lp0|0|humrs1|HUMRS1:\
:lf=/usr/adm/lperr/lp0:\
:lp=:\
:rm=10.1.3.47:\
:rp=HUMRS1:\
:sh:\
:sd=/usr/spool/lpd:
HUMRS1 is the name of the Lantronics device.
Most of the print jobs are generated by applications that format the data
via their own drivers and Unix just dumps it to the printer. A Developer is
now generating a test file and sending it to the printer via lpr. He now
wants to print this in landscape mode. So, we tried "lpr -Phumrs1
-Olandscape filename", unsuccessfully (I assume because it's a remote
printer.
To solve this I created the following two files with the escape sequences to
change the printer mode to landscape and back to portrait:
File /tmp/hp_landscape contains: ^[&l2a10^[(s0p12h3T
File /tmp/hp_portrait contains: ^[&l2a0O^[(s0p12h3T
I then instructed the Developer to print via the following command:
cat /tmp/hp_landscape his_file_name /tmp/hp_portrait | lpr -Phumrs1
This works, but I keep thinking that there must be a better way.
Does anyone know of a more "proper" way to do this? VMS sets these up with
some kind of "form" parameter and WinNT(grimace!) has its' wizards. The Sys
Admin manual is a little thin on remote printers.
This particular system is a 4100 running 4.0e, but I will probably have to
make this work on 5.1, as well. My guess is that not much has changed
between versions in this regard.
Thanks In Advance,
Douglas L. Thomas
Network Support Specialist - Senior Unix Administrator
Great Lakes Gas Transmission
dthomas@glgt.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-04-04 17:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-11 15:40 Remote printers Daryl Fallin
-- strict thread matches above, loose matches on Subject: below --
1999-03-26 1:03 Remote Printers Jason Carter (PE - CSD)
2001-04-04 17:07 Thomas, Douglas L.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox