Re: Specifying script as printer backend
"loial" <admin@xxxxxxxxxxx> wrote in message
news:1145966868.905092.42780@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Solaris, AIX etc it is possible to configure a print queue that
runs a script when a job is submitted to it, rather than actually
interfacing with a printer.
Is this possible in Linux?
Yes, and by the same syntax if using lpd. "man 5 printcap" for more
information, with special attention to " :lp=/path/to/script: " argument to
a printer definition.
Check the documentation if you are using CUPS instead, but I believe the
syntax is at least similar.
.
Relevant Pages
- Re: Specifying script as printer backend
... a script when a job is submitted to it, ... interfacing with a printer. ... Is this possible in Linux? ... Linux Registered User #327951 ... (comp.os.linux.networking) - Re: [ Attn: Randy ] Ad-hoc Parsing?
... >> So, of course, you should distinguish between what the syntax requires ... not RosAsm style? ... is written specifically for Linux... ... C++, it is only implemented on GUI-capable OSes currently and, thus, a GUI ... (alt.lang.asm) - Re: function definition syntax
... :> In which case it might as well be a separate script - you don't need a function. ... :>: That's much more reliable than having to remember which syntax ... Always using POSIX ... :> not overlook restoring IFS. ... (comp.unix.shell) - Re: Books/References new to scripting in AD/2003
... my own website has lots of script samples you might find useful: ... test bits of flag attributes like userAccountControl using SQL syntax. ... To restrict the query to an OU, ... (microsoft.public.windows.server.scripting) - Re: Books/References new to scripting in AD/2003
... Good luck with your scripting - It's a worthwhile pursuit and the time you spend learning to script can easily be re-paid. ... I don't believe there is any way to test bits of flag attributes like userAccountControl using SQL syntax. ... but needs to be enclosed in quotes in a query. ... (microsoft.public.windows.server.scripting) |
|