Printing from Photoshop using AppleScript

I am working on a project that will automatically print an image that is moved to a folder.
Right now, I have the following working: the image from my camera saves to a folder on my desktop, then applescript opens the image in Photoshop and runs an action on it that resizes it, crops it, and then re-saves it into a different folder. Here's where my problem starts...
My printer - an Epson R800 - does not have a default paper size of 5x7 borderless. That selection has to be made in Photoshop, however, Photoshop actions will not capture paper settings. (Which I think is sooooo stupid, but that's another issue.)
When the image is dropped in the second folder, it currently automatically prints, but on "letter" size paper.
I need to script the following:
Tell Photoshop CS4 to open the image (well, I can do that), but then select the correct paper size (5x7 borderless), and print. I've tried a few different things and they aren't working.
Any help would be appreciated!
Thanks,
Michelle

Here is a starter that is working just fine at work where I have access to CS2 and printers…
-- A path to an image file as text
set PrintImage to (path to desktop as text) & "HE2015.tif"
tell application "Adobe InDesign CS2"
activate
-- Turn off the app dialogs
tell script preferences
set user interaction level to never interact
end tell
-- Get the new document preset
set DocPreset to document preset "A4-P" -- Change here
-- Make our new doc
set PrintDoc to make new document at beginning ¬
with properties {document preset:DocPreset}
-- Get the printer preset
set PrintPreset to printer preset "Xerox A3-P-SEF" -- Ditto Here
tell PrintDoc
set DocWidth to page width of DocPreset
set DocHeight to page height of DocPreset
-- Add a rectangle to hold the image
set ImageFrame to make new rectangle at beginning ¬
with properties {geometric bounds:{0, 0, DocHeight, DocWidth}}
tell ImageFrame
-- Put our image in the rectangle
place PrintImage as alias
-- Fit our image to fill box keeping proportions
tell image 1
fit given fill proportionally
fit given center content
end tell
end tell
print using PrintPreset without print dialog
end tell
end tell
There are two strings that you will need to change one for a 'new document preset' and the second for a 'print preset'…
The example just uses an image off my desktop to test with… Any problems post in the Indesign forum as this no longer belongs here…

Similar Messages

  • I have a problem with color prints from photoshop elements 12. The pictures are too light and with strange colors. I have a Canon pixma mg615I0 printer and use mac os X yosemite. The pictures are taken with a coanon eos 550d in the color space sRGB. I hav

    Hi
    I have a problem with color prints from photoshop elements 12. The pictures are too light and with strange colors. I have a Canon pixma mg615I0 printer and use mac os X yosemite. The pictures are taken with a coanon eos 550d in the color space sRGB. I have followed adobes recommendations and have tried both letting the printer respektive photoshop manage the colors. But nothing works. I see that there are different opinions about which is best to do so I tried both. I have the latest printer driver installed. Can anyone help me with this?

    Do the following:
    Print a test page from the printer. Perhaps the print head needs cleaning via its maintenance facility.
    Let the printer manage colors, not PSE
    Calibrate the monitor

  • Different Colors when printing from Photoshop and InDesign CS3

    Different Colors when printing from Photoshop and InDesign CS3
    I have the following problem:
    When printing from Photoshop or InDesign to a PostScript printer, Adobe recommends to let Photoshop handle the colors (I use the German version, so I don't know the exact term used, it changes slightly in all CS3 apps anyway).
    The manufacturer however told me to let the PostScript printer handle the colors.
    When I chose this option in Ps's print dialog and then choose ISO Coated as the printer pfofile, the results are fine.
    But when I place the exact same image in an InDesign file and print from InDesign or export to PDF and print via Acrobat, again using "Printer handles colors", the results are the exact same as if I had used Ps and chosen to let Ps handle the colors (way too saturated and a bit too red).
    ·Photoshop CS3
    ·InDesign CS3
    ·Test image is a TIFF in CMYK Fogra 27 Coated (which is also the working color space in Ps and ID.
    ·Printer: Xerox Docucolor 3535
    ·Printer profile: ISO Coated
    How can I make sure the printer handles the colors in other CS3 apps than Ps? I tried it with ID's print dialog (translated from the German version: Color Management > Options > Color Handling: PostScript-printer decides colors).
    Thanks a lot!

    RE: "You don't indicate what Xerox printers you have"
    In my first post I named it, is that the information you need?
    Docucolor 3535 using Splash 3535
    That's interesting, so I have to find a way to turn off the printer's Color Management function? I mailed them, hope they can tell me how to do it easily. They usually just tell me to not use any profiles and so on, but that's the general rule in this area, I'm really tired of hearing it. Everybody seems to think profiles and LAB mode are nuclear science and I should stay away from it.
    Anyway, the test image I'm using is a simple photograph (size A3, 300dpi), so no transparencies at all. I'm placing this image into an equally large ID file and print it from ID, then export it to PDF-X/3 and print it from Acrobat. Hope that helps.

  • Can't print from Photoshop CC 2014

    I very seldom need to print directly from Photoshop, but today I do. Today I discovered that I cannot print from Photoshop, because Photoshop stops working when I click 'Print'. I don't even get far enough to select a printer from the list. I get a Windows message in a little box -
    "Adobe Photoshop CC 2014 has stopped working
    A problem caused the program to stop working correctly.
    Windows will close the program and notify you if a solution is available"
    I can print from every other program on my PC, including InDesign, so it would seem that the problem is solely with Photoshop. I'm using Windows 7 64bit.
    Any help or suggestions would be gratefully received.
    Brian

    Hi - thanks for responding! Is this any help to you?
    Faulting application name: Photoshop.exe, version: 15.2.2.310, time stamp: 0x5480338c
    Faulting module name: ntdll.dll, version: 6.1.7601.18247, time stamp: 0x521eaf24
    Exception code: 0xc0000374
    Fault offset: 0x00000000000c4102
    Faulting process id: 0x16d8
    Faulting application start time: 0x01d01acda5db80f6
    Faulting application path: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Photoshop.exe
    Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
    Report Id: 3a523491-86cc-11e4-a766-6cf0490a797e

  • Canon Pixma Pro-100 printer ejects 3.8 in of a 4X6 paper and prints only 2.2 in of the image printing from Photoshop CS6, I'm sure I set everything correctly - what could I be missing?

    Using Mac Pro running Snow Leopard (10.6.8) & editing & printing from Photoshop CS 6.
    Have new Canon Pixma Pro-100 printer and set it up yesterday.  First thing printed was a
    document from MS Word (a letter) 8.5 X 11 plain paper - this came out OK.  Next I fire up
    Photoshop and open a 4 X 6 inch image to do a test print.  I set it up in the print dialog as
    4X6 paper, Canon's Pro Glossy paper profile, rear tray, standard print quality, Photoshop
    manages the color.  I load the paper in the rear tray close the covers and hit print.  Now, when
    it starts to print the printer moves about 3.8 inches of paper out of the printer and starts printing
    on the remaining 2.2 inches then spits the paper out.  It does this in Photoshop (any image it doesn't
    matter), and it does it printing from Capture NX.  I have been able to get it to print on the paper
    correctly using Apple's Preview program but that that's not going to do me any good.  I was on
    the phone with Canon tech support for about 2 hours and they were completely puzzled suggesting
    I would have to use Canon's printing apps instead to print - that doesn't do me any good either.
    I want to be able to print from Photoshop.  Any one every heard of this or experienced the same
    problem? Thanks JamesD!

    Hello again. I recognize that a print is good if you like it and bad if you don't, despite what others might say, but I will at least share my experiences. They might help you or others who are following this thread.
    My monitor is calibrated with Spyder 3. Gamma 2.2, 6500K, 83 cd/m^2. Contrast at 50%; brightness about 52%. My monitor lets me choose blackness level - it defaults to 50%.
    When I print the test image I linked to above, using Lightroom, with no adjustments, my technical output is as follows:
    Middle step wedge shows twelve disticnt steps. Whitest step is color of unprinted paper.
    It varies from paper to paper, but I can discerne at least the 252 step and on some papers 253 - telling me I have good highlight detail.
    On the black side I discerne 8 or 10, nothing lower. (That sounds like what you are reporting).
    Artistically I am very happy how my print looks - nice red strawberries, good flesh tones, etc.
    One my monitor, the on-screen image is almost identical to the print. I am surprised that you can see the 2 wedge step on screen at a very similar brightness.
    I also checked out this B&W test image:
    http://www.northlight-images.co.uk/article_pages/bw_printing/bw-test-image-2.html
    You are probably aware of this since you are printing with Print Studio Pro, but others may not be.
    You can print a series of test images:
    find the one that best suits your taste, enter the calibration values in PSP, and save them as a custom setting. Then, each time you want to print recall the setting.
    You can do a similar thing in Lightroom using the printer driver and User Templates.
    There would be some one-time trial and error to that approach.
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

  • Photoshop suddenly does not print to Epson 3880 - PROBLEM: Cannot print from Photoshop  After restart error message appears:  - "There was an error opening your printer. Printing functions will not be available until you have selected a printer and reopen

    PROBLEM: Cannot print from Photoshop
    After restart error message appears:
    — “There was an error opening your printer. Printing functions will not be available until you have selected a printer and reopened any documents.”
    • All print commands are greyed out and unavailable — even to call up the printer commands cannot be done.
    The printer printed fine until about 2 weeks ago when this error message appeared.  Printing continues from Pages, I-photo, preview etc. —  only Photoshop fails.
    The printer has been turned on and off, as have open documents been closed and open etc..   Preferences reset.  Repeatedly I have read through blogs and forums and attempted to contact Adobe — all without results
    Epson support struggled to find reason and several solutions were tried and they assume this is an Adobe problem.
    Running Mac Powerbook X 10.10.2 / Photoshop CS6 13.0.6.x64
    Attempting unsuccessfully to print to Epson 3880
    What Adobe support will be of help.
    Robert Darling —  2/19, 20, 21,22,23/2015

    Probably best to ask in Photoshop General Discussion
    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Problem Printing from Photoshop CS-5 (version 12.0) since installing Yosemite on iMac.

    Any attempt to print from Photoshop CS-5 results in Photoshop crashing when I try to enter print settings such as paper profiles. I use several Macs and printers including an Epson Stylus Pro 4880 and a All-in-One Epson Workforce 7520. I have uninstalled and reinstalled Photoshop; uninstalled and reinstalled print drivers for both printers. I have the same printing problems with jpegs and raw files both large and small. I can print from the computers while using Yosemite if I print from other applications including InDesign CS-5.  I think I have tried all the suggestions that have been offered in this forum.
    Fortunately I have a Macbook that I forgot to upgrade. It has OS 10.9 and CS-4 installed and once I installed the Epson drivers, it worked! So, I can meet my deadlines but still would like to work from my large desktop machines. After long sessions with a very helpful Epson technician and carefully going through the comments in this forum, I am convinced the problem is in Apple's new operating system.

    Which reminds me, update 10.10.1 is out. Have you installed it?
    Also sometimes this works: Resetting your Photoshop Preferences from the keyboard:
    Hold down cmd-opt-shift and start Photoshop and agree to "Delete the Adobe Photoshop Settings file"
    Gene

  • Question about file preparation for print from Photoshop

    I need to figure out the best method for saving for print from Photoshop. Here are the things that are confusing me:
    Problem: When I create a design in Photoshop, I'm left with a few options on how to save my document. I would like to know which of the following is the best method:
    Method 1: create a pdf and embed the required fonts. This method worries me because I've read that certain fonts will not open on the recipients end due to restrictions set by the font maker. Is this something I should be concerned with or is embedding fonts the best route to take?
    Method 2: Convert all type to shapes. This method seems like the safest but I've read problems associated with this route as well. One website commented that having too much text converted to shapes can cause extremely long print times. Is this true?
    Another problem I've encountered with converting text to shapes is when I have a paragraph that has more than one text color...converting to shapes converts everything to just a single color. I would love to know a work around to this. Currently I have to create separate layers for the different text colors and try to manually align them...very time consuming. I know InDesign would be best for this type of thing, but Photoshop works just fine for me, asside from this one little thing).
    Method 3: Flatten my entire design (text and all) at 300dpi. Will my text look crisp flattening at this resolution?
    Thank you to anyone who can help clear this up for me. I read so much inconsistant information online that I don't know what to think anymore.

    Method 1: create a pdf and embed the required fonts. This method
    worries me because I've read that certain fonts will not open on the
    recipients end due to restrictions set by the font maker. Is this
    something I should be concerned with or is embedding fonts the best
    route to take?
    Always embed fonts, but then again, Photoshop can't until you save a format that can like PDF.  Some fonts do not allow you to do so. Outline the fonts or convert to shapes. Better yet, stop building text documents in Photoshop for print. It's generally a bad idea for many reasons like rejected jobs and lost money and time.
    Method
    2: Convert all type to shapes. This method seems like the safest but
    I've read problems associated with this route as well. One website
    commented that having too much text converted to shapes can cause
    extremely long print times. Is this true?
    Problems arise if you want someone to edit the files, but the same goes for a font that is missing.  As far as the print slow down times - it depends upon the RIP and how complex the file is.  Maybe or maybe not be an issue.  After all, text in Photoshop is using a font as a vector shape layer and not a font in the traditional sense.
    Another problem I've encountered
    with converting text to shapes is when I have a paragraph that has more
    than one text color...converting to shapes converts everything to just a
    single color. I would love to know a work around to this. Currently I
    have to create separate layers for the different text colors and try to
    manually align them...very time consuming. I know InDesign would be best
    for this type of thing, but Photoshop works just fine for me, asside
    from this one little thing).
    A paragraph?  Please attend a school that teaches you the basics of design in graphics. It will do you a great service to get more studies under your belt. Photoshop text is for graphical art not type setting.
    Method 3: Flatten my entire design (text and all)
    at 300dpi. Will my text look crisp flattening at this resolution?
    It depends upon the resolution of the output device. The higher the resolution of the output the worse your text will be.

  • Problems printing from Photoshop 4 to Canon Pro9000MarkII

    Hi All,
    This has only strting happening in the last two days - before that I have had no problems with this function. I am trying to print from Photoshop 4 on a PC to my Canon Pro9000MarkII.
    When I print a document and tick the Scale to Fit Media box then everything is fine and it prints no problem.
    When I try to print with this box unticked so that I can print at 100% scale I press OK and nothing happens.
    We have tried to download the latest printer driver and this has not helped. I have played around with the Printer Preferences and this too has not helped. I have restarted Photoshop and the PC quite a few times - nothing!!
    I have obviously missed some sort of setting but I don't know what - help!!!!

    I am back and still having trouble with Lightroom. Someone suggested I downgrade to LR 4.1 (from 4.4) but that didn't help. To reiterate: I have a MacBook Pro, using 10.9.5. I got a new Epson Stylus Photo R2000 printer and LR is having trouble communicating with the printer. When I try to print a letter size (or other size) picture, a 5x7 partial tile of the picture prints off center bleeding to the top. The only way I can print a whole picture is the size it 5x7; then it prints the whole picture but it is still off center, not as it appears in LR print view. I have talked with Epson who said I had Mac conflicts; I spoke with Mac who got rid of the conflicts so it can print fine from Apple programs like Pages, or the internet. It is only LR that won't print right. Obviously I got a photo printer to print photos so I would like help resolving this. It has been very frustrating that although I could talk with both Apple and Epson support, when I tried to contact Adobe both by phone and Live chat I was told that LR is not supported except on this forum. So please, help. Thanks.

  • Problems printing from Aperture using Epson R340

    I have an Epson R340 and happily use all the paper settings such as Glossy print from Photoshop to the printer. Having now installed Aperture I find I am not able to do this. I have reloaded the Epson drivers but still not able to do this. To elaborate when I press Print image from Aperture I go into Print settings - and find that the following items have a line through them - Print Settings, Colormanagement, Printoption and Extenstionsetting. This is not the case when I look at the menu via Photoshop. Can anyone help me on this.

    I have an Epson R320 and all the Epson's printer driver options are available to me in Aperture. My list is slightly different: Print Settings, Color Management, Page Layout Settings, and Extension Settings with the words separated by spaces and each has a capitalized first letter.
    I'm wondering if Aperture isn't seeing your Epson driver files. You might want to remove the Aperture plist file from your User>Library>Preferences folder and relaunch Aperture.

  • Printing from photoShop text problems

    why when i print from photoShop does my text get a ghosting effect only when on hp photo paper
    when i select plain paper it prints fine
    using hp 3520 all in one
    and photoshop cs3
    OS windows 7 64bit 

    Hello, 
    I see that you're having an issue printing from Photoshop. Now, are you having this same issue printing from another program on the same paper?
    I just want to make sure you're having an issue with the printer and not just the program. 
    THX

  • Prints from Photoshop too dark.

    I have recently purchased an old Epson Stylus Pro 7800 and have experienced my prints coming out way too dark. I contacted Epson support and through troubleshooting found that if I print with Apple Preview, the image comes out just fine- in terms of darkness- but Photoshop prints too dark. The Epson tech said this was a known problem and to contact Adobe. So, I got on-line to se what I could find and get some help.
    Mac OS X 10.9.4
    Photoshop CC v14.0 x64
    Epson Stylus Pro 7800
    Again, please note, that printing from my computer via the Preview App produces correct color and darkness. The issue only happens when trying to print from Photoshop CC
    All help appreciated

    Often cause by running with your display too bright.  Image are darker then they look on screen.  Make sure you display is displaying good color and the brightness is set correctly.  Hardware calibration is best but IMO is not an absolute requirement.
    It is also important not to have the image color managed by Photoshop and you print driver.  You should see warning about that in Photoshop Print Dialog.  You need to set both Photoshop Print setting and your printer drivers settings to the correct seitting and paper color profiles. I use a Epson 4800 and have Photoshop manager the colors and turn off color management in the 4800 print driver. Paper size and profile set in both.  I do run with mu display  too bright many do no one complains that the images I post online are too dark.  To print good color all I do is add an brightness and saturation adjustment layer on top and boost the brightness 18 to 20%.. View screen capture in new tab or window so you can scale to actual size. You can see my remote printer is running out of yellow....

  • Prints from Photoshop too Large

    I've made myself crazy trying to print from Photoshop and am hoping someone can help me figure out what I'm doing wrong.
    I'm using Photoshop CC2014 on a Macbook Pro running OSX 10.9.5. I've tried printing to two different printers: a HP OfficeJet 7610 an Epson WF-7510.
    And...no matter what I do, my images print too large. For example, I created a plain 3" square in Photoshop and printed it at 100% on both printers and EVERY time it prints at about 3 1/8"
    I've tried uninstalling and reinstalling drivers and nothing seems to work. I've tried saving my images as a JPEG or PDF and still end up with too large prints. Because I'm trying to print these to pre-cut labels I need them to be perfect and nothing is working.
    Any ideas or tips would be appreciated!! Thanks!

    I do have a borderless option on both printers and I always choose to print borderless because the image I'm trying to print needs to be really close to the edge of the page - like .156" off the left side. Are you saying choosing the borderless option is what's causing the issue?

  • Printing from InDesign Using ICC Profiles

    Hello,
    I'm trying to find the best way to print from InDesign to my Epson R2400. I'm a graphic design student, with a background in Photography. When printing images from photoshop, I always use the proper paper profile for the inkjet paper I'm using and I get spot-on results. My monitor is profiled, and I have a decent knowledge of color management.
    When I print from InDesign, I achieve the best results using the Adobe RGB1998 output profile in the print dialogue. This produces fair results, but not as accurate as I get when printing images from photoshop using the appropriate paper profile. When I use a paper profile from InDesign (i.e. Epson SP2400 Enhanced Matte), the results are flat and washed out. I've tried opening the print driver dialog (via the "printer" button) and making sure that color management is turned "off" to avoid double-profiling, but this does not fix the problem. I've also tried checking the "print as bitmap" box in the InDesign print dialogue, but this only makes things worse.
    Can anyone tell me why I can't print with an appropriate paper/profile via InDesign? I'm usign CS3, with a Macbook Pro, running Leopard. Epson R2400 with Epson Inks, Epson paper and matching Epson ICC Profiles.
    Thank You.

    It is the monitor profile. Change profiles and you will see a different output each time.
    The condition of the monitor can in no way affect the output, but as soon as you re-profile a change in the monitor settings the new profile will affect the output.
    In theory if you can hardware calibrate the monitor and not create a new profile (what software might allow this?) there would be no changes to the print but what about what you see on the screen?
    Of course this is all based on you creating a ID specific paper profile.

  • When printing from Photoshop on Photosmart C 410 A, size is reduced. Other programs print true.

    When I try to print from Photoshop, the size of picture is greatly reduced. I tried printing a picture inserted on word and also using the HP Photo Creations program and they did print true to size. Any help greatly appreciated.

    Eileesrn,
    We have a few options that we can try. The first I would like for you to try is:
    Under "Printers", rename the Photosmart C410 Fax driver to PS C410 Fax
    Please let me know if that helps.
    Andrew
    Please know that I work for HP but my posts and replies are my own.
    *Say thanks by clicking the "Kudos! Star" which is on the left*
    Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue.

Maybe you are looking for

  • Error opening pdf file, but then it still opens

    I am having trouble when I open a pdf.I am using the code below to open a pdf. on mouseUp me   acro = bafindapp("pdf")   if acro = empty then     acrofile = me.pPDF     alert "This program was unable to find a suitable program on your system to open

  • I am getting 100s of emails from Apple Support Communities. How can I stop that????

    I have been trying to load my ITunes music to my IPhone 5 and had posted a question on ASC. Since then I have been deluged with e-mails, despite going on my preferences and clicking No to all the questions. How can I stop that PLEASE. MB

  • Upgrade from 10.5.8 to 10.5.0 crashes

    Upon receiving my highly anticipated upgrade DVD, I attempted to upgrade my mbp 3,1 15". All went well at first, the progress bar moved steadily and it shut down and rebooted once. Not long after this, with the progress bar about 34% complete, I got

  • How to send a text message reminder of a calendar appointment through iCloud?

    We use iCloud calendar for patient bookings in our Physio clinic. I've been told you can set up reminder messages to be sent as a text message (synced with contacts) through iCloud but have not been able to work out how to do this. If anyone has any

  • Getting Problem installing Oracle 11gR2 on Windows 7 x64

    Hello everyone, beforhand thank you for helping a rookie. :-) I getting an error message that my installation path contains empty spaces. C:\Program Files\.... In previous Releases of Oracle you could cancel these error message. Not in 11gR2. Does an