![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Install a Kyocera Mita FS-2000D printer on a AIX system | uadm26 | AIX | 0 | 01-31-2008 02:47 AM |
| How to Install and Configure USB Printer in SCO 6 | karzon | SCO | 0 | 08-08-2007 06:02 AM |
| Need help on installing an EASY to use and easy to install command line text editor | EugeneG | UNIX for Dummies Questions & Answers | 4 | 07-16-2007 08:53 AM |
| Install a network printer on Solaris | reda | UNIX for Dummies Questions & Answers | 2 | 04-24-2006 09:33 AM |
| Help !!! How can i install a printer ! | bloerg | UNIX for Dummies Questions & Answers | 2 | 08-06-2002 07:27 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#8
|
|||
|
|||
|
Try inserting the following lines into a local printer script in /usr/spool/lp/admins/lp/interfaces, removing the equivalent lines from the original script.
Create an entry for office in /etc/hosts, and remove the line 'cp $file /u/PS2' if you don't want to keep a copy of the print file. Save a copy of the original script. ###start replacement copies=$4 shift; shift; shift; shift; shift files="$*" i=1 while [ $i -le $copies ] do for file in $files do cp $file /u/PS2 echo "root\n" >/tmp/$F echo "put $file LPT1" >>/tmp/$F echo "quit" >>/tmp/$F ftp office </tmp/$F done rm /tmp/$F i=`expr $i + 1` done ###end replacement Also "LPT1" may change depending on the brand of "JetDirect" box (ethernet to parallel adapter) Last edited by jgt; 07-04-2007 at 04:42 AM. |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|