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
/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.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar