ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-tutor
python-tutor
Re: [Tutor] Printing Sideway...
by Alan Gauld other posts by this author
Nov 8 2009 1:09AM messages near this date
Re: [Tutor] Printing Sideway... | Re: [Tutor] Printing Sideway...
>  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@[...].org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Thread:
Ken G.
Bob Gailer
Alan Gauld
Ken G.
Bob Gailer

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved