Sponsored Content
Full Discussion: HP-UX lp spooling places
Top Forums UNIX for Advanced & Expert Users HP-UX lp spooling places Post 19381 by doeboy on Wednesday 10th of April 2002 12:21:14 PM
Old 04-10-2002
The man pages for lpstat don't tell me much...

I thought /etc/lp/interface contains the model scripts for the defined printers and isn't a spooling directory.

All I see in /etc/lp/interface/ is model scripts...

Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Spooling a log file with timestamp

Hi From shell script i am invoking sqlplus to connect to oracle database and then i spool a csv file as with output. What i want to do is to change the file name with timestamp on it so after spooling finish shell script change file name with time stamp. can someone help me to do that . Thanks... (2 Replies)
Discussion started by: ukadmin
2 Replies

2. Shell Programming and Scripting

spooling

hi, can anyone help me with spool command.. i want to spool a file.. i am getting the output of an sql query into a file in the unix environment.. i want to spool the contents of this file to create a .lst file.. as of now, i am giving it like - sql.sql : spool on select... (4 Replies)
Discussion started by: kripssmart
4 Replies

3. Shell Programming and Scripting

spooling through shell script

Hi, I want to spool the output from a .sql file to a .txt file through shell script. the contents of .sql are: spool /arboru02/scripts/customer_profile_def.txt select profile_id ||','|| account_no from customer_profile_def; spool off exit and shell scrip is like: #!/bin/sh... (9 Replies)
Discussion started by: ss_ss
9 Replies

4. Red Hat

Print Spooling using raw port 9100

Hello all, I need to setup a print server that listens on three separate network interfaces, and sends jobs to the corresponding print queue. Example: 192.168.69.100 - printer1 -> Out to 139.177.69.100:9100 192.168.69.101 - printer2 -> Out to 139.177.69.101:9100 192.168.69.102 - printer2 ->... (3 Replies)
Discussion started by: ZekesGarage
3 Replies

5. UNIX for Dummies Questions & Answers

Creating a Tar file while files are spooling

Hi I have done a search for this but couldn't find much on it. I am creating a tar file with the command below tar cvf /export/home/user/backup/*Will this is being created I have a job spooling to 5 texts files in the following directory /export/home/user/backup/STATS/ The tar files... (1 Reply)
Discussion started by: sgarvan
1 Replies

6. Shell Programming and Scripting

Spooling file to excel

Hi , Im spooling file from oracle to csv using shell script. Below is the code im using.. The o/p is not coming in right format.. Please help me out in this.. O/p is coming as header till batch id ,im not able to see date_stored,type,type1.. Please any one can give me some suggestion ... (1 Reply)
Discussion started by: jkumsi
1 Replies

7. Shell Programming and Scripting

Script not spooling in result file

Hi everyone and nice to meet you :) I'm having some issues with a script I'm writing. It's probably most chaotic, I'm no ksh guru, but the idea is to extract an ID with that query, spool it into a file, and read that file making the ID a variable. This has to be done for every row extracted by... (10 Replies)
Discussion started by: Arkadia
10 Replies

8. Shell Programming and Scripting

Error during spooling

Hi, I am extracting the records of a table from oracle into a csv file using spool command in unix script. I retrieve the error message as msgcnt 18512 vxfs: mesg 001: vx_nospace - /dev/vg02/lvol12 file system full (1 block extent) How to resolve it ? (4 Replies)
Discussion started by: sabural
4 Replies

9. Shell Programming and Scripting

Sum the fields with 6 decimal places - getting only 2 decimal places as output

I used the below script to Sum up a field in a file based on some unique values. But the problem is when it is summing up the units, it is truncating to 2 decimals and not 6 decimals as in the input file (Input file has the units with up to 6 Decimals – Sample data below, when the units in the 2... (4 Replies)
Discussion started by: brlsubbu
4 Replies

10. UNIX for Beginners Questions & Answers

Script not spooling in the designated file.

Hi, I need to write a script that will run a simple select count(*) query and sends the result of that query to me via email. Here's what I already have. #!/bin/ksh ###################################################################### # File Name : counts.sh # Created : 2019/27/19... (1 Reply)
Discussion started by: clef
1 Replies
setnetlp(1M)															      setnetlp(1M)

NAME
setnetlp - configure the LP spooling system for network printers SYNOPSIS
/usr/sbin/setnetlp /usr/sbin/setnetlp -p printer [options] /usr/sbin/setnetlp -x printer DESCRIPTION
The command configures network printers in the LP spooling systems with specified printer model interface file. It is used to add and remove specified printer that is referred as a LP destinations, change configuration of the printer if the printer exists. Network printers that support lpd protocol or JetDirect interface can be configured by The command is a shell procedure. It calls lpad- min(1M) command for lpd printer configuration. It may also call addqueue(1) and removequeue(1) commands for configuring printers with Jet- Direct interface when the optional software HP JetDirect Printer Installer for Unix is installed on the system. Exactly one of the -p, -x options or no options must be present for every legal invocation of -p printer Names a printer to which all of the options below refer. If printer does not exist, it will be created. -x printer Removes the printer from the LP spooling system. The printer is a LP destination configured in the LP spooling sys- tem. No other options are allowed with -x. The following options are required for -p and can appear in any order. -orm machine The name of the remote machine or IP address of the network printer is machine. -om model This option selects a printer model interface program for printer. The model is one of the model file name at /usr/lib/lp/model/* supplied with the LP software or generated by psmsgen(1M). Refer to lpadmin(1M) Models for details. One and only one of the following options is required for -p and can appear in any order. -orp rprinter The name of the remote printer queue that has configured on the remote machine is rprinter. This option is required to configure lpd printer and can not be used with -jd option. -jd When this option is specified, configures the printer using commands provided by HP JetDirect Printer Install- er for Unix Interactive terminal user interface (TUI) will be invoked when is invoked without any options. At the TUI, values of all options described above can be set. In addition, for some printer model, defaults of model interface options also can be customized. When HP JetDi- rect Printer Installer for Unix is available on the system, some recommended initial values for options may be provided for some printer model. The model customization support feature by is available only for TUI. No customization is performed by non-interactive invocation of To customize model options for a printer without the TUI, pre-customized model file needs to be generated before running for configuring the printer. EXAMPLES
Assuming a LIPS printer supported lpd protocol on a network as remote printer host name lphost and remote printer name lipslp the command: /usr/sbin/setnetlp -p netlp -orm lphost -orp lipslp -om LIPS4 causes the spool system to use the local printer netlp and the local model file LIPS4. FILES
SEE ALSO
lpadmin(1M), addqueue(1), removequeue(1), psmsgen(1M) setnetlp(1M)
All times are GMT -4. The time now is 05:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy