gedit fails to obey page breaks when printing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gedit |
Confirmed
|
Wishlist
|
|||
gedit (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
I am attempting to use gedit to spool the printout from a legacy program to an ink jet printer.
The file is in ASCII, with a form feed character defining each page.
Gedit displays the form feed as a box with the hexadecimal value 000C in it.
This is all good.
When I select "print" from the gedit menu, it sends the text to the printer neatly formatted with
a header and page numbering of its own.
This is also acceptable.
When the legacy program created the text, it determined that additional information should appear
an a new form, so it wanted to eject the nearly full form, and begin the next block of information
beneath a new header. It emitted a form feed to produce that effect.
Gedit happily creates a graphic box with 000C in it, prints the box, and proceeds to print the legacy
header (which says "page 2" on it) on the bottom of page One. When it runs out of paper, it
prints its Page 2 header, continues to print the legacy second page, a 000C box, and the header for
the legacy "page 3" and part of page three until it runs out of paper again, and so forth.
Unicode 000C is defined as a white space control character, as are carriage return and line feed.
You don't print them, you obey them. Do the same for form feed. Be kind to old programs and old
programmers. If my C program contains a "printf" statement with a "\f" in it, give me a new sheet
of paper on the printout. That way your page 2 will also be my page 2 and the printout will appear
pretty much like the programmer (myself in a previous millennium) intended.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gedit 3.2.1-0ubuntu2
ProcVersionSign
Uname: Linux 3.0.0-13-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Dec 13 16:35:03 2011
ExecutablePath: /usr/bin/gedit
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in gedit: | |
importance: | Unknown → Wishlist |
status: | Unknown → New |
Changed in gedit (Ubuntu): | |
status: | New → Triaged |
Changed in gedit: | |
status: | New → Invalid |
Changed in gedit: | |
importance: | Wishlist → Unknown |
status: | Invalid → Unknown |
Changed in gedit: | |
importance: | Unknown → Wishlist |
status: | Unknown → Confirmed |
Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https:/ /wiki.ubuntu. com/Bugs/ Upstream/ GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.