Sponsored Content
Full Discussion: System V printing filter
Top Forums Shell Programming and Scripting System V printing filter Post 303025413 by gull04 on Friday 2nd of November 2018 03:45:55 AM
Old 11-02-2018
Hi Ken,

The "Alpha Unix" that you are working with could be one of several versions, setting up the printers and modifying the drivers is actually relatively straight forward using the admin GUI on the later versions of what I believe will be OSF.

However from memory this Unix also supported the "lpadmin" command subset, so it may be that you want to setup a class for the printer or copy the filter file - modify the copy and attach the printer to that or even create a new printer (pointing at the same remote queue).

It is now over 15 years since I worked on Alpha kit with OSF, so bear with me if I'm a little rusty - my notes are 300 miles away and were written in a notebook. If I get a chance when I'm home I'll try and dig them out.

Regards

Gull04
 

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

how to configure the lp system to filter files passed to it

I registered a printer hp123 on Sun Solaris Server. I think my printer is expecting a carriage return and linefeed combination at the end of each line (DOS standard), but unix files only have linefeeds at the end of each line. How can I configure the lp system to filter files passed to it?... (1 Reply)
Discussion started by: simt
1 Replies

2. AIX

printing system with the command lp -d

Hello.. Plz, Any one can help me ? when I execute a printing system with the command lp -d<name of printer>, no result with all printers. I have verified the three processes : qdaemon, lpd, writesrv (No problem). thank's (0 Replies)
Discussion started by: okbainf
0 Replies

3. Shell Programming and Scripting

">" used in system() is not printing into file

I have a problem with the following skript in awk. cat runde.txt |awk '{ if ($5==2) { dataname_v=$1 "_" $4 "_adjust.rad befehl1="gensurf seitenwand... (17 Replies)
Discussion started by: ergy1983
17 Replies

4. Solaris

Solaris printing system migration

Hello folks, I'm currently working on migration of printing system from one server to another (namely from Sol 9 to Sol 10). I would like ask if is possible to manage migration via simple copying /etc/printers.conf file and folder /etc/lp to the new server??? I'm not sure if printers... (2 Replies)
Discussion started by: brusell
2 Replies

5. Shell Programming and Scripting

Filter ONLY lines with non-printing charaters

I have a file contains data with non-printing characters. i have used cat -v filename to display whole data with non-printing characters also. However, i need lines with non-printing characters into seperate file. My file is huge and looks like i have to manully find lines using cat -v filename |... (3 Replies)
Discussion started by: JSKOBS
3 Replies
EvmFilterCreate(3)					     Library Functions Manual						EvmFilterCreate(3)

NAME
EvmFilterCreate(), EvmFilterDestroy(), EvmFilterIsFile(), EvmFilterReadFile(), EvmFilterSet(), EvmFilterTest() - event filter evaluator routines SYNOPSIS
Library EVM Support Library Parameters filter_evaluator For filter_evaluator is the return handle of an established filter evaluator. For filter_evaluator , identifies the filter evaluator that uses the filter_string in subsequent matches. For filter_evaluator identifies the filter evaluator that compares the supplied event with the filter string. For filter_evaluator identifies the filter evaluator to be destroyed. filter_string The filter string used by the filter evaluator in subsequent matches. See the EvmFilter(5) manpage for the syntax. event The event to be compared with the filter string currently associated with the filter evaluator. matchFlag The result obtained when the supplied event is compared with the filter string currently associated with the filter evalu- ator. Possible return values are as follows: The event matches the filter_string. The event does not match the filter_string. DESCRIPTION
The filter evaluation routines check whether an event matches a given event filter. These functions are useful to clients that pass a com- plex filter to the EVM daemon. Then the clients test incoming events against subcomponents of the filter to determine the appropriate action. The routine establishes an instance of a filter evaluator, returning a handle in filter_evaluator. The routine passes a filter_string to the filter_evaluator for subsequent matches. The routine compares the supplied event with the filter_string currently associated with the filter_evaluator. The result is returned in matchFlag. Possible return values are as follows: The event matches the filter_string. The event does not match the filter_string. The indirect filter syntax, is supported by the and routines. Programs which support indirect filters may use to determine whether a user- supplied filter string is indirect. If so, then use to expand the file to a regular filter string. returns if the supplied filter_string uses indirect filter notation, and returns otherwise. interprets the supplied filter_string, and attempts to open and read the referenced file. returns a pointer to heap space memory contain- ing the expanded filter string. The caller is responsible for freeing the memory when it is no longer needed. NULL is returned if an error occurs while reading the file. Note that does not attempt to validate the filter string contained in the file. The routine destroys the filter_evaluator, freeing all associated resources. RETURN VALUE
The operation completed without error. A filter string that is syntactically invalid passed to the filter evaluator. One of the arguments to the function is invalid. A value in a structure member is invalid. An operation failed because an attempt to acquire heap memory failed. An attempt was made to use a filter evaluator without first calling which provides an initial filter string. An attempt to read a filter file failed. ERRORS
The value of is not set. SEE ALSO
Event Management EVM(5). EVM Events EvmEvent(5). Event Filter EvmFilter(5). EvmFilterCreate(3)
All times are GMT -4. The time now is 03:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy