Printing Sideway...

View: New views
5 Messages — Rating Filter:   Alert me  

Printing Sideway...

by Ken G.-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It is possible to print letters sideway in Python?

Instead of printing from left to right on the long side of
a #10 envelope, I wish to print sideway, printing from the
left short edge of envelope to its right short edge.

Thanks,

Ken
_______________________________________________
Tutor maillist  -  Tutor@...
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Re: Printing Sideway...

by Bob Gailer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ken G. wrote:
> It is possible to print letters sideway in Python?

Python is a programming language, not a printer driver.

So this is not the best place to ask the question.

But tell us more -

  what OS? (Windows or what)
  what printer? (Make and model)
  what are you doing in Python to print the envelope now?

> Instead of printing from left to right on the long side of
> a #10 envelope, I wish to print sideway, printing from the
> left short edge of envelope to its right short edge.


--
Bob Gailer
Chapel Hill NC
919-636-4239
_______________________________________________
Tutor maillist  -  Tutor@...
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Parent Message unknown Re: Printing Sideway...

by Bob Gailer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please always reply-all so a copy goes to the list. I am ccing this to
the lists for you.

Ken G. wrote:
> I am using Ubuntu 9.04 as my primary OS.  I have Windows XP
> installed in the first partition (dual boot).  I have Python
> 2.6.2 installed on both OS.  The printer is a Cannon MX300.
> To print on the envelope, I use Windows Works v4.5 which is
> easy to use.  I just learned how to print via Open Office
> Writer 3.0.1 which took several hours to do properly.
>
> If it is not possible to print sideways, I understand.

That depends on the software (Windows Works / Open Office) and the printer.

How do you communicate from Python to these programs?
>
>>
>>> Instead of printing from left to right on the long side of
>>> a #10 envelope, I wish to print sideway, printing from the
>>> left short edge of envelope to its right short edge.
>>
>>
>


--
Bob Gailer
Chapel Hill NC
919-636-4239
_______________________________________________
Tutor maillist  -  Tutor@...
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Re: Printing Sideway...

by Alan Gauld :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> Ken G. wrote:
>> I am using Ubuntu 9.04 as my primary OS.  I have Windows XP
>> installed in the first partition (dual boot).  I have Python
>> 2.6.2 installed on both OS.  The printer is a Cannon MX300.
>> To print on the envelope, I use Windows Works v4.5 which is
>> easy to use.  I just learned how to print via Open Office
>> Writer 3.0.1 which took several hours to do properly.
>>
>> If it is not possible to print sideways, I understand.

It is possible but the solution has nothing to do with Python.
That is the point Bob is making. How you print sideways depends
on the printer driver, the application software you are using, and
the OS.

ON Unix you can print sideways by doing things like sending
print formatting codes through any of the print formatting programs
in Unix - groff being a good example. Or you could create an
HTML document containing your text and then print that via a browser.
Or you can format the output normally and then programmatically
set the printer driver options to print in a different orientation.

All of these could be done from Python or via manual intervention.

HTH,

--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@...
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Re: Printing Sideway...

by Ken G.-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Okay, thanks.  Understood.  It's not a big thing here.  Thought I would
ask.

Ken

Alan Gauld wrote:

>
>> Ken G. wrote:
>>> I am using Ubuntu 9.04 as my primary OS.  I have Windows XP
>>> installed in the first partition (dual boot).  I have Python
>>> 2.6.2 installed on both OS.  The printer is a Cannon MX300.
>>> To print on the envelope, I use Windows Works v4.5 which is
>>> easy to use.  I just learned how to print via Open Office
>>> Writer 3.0.1 which took several hours to do properly.
>>>
>>> If it is not possible to print sideways, I understand.
>
> It is possible but the solution has nothing to do with Python. That is
> the point Bob is making. How you print sideways depends on the printer
> driver, the application software you are using, and the OS.
>
> ON Unix you can print sideways by doing things like sending print
> formatting codes through any of the print formatting programs in Unix
> - groff being a good example. Or you could create an HTML document
> containing your text and then print that via a browser.
> Or you can format the output normally and then programmatically set
> the printer driver options to print in a different orientation.
>
> All of these could be done from Python or via manual intervention.
>
> HTH,
>
_______________________________________________
Tutor maillist  -  Tutor@...
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor