Sponsored Content
Operating Systems HP-UX [Solved] a way to tell printer used by configured print queue? Post 302651689 by vbe on Wednesday 6th of June 2012 04:42:35 AM
Old 06-06-2012
What OS version / platform ?
Is /etc/lp/interface/ (HPUX11.11 parisc...) what you are looking for?

e.g.
Code:
ant:/etc/lp/interface $ ll
total 270
drwxr-xr-x   3 lp         bin           1024 Nov 19  2008 .
drwxr-xr-x   8 lp         bin           1024 Nov 19  2008 ..
-rwxr-xr-x   1 lp         lp           11534 Nov 11  2008 LJ_3b1
-rwxr-xr-x   1 lp         lp           11535 Nov 11  2008 LJcolor
-rwxr-xr-x   1 lp         bin          11555 Nov 19  2008 cm6040
-rwxr-xr-x   1 lp         lp           11531 Nov 11  2008 lp0
-rwxr-xr-x   1 lp         lp           11531 Nov 11  2008 lp3
-rwxr-xr-x   1 lp         lp           11531 Nov 11  2008 lp8
-rwxr-xr-x   1 lp         lp           11531 Nov 11  2008 lp9
-rwxr-xr-x   1 lp         lp           11540 Nov 11  2008 lpdgas
-rwxr-xr-x   1 lp         lp           11542 Nov 11  2008 lpjtest
-rwxr-xr-x   1 lp         lp           11541 Nov 11  2008 lpvbe
drwxr-xr-x   2 lp         bin           1024 Nov 19  2008 model.orig
ant:/etc/lp/interface $ grep PRINTER lpvbe
PRINTERCFG=/opt/hpnpl/admin/printers/257.cfg


Last edited by vbe; 06-06-2012 at 05:47 AM..
This User Gave Thanks to vbe For This Post:
 

10 More Discussions You Might Find Interesting

1. AIX

Can you set up a networked printer as a local print queue?

Fairly simple question, I think. Still trying to get my head around AIX print queues. Most of our problems seem to stem from print queues going down. This generates help-desk calls when users call up to get their queues started or to get rid of the emails that qdaemon sends them. Looking at... (0 Replies)
Discussion started by: alexop
0 Replies

2. AIX

Printer Queue not getting created

When I try to create first print queue in this system with the command line argument, find the output also... # /usr/lib/lpd/pio/etc/piomkjetd mkpq_jetdirect -p 'generic' -D pcl -q 'AR06_Workcenter_32' -h 'AR06_Workcenter_32' -x '9100' 0782-606 /usr/lib/lpd/pio/etc/piomgpdev: Error 'A file or... (1 Reply)
Discussion started by: giribt
1 Replies

3. AIX

Check printer queue on Windows printer server

Hello Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running. I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies

4. AIX

Problem with Queue of the Printer

Guy's This is the Queue of the printer ... >lpstat -pTOPPRINTER Queue Dev Status Job Files User PP % Blks Cp Rnk ------- ----- --------- --- ------------------ ---------- ---- -- ----- --- --- TOPPRIN @TOPP DOWN QUEUED ... (1 Reply)
Discussion started by: ITHelper
1 Replies

5. HP-UX

[Solved] Problem creating print queue HP-UX -to- HP4100N

Hi all, I am new to HP-UX, using SAM I cannot make a print queue on my test server. From my test & live server as the user required and as root I can ping my printer. I have tried to clone the test print queue using the exact same options use on my live system that prints just fine. Can anyone... (9 Replies)
Discussion started by: KmJohnson
9 Replies

6. Shell Programming and Scripting

print all configured nics in one line with awk?

Hi all: I need to print all configured nics in one line with "|" separating them. So I use netstat -i since it don't mess with subinterfaces (work like I want) so with + cut + tail I get rid of the superfluous data netstat -i |cut -f 1 -d" " |tail +3 this gaves me e1000g1 e1000g2 Then ... (4 Replies)
Discussion started by: rbadillarx
4 Replies

7. UNIX for Advanced & Expert Users

[Solved] remove all print jobs from a print queue

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

8. AIX

Get details of the existing configured printer

I need to get the domain under which a printer is configured in an AIX machine. I have the IP address of the printer. Could you please help me with that? (3 Replies)
Discussion started by: Pandee
3 Replies

9. UNIX for Dummies Questions & Answers

Printer queue not clearing

Hi I have installed an HP X451dw printer on our network and want to print from Sco Openserver v6 The printer produces correct output but then repeats until the queue is manually stopped. :confused: It is using a netcat/dumb interface Any advice on how to persuade it to only print once... (5 Replies)
Discussion started by: David Holmes
5 Replies

10. UNIX for Beginners Questions & Answers

Remote print from SLES (SAP) to AIX 7.1 04 sp2 virtual printer queue gets down

Hello Administrators. I have a bit difficult problem. I have local virtual printer that has backend defined in /etc/qconf to script which in turns sends the spool to the real device. whenever I print locally (from sap) the print works as it should. The printer queue after the print is done... (6 Replies)
Discussion started by: Deneth
6 Replies
GZEXE(1)						      General Commands Manual							  GZEXE(1)

NAME
gzexe - compress executable files in place SYNOPSIS
gzexe name ... DESCRIPTION
The gzexe utility allows you to compress executables in place and have them automatically uncompress and execute when you run them (at a penalty in performance). For example if you execute ``gzexe /usr/bin/gdb'' it will create the following two files: -rwxr-xr-x 1 root root 1026675 Jun 7 13:53 /usr/bin/gdb -rwxr-xr-x 1 root root 2304524 May 30 13:02 /usr/bin/gdb~ /usr/bin/gdb~ is the original file and /usr/bin/gdb is the self-uncompressing executable file. You can remove /usr/bin/gdb~ once you are sure that /usr/bin/gdb works properly. This utility is most useful on systems with very small disks. OPTIONS
-d Decompress the given executables instead of compressing them. SEE ALSO
gzip(1), znew(1), zmore(1), zcmp(1), zforce(1) CAVEATS
The compressed executable is a shell script. This may create some security holes. In particular, the compressed executable relies on the PATH environment variable to find gzip and some standard utilities (basename, chmod, ln, mkdir, mktemp, rm, sleep, and tail). BUGS
gzexe attempts to retain the original file attributes on the compressed executable, but you may have to fix them manually in some cases, using chmod or chown. GZEXE(1)
All times are GMT -4. The time now is 09:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy