Insert FF (feed form) in text file so that when printing the printer print on a new page accordingly
Hello.
First happy new year to everybody.
I have a script that generate a text file ( /tmp/part_list.txt for example ).
This file can be edited using a kde graphical text editor like kate or kwrite
The file can be printed out from command line or within the text editor using the print option menu.
Now I would like to add the code so that when printing the file "/tmp/part_list.txt" the printer change page after each device
Something like that :
And then the file "/tmp/part_list.txt" contains some thing like :
Hi,
I've a text file that has a formfeed character at the beginning.
I want to get rid of this formfeed character using sed.
But I don't know how to specify the formfeed character.
I've tried \014 (octal for formfeed), \f but still not works.
Regards,
Johnny (5 Replies)
I connected a serial printer to my scoOpenServer which works great. I was able to disable the banner in the interface of the printer. However i am unable to find the command in the interface to disable the formfeed . Below is a copy of the interface file. Please can anyone instruct me on how to... (0 Replies)
Hi, does anyone knows how to give the page feed command to Printer in troff.
Actually I want to implement the functionality where I'll print say 10 pages and I want user to stop printer at 5th page to do manual feed by user .... (2 Replies)
Hi
I have a file with lots of line feeds and form feeds (page break). Need to replace last occurrence of form feed (created by - echo "\f" ) in the file with line feed.
Please advise how can i achieve this.
TIA
Prvn (5 Replies)
Guy's
I have installed AIX direct Network printer as the below details....
printer1 hp@printer1 hplj-3 (HP-GL/2)
Printer is printing fain and clearly
but it's printing extra blank page after each print ?
What's the couse of this problem ?
Pls advice ! (6 Replies)
Hi,
I am new to printing with Unix (AIX on HP).
I am printing from a COBOL program.
On our test system the page prints and does a Form Feed to the next page. This is good.
When I release the program to our customer it prints the page but waits 5 or more seconds before doing a page... (11 Replies)
Hello!!!
I am using shell script that print some formated text on the screen (example)
========
hello I am ...
========
Is it possible to print this information to the printer exactly as I see it on the screen??? (6 Replies)
We have configured Network printers in AIX 6.1. We are facing a Weird problem in Printing. While printing the user is getting a blank page after 2 pages.
Please let us know the cause of this issue and ways to rectify it.
If this is problem with banner/feeds how to view the default banner... (1 Reply)
OS: Slackwar 13.37
Printer: hpDeskjet 1000 j110
Printer Drivers/Software: HPLIP 3.11.3a (min was 3.10.9) and Cups
The printer will print the first of n-pages but from page 2 on it prints the page (or part of it) backs up and starts again down about 0.8 lines and does this repeatedly till the... (2 Replies)
In a python script I have 2 files printing side by side on the same line. I want to have 1 of the files to be already displayed at once while the other file print down the list in the file and it still will produce new lines. I want to do it like that to reduce printing a lot of lines and... (0 Replies)
Discussion started by: bigvito19
0 Replies
LEARN ABOUT SUNOS
gnome-text-editor
gedit(1) User Commands gedit(1)NAME
gnome-text-editor, gedit - Limited functionality text editor for the GNOME desktop.
SYNOPSIS
gnome-text-editor [--debug [-section]] [gnome-std-options] [--help] [--new-document] [--new-window] [--quit] [filename]
gedit [--debug [-section]] [gnome-std-options] [--help] [--new-document] [--new-window] [--quit] [filename]
DESCRIPTION
The gnome-text-editor application is a text editor for the GNOME desktop. The application is also called gedit. You can use gedit as a
shorter command to start the application. The application enables you to edit multiple documents at the same time. Each document resides in
a specific tabbed section of the application window.
When you start the application from the command line, you can specify one or more filenames. When gedit starts, the application opens all
files that you list on the command line.
OPTIONS
The following options are supported:
--debug [-section] Run gedit in debug mode. In debug mode all the functions that are being called dump the function names to the con-
sole. You can specify the following sections for debugging:
o window
o commands
o document
o file
o plugins
o prefs
o print
o search
o undo
o view
o recent
Run gedit --help for more information.
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
--help Print the command line options.
--new-document Create a new top-level document or tabbed section in an existing instance of gedit.
--new-window Create a new top-level window in an existing instance of gedit.
--quit Quit an existing instance of gedit.
EXTENDED DESCRIPTION
The gedit application accepts pipes, so you can specify a pipe after another command, to load the output of the command into gedit. For
example:
example% ls -l | gedit
EXAMPLES
Example 1: To Edit an ASCII File Named document.txt
example% gedit document.txt
Example 2: To Add a New Tab That Contains an ASCII File Named book.txt
example% gedit --new-document book.txt
Example 3: To Add a New Top-Level Window That Contains an ASCII File Named testfile.txt
example% gedit --new-window testfile.txt
EXIT STATUS
The following exit values are returned:
0 Application exited successfully.
>0 An error occurred.
FILES
The following files are used by this application:
/usr/bin/gnome-text-editor
The executable file for the gnome-text-editor application.
/usr/bin/gedit
A symbolic link to the gnome-text-editor executable file.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-text-editor |
+-----------------------------+-----------------------------+
| | |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO gnome-std-options(5), libgtksourceview-1.0(3)
Online Help gedit manual.
NOTES
This man page was written by the following people: Paolo Maggi, Chema Celorio, James Willcox, Federico Mena Quintero.
Updated by Brian Cameron, Sun Microsystems Inc., 2003, 2004.
SunOS 5.10 31 Aug 2004 gedit(1)