Sponsored Content
Full Discussion: Formfeed after each file
Top Forums UNIX for Advanced & Expert Users Formfeed after each file Post 42622 by Perderabo on Friday 31st of October 2003 12:00:38 PM
Old 10-31-2003
Since we don't have a copy of your citoh file, we can't you exactly how to proceed. But what you want is very common and there is probably already a way to do it in the script. Look at the options... do you one called pageskip oo nopageskip or filebreak or nofilebreak or something like that? You shoild probably just be able to toggle the value.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

FormFeed BEFORE printing a job

I have a problem where my printer formfeeds a blank page prior to printing a job. Anyone know where I can turn this off? AIX O/S - RS-6000 (2 Replies)
Discussion started by: Docboyeee
2 Replies

2. UNIX for Advanced & Expert Users

lp FormFeed Escape characters

I'm trying to modify the /usr/lib/lp/model/netstandard file to generate a header for all the print jobs that are sent, but there is no formfeed defined so the the job prints right after the header with no page break. What is the sequence I need in order to generate a formfeed? Or, do you have... (4 Replies)
Discussion started by: jgordon
4 Replies

3. Solaris

formfeed problem

i am running an .sql script in sqlplus which is spooling in a file. but when i am opening the file using vi editor it is showing ^L in front of 1st,2nd and last line. when i am opening the file with cat this problem is not there. how to solve this problem? this above mentioned file is the input... (1 Reply)
Discussion started by: imppayel
1 Replies

4. Shell Programming and Scripting

Match list of strings in File A and compare with File B, C and write to a output file in CSV format

Hi Friends, I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving... File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies

5. Shell Programming and Scripting

Compare 2 text file with 1 column in each file and write mismatch data to 3rd file

Hi, I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file. File1 - file2 = file3 wc -l file1.txt 58112 wc -l file2.txt 55260 head -5 file1.txt 101214200123 101214700300 101250030067 101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies

6. Shell Programming and Scripting

sed or awk: delete n lines following a formfeed

Hi Members, This is my first post in this forum. I want to do is match form feed lines one by one in a file and delete the next n lines (ex-3 lines) with the form feed character Eg - Files looks like Data 1 Data 2 Data 3 FF Hdr1 Hdr2 Hdr3 Data4 Data5 FF Hdr1 Hdr2 Hdr3 (9 Replies)
Discussion started by: yohan
9 Replies

7. Shell Programming and Scripting

Shell script (sh file) logic to compare contents of one file with another file and output to file

Shell script logic Hi I have 2 input files like with file 1 content as (file1) "BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt File 2 contents as fle(2) "BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
lpstat(1)						      Easy Software Products							 lpstat(1)

NAME
lpstat - print cups status information SYNOPSIS
lpstat [ -E ] [ -a [ destination(s) ] ] [ -c [ class(es) ] [ -d ] [ -h server ] [ -l ] [ -o [ destination(s) ] ] [ -p [ printer(s) ] ] [ -r ] [ -R ] [ -s ] [ -t ] [ -u [ user(s) ] ] [ -v [ printer(s) ] [ -W [ which-jobs ] ] DESCRIPTION
lpstat displays status information about the current classes, jobs, and printers. When run with no arguments, lpstat will list jobs queued by the user. Other options include: -E Forces encryption when connecting to the server. -a [printer(s)] Shows the accepting state of printer queues. If no printers are specified then all printers are listed. -c [class(es)] Shows the printer classes and the printers that belong to them. If no classes are specified then all classes are listed. -d Shows the current default destination. -h server Specifies the CUPS server to communicate with. -l Shows a long listing of printers, classes, or jobs. -o [destination(s)] Shows the jobs queue on the specified destinations. If no destinations are specified all jobs are shown. -p [printer(s)] Shows the printers and whether or not they are enabled for printing. If no printers are specified then all printers are listed. -r Shows whether or not the CUPS server is running. -R Shows the ranking of print jobs. -s Shows a status summary, including the default destination, a list of classes and their member printers, and a list of printers and their associated devices. This is equivalent to using the "-d", "-c", and "-p" options. -t Shows all status information. This is equivalent to using the "-r", "-d", "-c", "-d", "-v", "-a", "-p", and "-o" options. -u [user(s)] Shows a list of print jobs queued by the specified users. If no users are specified, lists the jobs queued by the current user. -v [printer(s)] Shows the printers and what device they are attached to. If no printers are specified then all printers are listed. -W [which-jobs] Specifies which jobs to show, completed or not-completed (the default). COMPATIBILITY
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE and TAB. Also, printer and class names are not case-sensitive. The "-h" option is not a standard System V option. The Solaris "-f", "-P", and "-S" options are silently ignored. The "-W" option is unique to CUPS. SEE ALSO
cancel(1), lp(1), CUPS Software Users Manual, http://localhost:631/documentation.html COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved. 2 October 2002 Common UNIX Printing System lpstat(1)
All times are GMT -4. The time now is 04:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy