njdubois Posted October 9, 2013 Share Posted October 9, 2013 I would like to print the source code out for a webpage I'm working on. This webpage consists of php, html, htm, css and js file. Typical webpage. I have a LOT to print. And its in sub folders. I would like to print the source code out. IE, if I click print on an html file, I don't want to see the site, I want to see the code. I thought that visual studios had a feature, but it seems it will only let me print the current viewed document. I've tried dragging everything into the printer que, but it pops up "cannot print this file, open it in the right application and print from there" for all hundred plus files. That's rather annoying. Any quick fixes? A program I can download that will print all my source? I'm about to make a quick VB program to do it, but there has GOT to be a solution! Thanks in advance Nick Quote Link to comment https://forums.phpfreaks.com/topic/282848-printing-an-entire-project-as-text/ Share on other sites More sharing options...
Barand Posted October 9, 2013 Share Posted October 9, 2013 VB! I should report this post for use of offensive language Quote Link to comment https://forums.phpfreaks.com/topic/282848-printing-an-entire-project-as-text/#findComment-1453314 Share on other sites More sharing options...
njdubois Posted October 9, 2013 Author Share Posted October 9, 2013 sorry, I have to say it. LOLZ! But its perfect for this kind of thing. A quick app to print everything in a folder. No? What would you use? Quote Link to comment https://forums.phpfreaks.com/topic/282848-printing-an-entire-project-as-text/#findComment-1453315 Share on other sites More sharing options...
Barand Posted October 9, 2013 Share Posted October 9, 2013 What would you use? Well, given that this is a PHP site, guess Quote Link to comment https://forums.phpfreaks.com/topic/282848-printing-an-entire-project-as-text/#findComment-1453328 Share on other sites More sharing options...
.josh Posted October 9, 2013 Share Posted October 9, 2013 try changing the extension of one of your files to be .txt and then drag it to your printer queue. If that works, then clone all your files and rename them to .txt and drag them all there. Quote Link to comment https://forums.phpfreaks.com/topic/282848-printing-an-entire-project-as-text/#findComment-1453352 Share on other sites More sharing options...
Irate Posted October 10, 2013 Share Posted October 10, 2013 Maybe use .phps files? That way you can even share your PHP source without having to worry that the browser does not display the source because of some possible errors when using .txt files. Quote Link to comment https://forums.phpfreaks.com/topic/282848-printing-an-entire-project-as-text/#findComment-1453356 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.