+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Newbie
    Join Date
    Dec 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb Automating printing dilema.. please help me urgent advice needed

    Hi

    I am trying to make an action to print a 6x8 photo, landscape on a kodak printer.

    I have made the printer default already and can print from it using an action.. However I cannot seem to be able to automate printing a 6X8 photograph.
    the file size is correct and I have printed a photo that size with the pre defined presets of that printer driver using an action that I created

    However when I close and reopen photoshop it prints as a 6x4. Which is the default size for that print driver ( it is a Kodak print Kiosk that we are trying to control from a laptop and we will be printing photos on the go every day for a month... we are doing santa photos.

    So what happens is that we have a template setup which an action imports the photo into.. then we want to print it as a 6x8 photograph - landscape orientation.

    Can this be done in an action or is there a way so we can have this as a default photoshop print setting??
    the paper size is 6" wide and is on a roll...

    I really need to sort this by tomorrow afternoon as we are setting up the next day to photograph etc.


    Help would be GREATLY APPRECIATED as I am rather stressed about this at the moment.

  2. #2
    The Script Master
    Join Date
    May 2009
    Location
    Bradford,UK
    Posts
    208
    Thanks
    0
    Thanked 39 Times in 34 Posts
    You will need to set Photoshop up at the begining of your session to print as you require. Setting presets isn't possible from Photoshop, maybe with an external program.

    I think CS3 had a problem where you couldn't use an action to print and had to use a one line script..
    activeDocument.printOneCopy();
    Here is what can be done via a script...
    Code:
    var doc = app.activeDocument; 
    doc.printOneCopy(); //Print One Copy
    doc.printSettings.flip = false;
    doc.printSettings.setPagePosition(DocPositionStyle.SIZETOFIT);
    // DocPositionStyle.USERDEFINED 
    // DocPositionStyle.PRINTCENTERED 
    // DocPositionStyle.SIZETOFIT 
    doc.printSettings.negative = false;
    doc.printSettings.caption = true/false; 
    doc.printSettings.labels = true/false; 
    doc.printSettings.cornerCropMarks = true/false; 
    doc.printSettings.centerCropMarks = true/false; 
    doc.printSettings.colorBars = true/false; 
    doc.printSettings.regMarks = true/false; 
    doc.printSettings.negative = true/false; 
    doc.printSettings.flip = true/false; 
    doc.printSettings.interpolate = true/false; 
    doc.printSettings.vectorData = true/false; 
    doc.printSettings.hardProof = true/false; 
    doc.printSettings.mapBlack = true/false; 
    doc.printSettings.printSelected = true/false; 
    
    var bgColor = new SolidColor; 
    bgColor.rgb.red = xxx; 
    bgColor.rgb.green = xxx; 
    bgColor.rgb.blue = xxx; 
    doc.printSettings.backgroundColor = bgColor; 
    
    doc.printSettings.renderIntent = Intent.PERCEPTUAL;
    //intent.SATURATION/ intent.RelativeColorimetric/intent.intent.AbsoluteColorimetric; 
    
    doc.printSettings.printBorder = xx; 
    doc.printSettings.bleedWidth = xx; 
    doc.printSettings.setPagePosition(DocPositionStyle, X (optional), Y (optional), scale (optional));
    doc.printSettings.setPagePosition(DocPositionStyle.USERDEFINED, 1.5, 2.0); 
     
    var currPrinter = doc.printSettings.currentPrinter; 
    var message = "Printer is: " + currPrinter; 
    alert(message); 
    
    printers = doc.printSettings.printers; 
    message = "Printers are: " + printers; 
    alert(message);

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Powered by vBulletin® Version 4.1.9
Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.
Content Relevant URLs by vBSEO 3.6.0
Copyright 2011 Photoshop Gurus Forum. All rights reserved.
All times are GMT -5. The time now is 03:15 PM.
vBulletin Skins