![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unix Printing | snvijaysankar | UNIX for Advanced & Expert Users | 2 | 06-16-2007 01:10 PM |
| UNIX Printing | MPW | UNIX for Advanced & Expert Users | 5 | 05-05-2005 10:36 AM |
| Printing under UNIX | duc | UNIX for Dummies Questions & Answers | 2 | 12-28-2004 11:20 AM |
| SCO Unix 5.0 printing | dpadron | UNIX for Advanced & Expert Users | 2 | 06-13-2003 04:19 PM |
| Printing Problems in unix ... ( Bar-cdoe - Ip Printing) | QuickSilver | UNIX for Advanced & Expert Users | 3 | 06-04-2002 10:48 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 |
|
||||
|
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 04:13 PM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|