On Tue, 05 Jan 2010 11:40:25 -0800, KvS wrote:
>> "Hardcopy" document formats such as PostScript and PDF use positions
>> relative to the edges of the page, not the margins.
>
> Right. Still, Acrobat Reader by default scales the contents to fit on
> a page and creates some margins by doing so, no
If this is, by any chance, an HP printer, the printer may support PCL
5 (or a similar language). I've written PCL scripts (in Pascal, so a
while ago) to precisely print points at the printer resolution (i.e.,
I picked which six-hundredth of an inch in height and width dimensions
to print a dot. PC
On Jan 5, 11:40 am, KvS wrote:
> On Jan 5, 7:16 pm, Nobody wrote:
>
>
>
> > On Tue, 05 Jan 2010 04:40:14 -0800, KvS wrote:
> > >> Did you mean borderless printing?
> > >> Every printer needs his margins, some more some less. Some printers have
> > >> the
> > >> ability to do borderless printing
On Jan 5, 7:16 pm, Nobody wrote:
> On Tue, 05 Jan 2010 04:40:14 -0800, KvS wrote:
> >> Did you mean borderless printing?
> >> Every printer needs his margins, some more some less. Some printers have
> >> the
> >> ability to do borderless printing but usualy they can do it only on special
> >> or
KvS wrote:
Ok, actually I quite like being able to print straightforward through
your code, i.e. without any extra modules installed. I understand that
sending text to the printer is in principle as simple as
dc.TextOut(scale_factor * 72,
-1 * scale_factor * 72,
"Testing...")
I didn't s
KvS wrote:
Sorry, one more. I completely forgot it's not exactly plain text, but
occasionally also a limited number of non-ASCII characters (accents in
names etc.). Would this be possible through your method?
If Windows can print it, then MSWinPrint.py should be able to also.
But I haven't tes
On Tue, 05 Jan 2010 04:40:14 -0800, KvS wrote:
>> Did you mean borderless printing?
>> Every printer needs his margins, some more some less. Some printers have the
>> ability to do borderless printing but usualy they can do it only on special
>> or photo paper. So you can adjust the pdf as you wis
On Jan 5, 12:56 pm, Chris Gonnerman
wrote:
> KvS wrote:
> > ... can I adjust the options normally appearing in
> > the Printing Dialog through Python?
>
> Yes, if you use my method or my module, as I gave in my previous post.
> If you use Adobe Reader to print, I'm not sure how to automate the p
On Jan 5, 12:56 pm, Chris Gonnerman
wrote:
> KvS wrote:
> > ... can I adjust the options normally appearing in
> > the Printing Dialog through Python?
>
> Yes, if you use my method or my module, as I gave in my previous post.
> If you use Adobe Reader to print, I'm not sure how to automate the p
On Jan 5, 12:56 pm, Chris Gonnerman
wrote:
> KvS wrote:
> > ... can I adjust the options normally appearing in
> > the Printing Dialog through Python?
>
> Yes, if you use my method or my module, as I gave in my previous post.
> If you use Adobe Reader to print, I'm not sure how to automate the p
Did you mean borderless printing?
Every printer needs his margins, some more some less. Some printers have the
ability to do borderless printing but usualy they can do it only on special
or photo paper. So you can adjust the pdf as you wish, even with no margins,
and then try to find under prin
KvS wrote:
... can I adjust the options normally appearing in
the Printing Dialog through Python?
Yes, if you use my method or my module, as I gave in my previous post.
If you use Adobe Reader to print, I'm not sure how to automate the print
settings.
--
http://mail.python.org/mailman/list
On Jan 5, 9:21 am, "alejandro" wrote:
> Did you mean borderless printing?
> Every printer needs his margins, some more some less. Some printers have the
> ability to do borderless printing but usualy they can do it only on special
> or photo paper. So you can adjust the pdf as you wish, even with
KvS wrote:
So now I'm looking for other ways to get this printing job done. I
know of Tim Goldens page about Windows printing:
http://timgolden.me.uk/python/win32_how_do_i/print.html and have been
googling a lot, but I'm still not convinced what the best way to go
is. E.g. I can't get clear wheth
I think the easyest way for printing text is with ReportLab. Just few lines
of code and you have a nice pdf...
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 5, 1:01 am, "alejandro" wrote:
> Don't remember much.. but maybe you could play with canvas?
> I think i don't undertand(i am a croatian so english is not my mother
> language). If you have the need that the pdf and the printer setup have lets
> say the same paper size, sorry but can't help
Don't remember much.. but maybe you could play with canvas?
I think i don't undertand(i am a croatian so english is not my mother
language). If you have the need that the pdf and the printer setup have lets
say the same paper size, sorry but can't help.
If you want lets say different printer marg
On Jan 4, 11:58 pm, "alejandro" wrote:
> I think the easyest way for printing text is with ReportLab. Just few lines
> of code and you have a nice pdf...
Ok, thanks. In that scenario I would also need to be able to
programatically adjust the printing margins in Acrobat reader, i.e.
automate it to
Dear all,
for a python program running on Win XP that is used to produce
invoices I need to be able to have the printer print a page with just
plain text, but positioned (almost) exactly at prescribed places (due
to the use of 'pre formatted' invoice forms). In particular as close
to the left and
19 matches
Mail list logo