RSS Archive Contact Us Advertise

IT Management Begins With Security
SecurityProNews > Articles > Application Development > Setting Up Netcat Printers
Search:
[ articles_application_development ]

Setting Up Netcat Printers



A.P. Lawrence
Contributing Writer
2003-06-16

SecurityProNews RSS Feed SecurityProNews RSS Feed


Boy, I like netcat. Just finished converting one client's SCO 5.0.5 system from Berkeley LPD to netcat and recommend the change to anyone now using LPD to print to dedicated print servers.

I cobbled the following script to parse the /etc/printers file and automatically setup one or all printers. I also include my version of HPLaserJet.net supporting duplex enable printers, 66 line portrait and 66 line landscape as well as 88 line 16.6cpi portrait.

Click Here to See the code.

printeradmin writes its output to standardout and does not execuite the commands. I just run printeradmin > /tmp/doit and then "sh /tmp/doit" after I page /tmp/doit to see that it's correct.

Once I am comfortable with the output of printeradmin, I just run printeradmin options | sh to skip the step of outputting to a temporary file and then using sh to execute the file.

Click Here to See the code.

The comment field was added and these comments appear as printer comments with the scoadmin printer screen.

Please Read This Disclaimer
Copyright and Reprint Info



About the Author:
A.P. Lawrence provides SCO Unix and Linux consulting services http://www.pcunix.com

More articles_application_development Articles

SecurityProNews RSS Feed SecurityProNews RSS Feed


Get Your Site Submitted for Free in the World's Largest B2B Directory!

Email Address:
* URL:
*
*Indicates Mandatory Field

Terms & Conditions

iEntry Featured Services: Jayde Member Services | Forums | Freeware | Advertise with Us

Virus Warnings

Subscribe to
SecurityProNews FREE!



[ more newsletters ]

article resources
Search Articles:
[advanced search]

WebProWorld.com
Get in-touch with industry experts and leaders
Post your site for review by expert and peers
Ask Security, IT, Development and Design questions

Free Membership: Join Now!

Visit WebProWorld.com

Titan Quest Forum
The #1 Titan Quest forum
Halo 3 Forum
The best Halo, Halo 2, Halo 3 forum
Nintendo Wii
Nintendo Wii news and views
Mac Software
The best in OS X freeware
Graphics Forum
Your source for graphic tutorials
SecurityProNews.com | Breaking eBusiness News Get Your IT Questions Answered - Click Here SecurityProNews News Feeds