Stacking layers top-to-tail to create a long banner print of software code in Photoshop
I have lots of software code (in tSQL, html, JavaScript, XAML, and C#) that I need to print in a long scroll. The scroll will be no more than 440mm wide and as long as it needs to be (though the roll of paper is 45 m long so I’ll need to make sure it is shorter than that). The resulting code listing is to from part of an exhibit contrasting the ‘sketching’ phase in a multidisciplinary project between design, social science, and software engineering. The exhibit will form part of the Research Through Design conference http://www.praxisandpoetics.org/researchthroughdesign/ next week
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_tex t_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.?
If you can make an image file for each page you may want to look at my paste image roll Photoshop script.
http://www.mouseprints.net/old/dpr/PasteImageRoll.html
http://www.mouseprints.net/old/dpr/PasteImageRoll.jsx
A Script included in my Photoshop Photo Collage Toolkit
http://www.mouseprints.net/old/dpr/PhotoCollageToolkit.html
Similar Messages
-
JButton rollover paints itself over stacked layers
Hi all,
I have a UI with two stacked layers. The bottom layer has a number of buttons with roll-over images, and the upper panel is a semi-opaque JPanel.
When a button is rolled over, the roll-over image paints itself on top of the semi-opaque top layer. Likewise, if any button is clicked (roll-over image or no roll-over image), the button paints itself on top.
I've tried adding in lots of repaint methods so that when the button is clicked the top layer will repaint, and while that helps it still causes flickering. Preferably, the buttons should realize they're on the bottom layer and shouldn't be painting on top.
A simple self-contained example is below (without the extra repaint() methods).
Anyone have any ideas on this? Any help much appreciated!
Sam
import java.awt.*;
import javax.swing.*;
public class LayerTester {
private static JComponent createTesterPanel(){
JPanel lowerPanel = new JPanel(new BorderLayout());
JButton button1 = new JButton("Button 1");
lowerPanel.add(button1, BorderLayout.NORTH);
JButton button2 = new JButton("Button 2");
lowerPanel.add(button2, BorderLayout.CENTER);
JButton button3 = new JButton("Button 3");
lowerPanel.add(button3, BorderLayout.SOUTH);
* This adds a roll-over listener (A real program would set
* a more interesting icon). Because of this, mousing
* over the button causes the button to be painted over
* the dimmerPanel
button2.setRolloverIcon(button1.getDisabledIcon());
JPanel dimmer = new DimmerPanel();
JPanel stack = new JPanel();
stack.setLayout(new OverlayLayout(stack));
stack.add(dimmer);
stack.add(lowerPanel);
return stack;
public static void main(String[] args) {
JFrame f = new JFrame();
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.getContentPane().add(createTesterPanel());
f.setPreferredSize(new Dimension(200,200));
f.pack();
f.setVisible(true);
private static class DimmerPanel extends JPanel
public DimmerPanel(){
setOpaque(false);
protected void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2 = (Graphics2D)g;
AlphaComposite ac =
AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.5f);
g2.setComposite(ac);
g2.fillRect(0, 0, getWidth(), getHeight());
g2.dispose();
}Heres one way using layered panes:
import java.awt.*;
import javax.swing.*;
public class LayerTester {
private static JComponent createTesterPanel(){
JPanel lowerPanel = new JPanel(new BorderLayout());
JButton button1 = new JButton("Button 1");
lowerPanel.add(button1, BorderLayout.NORTH);
JButton button2 = new JButton("Button 2");
lowerPanel.add(button2, BorderLayout.CENTER);
JButton button3 = new JButton("Button 3");
lowerPanel.add(button3, BorderLayout.SOUTH);
lowerPanel.setPreferredSize( new Dimension(200, 200) );
lowerPanel.setSize(lowerPanel.getPreferredSize());
* This adds a roll-over listener (A real program would set
* a more interesting icon). Because of this, mousing
* over the button causes the button to be painted over
* the dimmerPanel
button2.setRolloverIcon(button1.getDisabledIcon());
JPanel dimmer = new DimmerPanel();
dimmer.setSize(100, 100);
// JPanel stack = new JPanel();
// stack.setLayout(new OverlayLayout(stack));
JLayeredPane stack = new JLayeredPane();
stack.setPreferredSize( lowerPanel.getPreferredSize() );
stack.add(lowerPanel, new Integer(1));
stack.add(dimmer, new Integer(2));
return stack;
public static void main(String[] args) {
JFrame f = new JFrame();
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.getContentPane().add(createTesterPanel());
// f.setPreferredSize(new Dimension(200,200));
f.pack();
f.setVisible(true);
private static class DimmerPanel extends JPanel
public DimmerPanel(){
setOpaque(false);
protected void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2 = (Graphics2D)g;
AlphaComposite ac =
AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.5f);
g2.setComposite(ac);
g2.fillRect(0, 0, getWidth(), getHeight());
g2.dispose();
} -
FRM-13002 : Stacked and Tab Canvas must be created within Content Canvas
Hi,
I have a Tab Canvas with 2 pages on it.
In one of the pages the data to be displayed will be
out of the region(size or length) of that page.
I read in this forum for the same problem, the
member had suggested to use a Stacked Canvas on that
Tab page alone and enable the scrollbars of the stacked canvas.
When I drag and drop a stacked canvas on a tab page
of the tab canvas I get the following error:
FRM-13002 : Stacked and Tab Canvas must be created
within content canvas.
Any help is appreciated.
Thanks in advance
SharathHi,
I am breaking my head over this.
I am still unable to solve this issue.
========The Requirement is as follows :===========
When I select a Tab Page of a Tab canvas, I get a
combo box with items in it. When I select an item from
the combo box, based on the item selected, I am
retrieveing the data from the database and displaying
it in that Tab Page itself. This data is in a matrix
format. i,e Has a number of rows and columns.
Without a Horizontal and a Vertical Toolbar attached
to the Tab Page I would be unable to view all the records
that are displayed on that Tab Page.
Any suggestions or examples is most welcome and
appreciated.
NOTE : ALso in what situations can we use a stacked
canvas, if the designer does not allow me to
use it with other canvases?.
Thanks in advance
Sharath. -
I have ghosting of some apps at the bottom of the screen, and when I swipe my home page the folders are frozen there and the apps from the next page
move across and stack on top of the folder icon on the first pageInitially they were stacked, then I tried to do a reset. Now the folders look like a screenshot of my first homepage, and the bottom bar is a ghost of the original
-
A site collection was created with the URL intranet.contoso and it was added to the DNS as intranet.contoso. The top-level site was created successfully after that with the URL being
http://intranet.contoso/main but it is not launching and the following is the error message -
This page can't be displayed.
This will be a production environment so disabling the security loopback will not be an option. Any suggestions?
Many Thanks,I can connect only to the SharePoint Central Administrator from the client computer but not the top level site.
The error i'm getting is This page can't be displayed.
Make sure the web address http://contonsoportalis correct
Look for the page with your search engine
Refresh in a few minutes
Fix connection problems - When clicked the following shows up "Make sure the computer or device is turned on and connected to the network" Windows can't find contosoportal. If the computer or device you are trying to reach is nearby,
make sure it is turned on and connected to the network. Otherwise contact your network administrator for assistance.
The DSN already had a host created for an intranet that is running SharePoint 2010 called intranet so I created a new host (A and AAA) named it Portal insert the ip address of the new sharepoint 2013 server but it still didn't work.
This is the configuration shown in the DNS
Host A Tab -
Host (uses parent domain if left blank)
Portal.contoso.local
IP address: 192. X.X.X for the SharePoint Server
( Should I create a CNAME instead of a new host for the portal? )
I added the host names in the register but it still does not work....
It's a virtual environment running on top of hyper V - One server for SharePoint another for SQL and both joined to the DC. -
On the top left of my computer screen there are what look like the bottom half of small grey and white squares stacked on top of each other. They form a line about three inches horizontally along the top and they cover half of the regualr bar (so half of the apple sign int he corner is covered) and I cant seem to get rid of them. Is my hardrive crashing or being hacked?
I have never seen DEVELOP on the menu bar for Safari, hence my query regarding testing.
What OS are you using and what version of Safari?
If you want to check your HDD, Open Disk Utilities>First Aid and run Verify and Repair.
The only remedy that I can think of that may work is an OS reinstall.
I seriously doubt that your MBP is being hacked.
Ciao. -
How do I add a "return to top of page" button/link for long pages?
I've created several long pages within a web site. Is there a button or link that can be used, created, and placed in the middle and/or at the bottom of the pages that will return you to the "top of page" without having to scroll all the way back up? If there is one in iWeb, or if this has been discussed before, I can't find it. Thanks.
Hi there,
easiest way would be to have link "Link to: one of my pages" and link to the page itself.
To me doing this the page doesn't have to completely reload (thus there is no transition displaying a an empty page).
Another way would be using Anchors which is a bit more complicated... Usually they are used to go down to a certain point of a page but it works the other way around too...
http://alyeska.altervista.org/en/iWeb_Anchors.html
Regards,
Cédric -
How do you create a 800 x 200 pixell slide show with Photoshop Elements 8?
I have a banner for a web page that measures 800 x 200 pixels. I would like to create a slide show in the whole volume but I have been unable to discover where to change the standard size of the slide show window to 800x200 in Elements 8. Can anyone help?
AlMany thanks for your reply. I edited a series of photographs to 800x200 as
you described and then attempted to create a slideshow in Slideshow editor.
I get a good horizontal fit in the slide frame but there are black bars top
and bottom since the frame is more than 200 pix high. My question really is
how do I create a 800x200 slide frame that the edited photographs will fit.
Subject: How do you create a 800 x 200 pixell slide
show with Photoshop Elements 8?
In the slideshow editor interface click once on your image in the main
window - you will see a bounding box appear together with editing options.
Click on the More Editing button and when your image opens in full edit
select the crop tool.
Set width to 800 px and height to 200 px and resolution to 72
Drag out your crop rectangle and move your image to the position you want -
this avoids image distortion but you will sacrifice parts of the original to
create a banner.
Press Ctrl=S to save and check version set to save an edit without affecting
the original.
Press Ctrl+W to close and your cropped image should automatically pop up in
the slideshow editor. -
Creating a long text using ABAP code.. fm SAVE_TEXT
When you create an order via IW31 one of the options is to click on the text button and create a long text. I am basically trying to mimic this action from within my ABAP code.
The text id details are as follows:
Text Name 500000015000046 which is (5000000 + order number)
Language EN
Text ID KOPF Order header text
Text Object AUFK Order text
If i manually create the text within the transaction i am then able to view and update it via function modules READ_TEXT and SAVE_TEXT. But if the text has not already been created READ_TEXT obviously returns nothing as it does not exist and SAVE_TEXT does not seem to created it!
Anyone know how i would go about creating this text using ABAP code?
Hope this make a bit of sense
Thanks in advance
MartI have implemented the code as i think it should be. See below, can any see what is wrong. If i add init_text it makes no difference and adding the commit_text just makes it hang
DATA: IT_TEXTS type standard table of TLINE,
wa_texts like line of it_texts,
wa_txtheader type THEAD.
wa_txtheader-TDID = 'KOPF'.
wa_txtheader-TDSPRAS = 'EN'.
wa_txtheader-TDNAME = '500000015000056'.
wa_txtheader-TDOBJECT = 'AUFK'.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = wa_txtheader
INSERT = 'X'
SAVEMODE_DIRECT = ' '
OWNER_SPECIFIED = 'X'
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
TABLES
LINES = IT_TEXTS
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Can I create a single PO for two company codes
Hi
Can I create a single PO for two company codes. Though I know that Company code is assigned at header level but still I know there is a setting in controlling which when activated two company codes under same controlling area can procure the goods under the same PO.But i forget from where to activate that message or control in config.
ThanksHi Lekhram,
I'm just beginner so maybe I got the wrong end of the stick.
If you order something that something must belong to a definite company > plant. How could possess two company the same thing at the same time (totally)?
(companies are at the same organisational level - none of them is subject to the other).
Maybe I'm mistaken.
So I <b>guess</b> you can use only one company code for one PO.
Controlling area & company code
http://help.sap.com/saphelp_46c/helpdata/en/e5/077a704acd11d182b90000e829fbfe/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/08/513f4b43b511d182b30000e829fbfe/frameset.htm
Purchasing & organisation
http://help.sap.com/saphelp_46c/helpdata/en/75/ee0a9555c811d189900000e8322d00/frameset.htm
All the best
Csaba -
Is it possible to Create a Long Text Field (more than 255 Char Long)?
Is it possible to Create a Long Text Field (more than 255 Char Long) as like Description field in Service Request Object??
Thanks!Hi
User can only create custom Long text field (255 Charcter) . Currently system does not support custom note creation -
If you have an itunes acct that was not set up to share and the lap top it was on is no longer working, is there a way to open up the old itunes acct to get music and photos off of it? This was before Icloud was available. Can you reset your itunes password somehow?
iTunes and the iTunes Store won't have anything to do with your photos. Those would be stored only on your laptop unless you made a backup of some sort. If you didn't, and the hard drive in your laptop has failed, then your photos are gone unless you wish to pay a disk recovery service a lot of money to try and get them back.
As to your music, if you purchased it from the iTunes Store you can probably re-download it. Go to the iTunes Store, log into your account, and click the Purchases link under the Quick Links. From there you should be able to re-download some or all of your purchased content. Note that not all content has been licensed for re-downloading in all countries at this time. You can see what content you can download here:
http://support.apple.com/kb/HT5085
You can also re-download content using an iOS device.
For full instructions, see:
http://support.apple.com/kb/ht2519
Regards. -
After updating my iPhone 6 to 8.1.1 the suggestion bar across the top of the keyboard is no longer there. How do I get it back? I had it before the update and loved using it.
ThanksCheck to see that Settings > General > Keyboard > Predictive is turned ON.
-
Hello, I would like to create and print a contact sheet in Photoshop elements 13. I have managed to do that but I need desperately to be able to place a title on the contact sheet. Also, each photograph has as name and I need these names to show up on the contact sheet when I print them out. If this is not possible I will just return my product. I have an old old version of Photoshop that will do just that but with this new elements I cannot find it.
markc
What computer operating system is your Premiere Elements 13/13.1 running on?
Assuming Windows 7, 8, or 8.1 64 bit, open the Elements Organizer 13/13.1 and select your media
for the Contact Sheet.
Go to File Menu/Print and set up the Print Dialog for Contact Sheet.
If you used Edit Menu/Add Caption beforehand, I can see how you can get
Date
Caption
Filename
under the Print dialog's "4" and even a page number if you have more than 1 page. But, I am not seeing
where you are going to get a title for each of the contact sheets.
Any questions or need clarification, please do not hesitate to ask.
You can get into the Elements Organizer 13/13.1 from the Welcome Screen or by clicking on the Organizer Tab
at the bottom of the Expert workspace in the Premiere Elements 13/13.1 Editor.
Please let us know if we have targeted your quesiton..
Thank you.
ATR -
In MAC, I want to change document size from 8.5X11 to 18X24 to create a poster to print through Staples. I created the doc originally in WORD, changed the size in WORD, converted to PDF doc. But PDF doc is still in 8.5X11. Read ADOBE support help info. Terls me to change size in application rather than printer. BUT ACROBAT Pro does not give me a page set up option in FILE. I can only find one in the printer dialog box. Help!
from the FAQs on Staples website:
I have a file that I know is a PDF, but the website claims it is not in a PDF format. What should I do?
Check to see that the file has the .PDF extension. Also, check that the filename does not have any special characters such as an ampersand (“&”).
Regarding your measurements set to centimeters rather than inches; is it just in MS Word?
Or does it occur in all other applications.
Check your Work preferences first:
If it is happening in all your applications, check your Mac OS System Preferences.
Maybe you are looking for
-
Win 8 and 8.1 client showing shared printer server as offline
Hi, we have a problem with our print environment (HP and Ricoh printers). We have some Windows 8 and 8.1 clients and a Windows Server 2008 R2 printserver. Windows 8 and 8.1 is showing the printers as offline. Its seems the problem described here -> h
-
Upload and display Word Document in WD application
Hello, I have a WD ABAP appl. where the user wants to upload an Word / Excel file (from its own local drive). The document shall be saved in SAP and it shall also be possible to display the document later in the WD application. I implemented the UI e
-
Best way to group data and show details of only last result in group
Hi All! First off, just letting everyone know that this is a great place to explore and learn Oracle - I've learned more here than I have in some classes. Just exploring the forums and searching for an answer leads me to functions that I hadn't other
-
I just updated iBooks author and it won't recognize or open any of my .iba files.
I just updated iBooks author and it won't recognize or open any of my .iba files.
-
Hp client security manager 8.2 or later
Hi, I have Windows 7 Professional 64 bit OS installed and I have downloaded and installed all drivers from hp website shown specifically against my "HP ProBook 450 G2 NOTEBOOK PC" Device manager shows that all the drivers are installed correctly I ha