Best of the Newsgroups: printing to lpd printer 515 Panasonic


What is this stuff?

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>


Hate these ads?



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.


LOD Communications, Inc.



>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)

Or use any RSS reader

Delivered by FeedBurner


Views for this page
Today This Week This Month This Year  Overall
3934780 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.

Publishing your articles here

More:
       - Newsgroup




Unix/Linux Consultants

Your ad here - $48.00 yearly!

SCO, OpenServer, UnixWare, software, servers, security, networks, installation, administration, troubleshooting, maintenance, Watchguard, firewalls, VPNs, e-mail. Visit us at http://opensystemscomputing.com and www.go2unix.com.


http://www.m3ipinc.com Security, firewalls, ids, audits, vulnerability assesments, BS7799, HIPAA, GLB, incident handling


http://www.cleverminds.net Need expert advice? Want a second opinion? CleverMinds is a one-stop-shop for a wide range of technology solutions. We support Unix, Linux, SCO as well as CMS, ecom, blogs, podcasts, search engines consulting and more. Contact us at web2.0@cleverminds.net 0r (617) 894-1282



Twitter
  • Nov 18 20:41
    I'll be out all day Wednesday the 19th, hard to reach even by phone. Leave a message and have patience.
  • Nov 18 10:07
    What am I doing? Not doing what I WANT to be doing! Oh, well, in every life a little work must fall..




card_image








Change Congress


Related Posts