"Dennis Lee Bieber" wrote in message
news:mailman.1021.1263702437.28905.python-l...@python.org...
On Sat, 16 Jan 2010 23:59:52 GMT, "bartc" declaimed
the following in gmane.comp.python.general:
My point was these other control codes from over 30 years ago are still
in
use today, so why no
Grant Edwards writes:
> FF still works with a lot of things. Most ASCII printers still
> honor it, as do pagers and programs like a2ps. I still use it
> in ASCII text files...
Yes. It's especially useful for making large sectional structure in a
text file — for example, program source code — t
On 2010-01-16, Nobody wrote:
> On Fri, 15 Jan 2010 10:42:43 -0800, W. eWatson wrote:
>
>> I thought I'd put a page break, chr(12), character in a txt file I wrote
>> to skip to the top of the page. It doesn't work. Comments?
>
> The 1970's are over, and neither Notepad nor your printer attempts t
"Steve Holden" wrote in message
news:mailman.1007.1263682208.28905.python-l...@python.org...
bartc wrote:
"Nobody" wrote in message
news:pan.2010.01.16.04.24.18.437...@nowhere.com...
On Fri, 15 Jan 2010 10:42:43 -0800, W. eWatson wrote:
I thought I'd put a page break, chr(12), character i
bartc wrote:
>
> "Nobody" wrote in message
> news:pan.2010.01.16.04.24.18.437...@nowhere.com...
>> On Fri, 15 Jan 2010 10:42:43 -0800, W. eWatson wrote:
>>
>>> I thought I'd put a page break, chr(12), character in a txt file I wrote
>>> to skip to the top of the page. It doesn't work. Comments?
>
Lie Ryan wrote:
> On 01/17/10 02:37, W. eWatson wrote:
>> D'Arcy J.M. Cain wrote:
>>> On Fri, 15 Jan 2010 20:17:35 -0800
>>> "W. eWatson" wrote:
Could be, but I have no way of easily knowing. In any case, I was
trying to write a simple report that could be printed with titles at
the
John Yeung wrote:
In another response, Tim Chase suggested creating an RTF file instead
of plain text. I think this is your best bet if your goal is to get
page breaks with the least amount of additional effort.
The package he's probably referring to is PyRTF. I took a quick look
at it and in
"Nobody" wrote in message
news:pan.2010.01.16.04.24.18.437...@nowhere.com...
On Fri, 15 Jan 2010 10:42:43 -0800, W. eWatson wrote:
I thought I'd put a page break, chr(12), character in a txt file I wrote
to skip to the top of the page. It doesn't work. Comments?
The 1970's are over, and ne
On Jan 15, 7:40 pm, "W. eWatson" wrote:
> I am writing a txt file. It's up to the user to print
> it using Notepad or some other tool.
In another response, Tim Chase suggested creating an RTF file instead
of plain text. I think this is your best bet if your goal is to get
page breaks with the le
On 01/17/10 02:37, W. eWatson wrote:
> D'Arcy J.M. Cain wrote:
>> On Fri, 15 Jan 2010 20:17:35 -0800
>> "W. eWatson" wrote:
>>> Could be, but I have no way of easily knowing. In any case, I was
>>> trying to write a simple report that could be printed with titles at
>>> the top of each page. If th
W. eWatson wrote:
I am writing a txt file. It's up to the user to print it using
Notepad or some other tool. I have no idea how to send it
directly to the printer, but I really don't want to furnish
that capability in the program. From Google, The Graphics
Device Interface (GDI).
If you're wri
D'Arcy J.M. Cain wrote:
On Fri, 15 Jan 2010 20:17:35 -0800
"W. eWatson" wrote:
Could be, but I have no way of easily knowing. In any case, I was trying
to write a simple report that could be printed with titles at the top of
each page. If there's another "common" format that I can write in to
On Fri, 15 Jan 2010 20:17:35 -0800
"W. eWatson" wrote:
> Could be, but I have no way of easily knowing. In any case, I was trying
> to write a simple report that could be printed with titles at the top of
> each page. If there's another "common" format that I can write in to
> produce the file,
Neil Hodgson wrote:
W. eWatson wrote:
I am writing a txt file. It's up to the user to print it using Notepad
or some other tool.
WordPad will interpret chr(12) as you want.
Neil
That may be the solution. Just tell the end user to copy the file into
it, and print it there.
I just
On Fri, 15 Jan 2010 10:42:43 -0800, W. eWatson wrote:
> I thought I'd put a page break, chr(12), character in a txt file I wrote
> to skip to the top of the page. It doesn't work. Comments?
The 1970's are over, and neither Notepad nor your printer attempts to
maintain compatibility with a Telety
Mensanator wrote:
On Jan 15, 6:40 pm, "W. eWatson" wrote:
Tim Chase wrote:
W. eWatson wrote:
Tim Chase wrote:
...
program. From Google, The Graphics Device Interface (GDI).
Have you considered the possibility that your printer can't print
raw text files? I had one that would ONLY print Po
W. eWatson wrote:
> I am writing a txt file. It's up to the user to print it using Notepad
> or some other tool.
WordPad will interpret chr(12) as you want.
Neil
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 15, 6:40 pm, "W. eWatson" wrote:
> Tim Chase wrote:
> > W. eWatson wrote:
> >> Tim Chase wrote:
> >>> The pseudo-pipeline comparison would be
>
> >>> type file.txt > lpt1:
>
> >>> which would send the raw text file to the printer (assuming it's set
> >>> up on LPT1, otherwise, use whateve
Tim Chase wrote:
W. eWatson wrote:
Tim Chase wrote:
The pseudo-pipeline comparison would be
type file.txt > lpt1:
which would send the raw text file to the printer (assuming it's set
up on LPT1, otherwise, use whatever port it's attached to in your
printer control panel); or are you using
W. eWatson wrote:
Tim Chase wrote:
The pseudo-pipeline comparison would be
type file.txt > lpt1:
which would send the raw text file to the printer (assuming it's set up
on LPT1, otherwise, use whatever port it's attached to in your printer
control panel); or are you using something like
Tim Chase wrote:
W. eWatson wrote:
Grant Edwards wrote:
On 2010-01-15, W. eWatson wrote:
I thought I'd put a page break, chr(12), character in a txt
file I wrote to skip to the top of the page. It doesn't work.
Comments?
Yes, it does work.
Apparently not with with my Brother 1440 laser pri
W. eWatson wrote:
Grant Edwards wrote:
On 2010-01-15, W. eWatson wrote:
I thought I'd put a page break, chr(12), character in a txt
file I wrote to skip to the top of the page. It doesn't work.
Comments?
Yes, it does work.
Apparently not with with my Brother 1440 laser printer. The characte
Grant Edwards wrote:
On 2010-01-15, W. eWatson wrote:
I thought I'd put a page break, chr(12), character in a txt
file I wrote to skip to the top of the page. It doesn't work.
Comments?
Yes, it does work.
Apparently not with with my Brother 1440 laser printer. The character in
NotePad.txt
On 2010-01-15, W. eWatson wrote:
> I thought I'd put a page break, chr(12), character in a txt
> file I wrote to skip to the top of the page. It doesn't work.
> Comments?
Yes, it does work.
--
Grant Edwards grante Yow! ... bleakness
"W. eWatson" wrote:
> I thought I'd put a page break, chr(12), character in a txt file I wrote
> to skip to the top of the page. It doesn't work. Comments?
>
Did you intend to ask a question? If so you might like to read
http://catb.org/~esr/faqs/smart-questions.html first.
--
http://mail.pyt
I thought I'd put a page break, chr(12), character in a txt file I wrote
to skip to the top of the page. It doesn't work. Comments?
--
http://mail.python.org/mailman/listinfo/python-list
26 matches
Mail list logo