03-23-2010
Explain more please in which sittings I have to change the defaults , advice please ...
10 More Discussions You Might Find Interesting
1. AIX
HHi guys .
I have this problem ,I'm trying to print to a local machine (windows from the aix box , I;m using tiny Term Emulator)
I mean i have no idea what should i do to get this going.
The printer is connect it to the pc , it does not have an ip address.
Thanks a lot
Jose (0 Replies)
Discussion started by: josramon
0 Replies
2. UNIX for Dummies Questions & Answers
Hello Everyone :) ,
I have this printer installed on the network which is an HP 1160.
When sending a print job to the printer from SCO Unix 7.1 it prints one line of text and the rest of it comes up with blank pages.
I have tried deleting the printer and recreating it; but I am getting... (6 Replies)
Discussion started by: George26
6 Replies
3. SCO
I looked around the forum here and found some answers to getting the banner page disabled but when I print a test page they aren't working.
The printer I'm printing to is a HPLaserJet 2300. I couldn't find no banner settings in it either.
I'm using Sco OS 5.05.
Please advise.
Thanks (2 Replies)
Discussion started by: texastig
2 Replies
4. AIX
We have configured Network printers in AIX 6.1. We are facing a Weird problem in Printing. While printing the user is getting a blank page after 2 pages.
Please let us know the cause of this issue and ways to rectify it.
If this is problem with banner/feeds how to view the default banner... (1 Reply)
Discussion started by: sugan_p
1 Replies
5. Slackware
OS: Slackwar 13.37
Printer: hpDeskjet 1000 j110
Printer Drivers/Software: HPLIP 3.11.3a (min was 3.10.9) and Cups
The printer will print the first of n-pages but from page 2 on it prints the page (or part of it) backs up and starts again down about 0.8 lines and does this repeatedly till the... (2 Replies)
Discussion started by: slak0
2 Replies
6. Shell Programming and Scripting
Hi
I have a pdf file that is being generated using the rwrun command in the shell script.
I then have the lp command in the shell script to print the same pdf file.
Suppose there are 4 pages in the pdf file , I need to print 2 copies of the first page, 2 copies of the second page , then 2... (7 Replies)
Discussion started by: megha2525
7 Replies
7. AIX
Hopefully this is the correct place to post this, if not please let me know.
I am trying to find a way to print from AIX directly to a windows PDF printer. I don't really care if it is paid or freeware, I am just trying to get it to work. I did see a product called BullZip and I am going to... (3 Replies)
Discussion started by: DerangedNick
3 Replies
8. UNIX for Beginners Questions & Answers
Hello Administrators.
I have a bit difficult problem.
I have local virtual printer that has backend defined in /etc/qconf to script which in turns sends the spool to the real device.
whenever I print locally (from sap) the print works as it should. The printer queue after the print is done... (6 Replies)
Discussion started by: Deneth
6 Replies
9. Shell Programming and Scripting
Hello.
First happy new year to everybody.
I have a script that generate a text file ( /tmp/part_list.txt for example ).
This file can be edited using a kde graphical text editor like kate or kwrite
The file can be printed out from command line or within the text editor using the print... (5 Replies)
Discussion started by: jcdole
5 Replies
10. Solaris
Probably is possible to solving using cups,but I want to try the classical unix printing system.
I have setup a fake printer with cups-pdf,clients like Windows server,Linux and Solaris11 works ok.
On solaris 10 I get only blank pages,I have used this syntax
lpadmin -p Cups_pdf -s... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
LEARN ABOUT DEBIAN
aspect::advice::before
Aspect::Advice::Before(3pm) User Contributed Perl Documentation Aspect::Advice::Before(3pm)
NAME
Aspect::Advice::Before - Execute code before a function is called
SYNOPSIS
use Aspect;
before {
# Trace all calls to your module
print STDERR "Called my function " . $_->sub_name . "
";
# Shortcut calls to foo() to always be true
if ( $_->short_name eq 'foo' ) {
return $_->return_value(1);
}
# Add an extra flag to bar() but call as normal
if ( $_->short_name eq 'bar' ) {
$_->args( $_->args, 'flag' );
}
} call qr/^ MyModule::w+ $/
DESCRIPTION
The "before" advice type is used to execute advice code prior to entry into a target function. It is implemented by Aspect::Advice::Before.
As well as creating side effects that run before the main code, the "before" advice type is particularly useful for changing parameters or
shortcutting calls to functions entirely and replacing the value they would normally return with a different value.
Please note that the "highest" pointcut (Aspect::Pointcut::Highest) is incompatible with "before". Creating a "before" advice with a
pointcut tree that contains a "highest" pointcut will result in an exception.
If speed is important to your program then "before" is particular interesting as the "before" implementation is the only one that can take
advantage of tail calls via Perl's "goto" function, where the rest of the advice types need the more costly Sub::Uplevel to keep caller()
returning correctly.
AUTHORS
Adam Kennedy <adamk@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2010 Adam Kennedy.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-02-01 Aspect::Advice::Before(3pm)