![]() |
|
|
|
|
|||||||
| 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 |
| Unix Printing | snvijaysankar | UNIX for Advanced & Expert Users | 2 | 06-16-2007 10:10 AM |
| UNIX Printing | MPW | UNIX for Advanced & Expert Users | 5 | 05-05-2005 07:36 AM |
| Printing under UNIX | duc | UNIX for Dummies Questions & Answers | 2 | 12-28-2004 07:20 AM |
| SCO Unix 5.0 printing | dpadron | UNIX for Advanced & Expert Users | 2 | 06-13-2003 01:19 PM |
| Printing Problems in unix ... ( Bar-cdoe - Ip Printing) | QuickSilver | UNIX for Advanced & Expert Users | 3 | 06-04-2002 07:48 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Printing from unix with lp
Hey,
When printing from UNIX all the dataafter the end of the page is not printed!! How can I use lp so that instead of just printing to the end of the page, it stops at the end of the page and then prints on the next line??? Thanx |
| Forum Sponsor | ||
|
|
|
|||
|
Sorry, I'll try to explain more.
If you have a file like this Code:
if ($current_state eq "new_file")
{
@array=split(/ /,$line);
$filename=@array[2];
$filename=substr($filename,5,length($filename));
}
<--------------------------------------> the output wil be.. Code:
if ($current_state eq "new_fi
{
@array=split(/ /,$line);
$filename=@array[2];
$filename=substr($filenam
}
Code:
if ($current_state eq "new_fi
le")
{
@array=split(/ /,$line);
$filename=@array[2];
$filename=substr($filenam
e,5,length($filename));
}
Hope this is clear now. added code tags for readability --oombera Last edited by oombera; 02-18-2004 at 12:13 PM. |