At first I thought I’d print straight from the development environment (Visual Studio 2012 and SQL Server Management Studio) but I realise now that is not possible because
1) Both tools assume standard page sizes, and
2) I need to rotate the software code listing 180 degrees so that the end of the listing is at the tail of the paper roll.
For these reasons I’m doing it in Adobe Photoshop (CS5, 64 bit, on Windows 8).
My workflow for this is verging on the ridiculous.
1) If I cut-and-paste the code listings file by file from Visual Studio 2012 and SQL Server Management Studio into Photoshop (or Illustrator) I lose the formatting, for example the coloring of comments differently form variable declarations. (See http://feedback.photoshop.com/photoshop_family/topics/how_could_i_paste_a_rtf_pdf_word_text_keeping_the_formatting_into_photoshop .) Thus Step 1 is to cut-and-paste each file into a Microsoft Word document.
2) If I cut-and-paste from the Microsoft Word document into Photoshop I still loose the formatting, and Microsoft Word does not seem to be able to cope with the paper roll nor rotating the print. So I save the Microsoft Word document as a PDF and open that into Photoshop.
3) I now have 51 Photoshop files each with one layer containing the text for that ‘page’, though I think it’s an image as it is not editable as text. I then save each of these files.
4) Using Adobe Bridge I open all 51 Photoshop files created in Stage 3 and “Load Files into Photoshop Layers” so that I have a new single Photoshop file with all 51 text image layers in.
5) The layers sit on top of each other. What I need is for them to sit head-to-toe. I don’t know how to do this without spending a million years selecting layers and moving them by hand.
6) If I ever get Stage 5 done I will then group the 51 layers and rotate the result through 180 degrees.
7) I will then resize the result to have a width of 400mm and print the resulting file on our banner printer, having first calculated the resulting paper ‘height’ and turned off the automatic paper cutting.
So my questions are:
1) Is there a better way of doing this?
2) I can see the Photoshop actions that will align layers by their tops, their bottoms, or their centers but how do I automatically align them so that the bottom of layer 1 touches the top of layer 2, the bottom of layer 2 touches the top of layer 3, etc.?