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
filter(1)						      Easy Software Products							 filter(1)

NAME
filter - cups file conversion filter interfaces SYNOPSIS
filter job user title num-copies options [ filename ] DESCRIPTION
The CUPS filter interface provides a standard method for adding support for new document types to CUPS. Each filter is capable of convert- ing from one or more input formats to another format that can either be printed directly or piped into another filter to get it to a print- able format. Filters must be capable of reading from a filename on the command-line or from the standard input, copying the standard input to a tempo- rary file as required by the file format. All output must be sent to the standard output. The command name (argv[0]) is set to the name of the destination printer. ENVIRONMENT VARIABLES
The following environment variables are defined by the CUPS server when executing each filter: CHARSET The default text character set (typically us-ascii or iso-8859-1). CLASS When a job is submitted to a printer class, contains the name of the destination printer class. Otherwise this environment variable will not be set. CONTENT_TYPE The MIME type associated with the file (e.g. application/postscript). CUPS_DATADIR The directory where data files can be found. CUPS_SERVERROOT The root directory of the server. DEVICE_URI The device-uri associated with the printer. LANG The default language locale (typically C or en). PATH The standard execution path for external programs that may be run by the filter. PPD The full pathname of the PostScript Printer Description (PPD) file for this printer. PRINTER The name of the printer; this is provided for shell scripts which may not be able to get the passed argv[0] string. RIP_CACHE The recommended amount of memory to use for Raster Image Processors (RIPs). SOFTWARE The name and version number of the server (typically CUPS/1.1). TZ The timezone of the server. USER The user executing the filter (typically lp). COMPATIBILITY
While the filter interface is compatible with System V interface scripts, it will only work with the System V interface script as the only filter. Typically the interface script will be provided via the lpadmin(8) command using the -i option. SEE ALSO
backend(1), cupsd(8), CUPS Interface Design Description, CUPS Software Administrators Manual, CUPS Software Programmers Manual, http://localhost:631/documentation.html COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved. 22 June 2000 Common UNIX Printing System filter(1)
All times are GMT -4. The time now is 10:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy