If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From: Jeff Liebermann <jeffl@comix.santa-cruz.ca.us>
Subject: Re: Printing to non-HP Network Printer
Date: Wed, 22 Jan 2003 09:29:47 -0800
References: <q9HW9.118479$pDv.9477@news04.bloor.is.net.cable.rogers.com> <b0ff2a$256$1@perki.connect.com.au> <_aJW9.118895$pDv.2253@news04.bloor.is.net.cable.rogers.com> <7l6n2v8ui98vi02f9scfnakjrfbf6vekqv@4ax.com> <8e0X9.402771$F2h1.4253@news01.bloor.is.net.cable.rogers.com> <2jkp2v4b3qh5kaph3f8b1o5npt849po32r@4ax.com> <wFmX9.418037$F2h1.193179@news01.bloor.is.net.cable.rogers.com>
On Wed, 22 Jan 2003 01:41:48 GMT, "Joe" <pangjo@netzero.com> wrote:
>There is a email sent to root regarding an lp error. It complained about
>the path to netcat.
The first 10 commandments have already been taken. Number 11 should
be: "Thou shalt not paraphrase or abrev thy error messages".
>I copied the file to /etc and then changed the last
>line of the printer script file to:
>
> )|/etc/netcat -d -h $PRTHOST -p $PRTPORT
Remove the -d (for debug) and things might work a bit better.
>Alternatively, I should copy netcat to /usr/bin, which is defined in the
>path.
Depending on the background program, the default path varies from
zilch to some collection defined in some config file. In any case,
the administrative programs in /etc should never be on a default path
unless you enjoy blundering into trojan horses.
>Now the Intel print server works, but I have to go back to the Panasonic
>DP-6010, which I have done some tests without any success.
Ok. I give up. Please seperate the problems getting these two print
servers working as I get easily confused when you switch back and
forth in one sentence.
>I followed the
>same procedure as I did with the Intel Netport:
>
>1. create a hosts entry for the printer
>2. create a printer with output device of /dev/null
>3. identify the printer port of the device
> In Windows, I have the printer installed by configuring TCP/IP printing
>and print using lpr mode instead of raw.
All versions of Windoze are created equal. I bet you didn't know
that. Since you manage to configure tcp/ip printing in Windoze, my
guess is that you have Windoze 2000 or XP which have this built in as
"print to a standard port". You have two choices when you do this.
One is LPR/LPD which uses port 515. The other is for HP JetDirect
emulation, which is on port 9100. You can switch back and forth
between these two using the printers properties. Turn *OFF* the
"advanced features" check box as this causes problems.
>Using netstat, I found that
>Windows was communicating with port 515 of the device. In SCO, I tried to
>connect to the printer using netcat:
>
> # netcat -d -h panasonic -p515
Won't work. Port 515 is specific to the LPR/LPD protocol. You can't
just dump output to port 515 and expect anything to print. There's a
complex RFC describing the ordeal process required to get LPR/LPD to
print.
You might wanna disclose whether your Panasonic print server includes
JetDirect emulation. If so, use port 9100. If the port is something
else, I would be interested in knowing the port number so I can add it
to my chart.
>However, I cannot get it to print by using netcat directly or lp to it. I
>was told that the printer support lpr/lpd, maybe I have to set it up as a
>remote printer.
Yep. Maybe.
--
Jeff Liebermann 150 Felker St #D Santa Cruz CA 95060
(831)421-6491 pgr (831)336-2558 home
http://www.LearnByDestroying.com WB6SSY
jeffl@comix.santa-cruz.ca.us jeffl@cruzio.com
Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)
| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 3 | 9 | 34 | 780 | 3,649 |
/Bofcusm/1992.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Add your comments