Sponsored Content
Full Discussion: System V printing filter
Top Forums Shell Programming and Scripting System V printing filter Post 303025438 by Ken_Snauffer on Friday 2nd of November 2018 11:25:15 AM
Old 11-02-2018
jgt:

1. Do you have netcat or if binary is available? .... "netcat: Command not found." and no I do not know if any binary's are available.
2. Could stop print service and manually edit? .... I kind of was looking for an automated process to determine what would print and what would get "dumped"
3. Unix release and binary compatible? .... Compaq Tru64 UNIX V5.1B (Rev. 2650) and I believe it is binary compatible (it has samba) but that may not be 100% accurate

gull04:

1. There is no GUI anywhere that I can find. It does not even seem to have xwindows. I am basically 100% CLI.
2. Yes, lpadmin is available to me.
3. Setup class for the printer....??? sorry, way over my head... please explain in more detail if you want me to follow
4. Modify filter file... Yeah, that was kind of what I was hoping to do. Copy and modify current filter file with something that would block print jobs that did not start with Manual.
5. Absolutely no worries about being a little rusty.... I have no experience at all and this is soooo ancient I had many problems finding any information at all on it. Any help you can offer or light you can shed is more than greatly appreciated.

FYI: This machine is currently being used in a production environment so any changes made need to be small and minor with little impact to the system.

Last edited by Ken_Snauffer; 11-02-2018 at 12:31 PM..
 

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
gnome-printinfo(1)						   User Commands						gnome-printinfo(1)

NAME
gnome-printinfo - GNOME print manager SYNOPSIS
gnome-printinfo [--default] [--edit] [--printer=printer] [--open=printer] [--edit-path=default-source-file] [gnome-std-options] DESCRIPTION
The GNOME Print Manager application enables you to control and manage printers and print jobs. You can use GNOME Print Manager to perform the following tasks: o Detect existing printers o Choose which printer to use for different documents o View a list of the print jobs that are queued on each printer o Cancel print jobs that are queued OPTIONS
The following options are supported: -d, --default Shows the printer queue for the default printer only. -e, --edit Allows the superuser to edit the default label, icon and description of printers, for the current LANG setting. --edit-path=default-source-file Allows the superuser to edit the printer default settings for the GConf source specified. -o, --open=printer Opens the printer queue window for the specified printer. -p, --printer=printer Shows the printer queue window for the specified printeronly. gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5). EXAMPLES
Example 1: Launching GNOME Print Manager to show the default printer only: example% gnome-printinfo -d Example 2: Launching GNOME Print Manager to show printer "prn004001": example% gnome-printinfo -p prn004001 ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables: REQ_DIR Used to store print requests. If not set, defaults to /var/spool/lp/requests/%s/ TMP_DIR Used to store local print jobs. If not set, defaults to /var/spool/lp/tmp LANG Current language setting. DEF_PRN Current default printer. PRINTER Current printer. LPDEST Destination printer for lp. EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gnome-printinfo Executable for GNOME print manager ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-print | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
GNOME Print Manager Manual Latest version of the GNOME Desktop User Guide for your platform. lp(1), lp(7D), cancel(1), enable(1), lpq(1B), lpr(1B), lprm(1B), lpstat(1), postprint(1), pr(1), stty(1), accept(1M), lpadmin(1M), lpfil- ter(1M), lpforms(1M), lpmove(1M), lpsched(1M), lpshut(1M), lpsystem(1M), lpusers(1M), printers(4), printers.conf(4), attributes(5), envi- ron(5), gnome-std-options(5) NOTES
Written by Matt Keenan, Sun Microsystems Inc., 2003, 2006. SunOS 5.11 2 Oct 2003 gnome-printinfo(1)
All times are GMT -4. The time now is 10:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy