magician13134 Posted January 12, 2007 Share Posted January 12, 2007 I'm making a notepad style software, and the point is to replace notepad, so it seems ridiculous to open notepad to print it... also, I'm printing from a temp directory/temp file, so at the top of the file it says 'namepadprintjob.txt', I know I could name the temp file the name of the file, but I'd rather that not be there. How should I go about printing a different way..? Visit Magic Soft Inc. for some of my software Link to comment Share on other sites More sharing options...
James Posted January 12, 2007 Share Posted January 12, 2007 So you want the title of the file, to be centered at the top of the page? Secure Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
magician13134 Posted January 12, 2007 Author Share Posted January 12, 2007 No.... I can do that... I don't want it there at all... And I don't want it to open any other software to print... Right now it prints through notepad which is dumb... I want my software to print it. Visit Magic Soft Inc. for some of my software Link to comment Share on other sites More sharing options...
BALA Posted January 12, 2007 Share Posted January 12, 2007 Wouldn't _FilePrint do the job? (Sorry for posting this twice, for some reason my other post got deleted) [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
Joon Posted January 12, 2007 Share Posted January 12, 2007 (edited) If you can use WordPad to print RTF file. wordpad.exe /p <filename> or write.exe /p <filename> depends on OS. Edited January 12, 2007 by Joon Link to comment Share on other sites More sharing options...
magician13134 Posted January 13, 2007 Author Share Posted January 13, 2007 ...no... I don't want to use ANYTHING to print my files! I want MY software to do ALL the printing. So if I uninstalled EVERYTHING else on the computer, I could still print with it. @BALA that's what I am using, and I don't like it. Visit Magic Soft Inc. for some of my software Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now