10-22-2007
A solution...
To answer my question...
I found a way by using a filter script. You can set up a filter script with "lpfilter" and then make a print queue, with "lpadmin", that uses the filter. In the filter script it is possible to copy, move, convert, ftp, etc... the files that arrive in the print spool.
I am sure I could also have done it with an interface script...
If anyone has any better ideas they are welcome to add them.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All
Does anyone know what is meant by PRINTER STATUS CONNECT concerning print queues?
At work we run a Perle/Connectix JetStream 8500 (RJ45 Model) to connect our dot matrix printers and often we get the Connect Status.
Nobody I speak to knows what the status means. When the printer... (0 Replies)
Discussion started by: nickbungus
0 Replies
2. UNIX for Dummies Questions & Answers
I have a problem with a print queue that keeps going down on me every couple of days. When it happens I run an 'enable' and all is fine for a few more days.
Can anyone can tell me where to start looking to debug this problem as i am new to UNIX
Thanx (1 Reply)
Discussion started by: carell
1 Replies
3. AIX
I have setup a printer and queue using SMIT and I have set the default tray to 4. What I am trying to find out is if there is a way to set the next tray it trys to use if tray 4 is empty to tray 3, then tray 2, then tray 1. (0 Replies)
Discussion started by: chefsride
0 Replies
4. UNIX for Dummies Questions & Answers
I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (1 Reply)
Discussion started by: Sean_69
1 Replies
5. Shell Programming and Scripting
I am very new to scripting could use some assistance polishing up my script. I have had issues with a print queue going down and needing some TLC to get it going again, however currently I have to wait for a user to complain about the issue. I have written a little script to monitor the print queue... (0 Replies)
Discussion started by: tdiYUZER
0 Replies
6. Shell Programming and Scripting
Hi Guys,
I am new to this forum. i need your help. I am trying to wirte a script for queue monitoring under aix.I would like to get status of each queue and number of jobs on each queue.Can you please guide me?. Thanks,
Sag (3 Replies)
Discussion started by: shahbaz430
3 Replies
7. Shell Programming and Scripting
Hi,
I have one queue that have status QUEUE and 10 jobs are waiting.Can any one guide me how i can get total number of jobs on this queue.i can see 10 jobs but i need to get count 10 for this queue.Please help me out thanks in advance
sagii (2 Replies)
Discussion started by: sagii
2 Replies
8. Shell Programming and Scripting
Hi,
i m having problem to get number of jobs waiting using lpstat.my printer is out of paper and 10jobs are in queue but i run lpstat -pqname it didnt show any thing.any one have idea whats wrong here. thanks
sagii (2 Replies)
Discussion started by: sagii
2 Replies
9. UNIX for Advanced & Expert Users
Hello,
Sometimes i need to clear all the jobs of a print queue and it is really annoying to cancel one by one.
Is there a way to cancel all print jobs for a specific print queue with a single command instead of cancelling them one by one?
My AIX system is 5.3
Thank you for your attention (2 Replies)
Discussion started by: omonoiatis9
2 Replies
10. AIX
I am using AIX 5.
Just swapped over an HP printer.
The old printer was on a JetDirect box. The new printer connects directly to the network. Using the same IP address to print to, so the only alteration I made was to edit the etc/qconfig file to alter the port setting from 9103 to 9100. I can... (2 Replies)
Discussion started by: charding
2 Replies
LEARN ABOUT OPENSOLARIS
gnome-printinfo
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)