Auto printing using Applescript

Hi,
I am trying to get Applescript to automatically print a document from an application (Intaglio) using the standard Apple print dialog sheet. I have gotten this much of the script working:
tell application "Intaglio"
activate
tell application "System Events"
keystroke "p" using command down
delay 2 -- (seconds)
-- Some how select printer "Foo"
-- Some how click checkbox "Two-Sided"
--click checkbox "Two-Sided" of sheet 1 of window "Test.intaglio"
keystroke return
end tell
quit
end tell
However, I cannot figure out how to select a printer from the "Printer:" pop up menu. Nor can I figure out how to "click" a checkbox. I would be very grateful if anyone could offer any suggestions on accomplishing these two tasks. Thanks
-p

edit: make sure you have 'enable access for assisted devices' selected in 'system preferences-universal access-seeing'
On your computer you have an application called Accessibility Inspector. This will help give you the correct names for addressing all the elements of the window.
Below is just an example of what the syntax might be.
tell application "Intaglio" to activate
tell application "System Events"
tell process "Intaglio"
select item 2 of menu 1 of tab 1 of window "Print"
delay 1
click button 3 of tab 1 of window "Print"
end tell
end tell
Message was edited by: taylor.henderson

Similar Messages

  • Batch printing using Applescript - no longer works

    For several years I have been using a simple Applescript to monitor the contents of a folder, print new files then delete these files:
    on adding folder items to this_folder after receiving added_items
    repeat with each_item in added_items
    tell application "AddPrinter" to open each_item
    delay 30
    tell application "Finder" to delete each_item
    tell application "AddPrinter"
    quit
    end tell
    end repeat
    end adding folder items to
    After the last Mavericks update it has stopped working and gives the error message "the document m3.txt could not be opened. AddPrinter cannot open files in the text format"
    The same happens for PDF files - it seems that AddPrinter app has been changed and this functionality no longer works.
    Is there some way to restore the previous AddPrinter functionality (I tried copying and using an old verison of the app, without success)?
    Or is there another app that will work as intended?

    I have found an alternative to the AddPrinter.app that sort of works in this Macscripter tip from 2004:
    http://macscripter.net/viewtopic.php?id=9835
    do shell script "/usr/bin/lp '"
    calls up the Unix print command (LP = line printer!)
    This enables me to print .txt, rtf, pdf and jpg files
    Here is the new script:
    on adding folder items to this_folder after receiving these_items
        try
            tell application "Finder"
                repeat with i from 1 to number of items in these_items
                    try
                        set this_item to item i of these_items
                        set the path_string to this_item as string
                        set the final_path to POSIX path of the path_string
                        do shell script "/usr/bin/lp '" & final_path & "'"
                    on error error_message
                    end try
                    delay 30
                    tell application "Finder" to delete this_item
                end repeat
            end tell
        on error error_message
        end try
    end adding folder items to
    Now I just need to find out how to do some minor formatting such as font size and margins...
    Now digging into the CUPS manual:
    http://www.cups.org/doc-1.1/sum.html

  • Auto Printing A PDF Using v7 Onwards

    I have upgraded to version 10 of Acrobat and I am now having an issue with auto printing a PDF.
    My objective is to load a PDF within a new browser window and for it to print to the default printer without need for the user to do anything. The user will press a button which will activate a perl program with javascript.
    When I was using Acrobat 6 the PDF would print automatically but now it shows an alert stating "This document is trying to print.Do you want to allow this?". Selecting "Yes" prints it to the default printer on the machine.
    The code I currently use which worked in Acrobat v6 (7 onwards it does not work) is,  prInit('this.print({bUI: false, bSilent: true, bShrinkToFit: true});');
    Any help with this is appreciated.
    Steve

    Adobe has found others are silently or without permission  saving forms or print forms to somewhere other than the user's system.
    New security restrictions have been added. See the Acrobat JS API Reference for information about creating a trusted function that is placed in an Acrobat application folder of each user needing to save or print a copy of the open PDF.
    JavaScript for Acrobat

  • Printing problems, black mark appears on document when printing using auto portrait/landscape

    As the title says, pdf is fine on screen but when printing using auto portrait/landscape a black mark appears on the screen as in the photos below
    when the orientation is selected the line disapears and the print works correctly
    Anyone have any idea why this would happen?
    Thanks
    Ben

    Hello Pelle,
    Thanks for the feedback. Our printing code in Adobe Reader Touch doesn't have that capability right now, but since you mention it we should probably do what you're requesting by default. I'll put that into our backlog for a future update, but I can't say yet when it will be available.
    In the interim, if you have pages that are different orientations, you can print them in blocks manually to get what you want, but I understand that's a hassle.
    Dennis

  • 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…

  • Setting options in "Printer" section using Applescript InDesign CS

    How can i set define supplementary options found in the "Printer" section of the InDesign dialog box in a print preset using Applescript?
    I would like my script to set duplex option with the proper binding, according to the page orientation.
    When creating print presets manually, these extra options are stored in the print preset, but I can't find how to access them thru Applescript.
    Thanks,
    Peter

    Shane,
    Thanks for your reply, but it is not yet clear to me.
    I know you can set some print properties in the Apple Print event, such as copies, collating, target printer ...but how can I adress the printer-specific options, such as duplex printing? Could you give me a sample line of code?
    And next step, how can I include this "Apple -print" setting in an InDesign Print preset using Applescript? I suppose I have to set the apple printer prefs before creating the InDesign preset. Right?
    Thanks in advance,
    Peter

  • Using AppleScript to auto-archive mail in Outlook 2011

    I want to use AppleScript to set up a schedule to auto-archive mail greater than X days old. What I've found so far is below, and the error I'm receiving is "error "Microsoft Outlook got an error: Can’t get pop account \"TargetProcess\"." number -1728 from pop account "TargetProcess"".
    # the time we want to archive from
    set theArchiveCutoffTime to ((current date) - (32 * days))
    property theCount : 0
    tell application "System Events"
      set targetProcess to count (every application process whose name is "Mail")
    end tell
    tell application "Microsoft Outlook"
      set thisAccount to pop account "TargetProcess"
      set thisFolders to mail folder of thisAccount
    # find the "Inbox" of topFolder and "Mail ARCHIVE" of on my computer
      repeat with thisFolder in thisFolders
      if name of thisFolder is "Inbox" then
      set theInbox to thisFolder
      else if name of thisFolder is "Mail ARCHIVE" then
      set theARCHIVE to thisFolder
      end if
      end repeat
    # find the archive "Inbox"
      repeat with thisFolder in mail folder of theARCHIVE
      if name of thisFolder is "Inbox" then
      set theArchiveInbox to thisFolder
      end if
      end repeat
      set theArchiveTarget to theArchiveInbox
    # archive the Inbox
      repeat with theMessage in message in theInbox
      if time received of theMessage < theArchiveCutoffTime then
      move theMessage to theArchiveTarget
      set theCount to theCount + 1
      else
      # we get messages from oldest to newest
      exit repeat
      end if
      end repeat
    # archive sub-folders
      repeat with thisSubfolder in mail folder of theInbox
      # find the archive subfolder corresponding to this
      repeat with thisARCHIVEubfolder in mail folder of theArchiveInbox
      if name of thisARCHIVEubfolder is name of thisSubfolder then
      set theArchiveTarget to thisARCHIVEubfolder
      end if
      end repeat
      # archive messages
      repeat with theMessage in message in thisSubfolder
      if time received of theMessage < theArchiveCutoffTime then
      move theMessage to theArchiveTarget
      set theCount to theCount + 1
      else
      # we get messages from oldest to newest
      exit repeat
      end if
      end repeat
      end repeat
    end tell
    I'm working in AppleScript Editor v2.6.1 (152.1), Microsoft Outlook 2011 v14.3.5, OSX 10.9.4 Mavericks.

    Ok, red_menace above me had a shorter and more elegant solution to the question, I'm adding this just for another example.
    To solve your problem I'd make a mail rule that looked for any messages with "Filename:" in them (along with whatever criteria you wanted, like sender, domain, etc). The mail rule would execute the Applescript. My assumption is that the "Filename:foobar" text could be anywhere in the email, not necessarily the first thing in a paragraph, so I had to parse it differently.
    The results end up in a datalist, (theFilename {} ) that you can parse later to collect all filenames found in whatever messages were processed.
    I realize this could be cleaner, hope it's not hard to follow, but I did it really fast. It works flawlessly for me, picking out the name of the file no matter where in the email it appears.
    using terms from application "Mail"
    on perform mail action with messages theSelectedMessages for rule theRule
    repeat with aCounter from 1 to count theSelectedMessages
    set theMessage to item aCounter of theSelectedMessages
    set theContent to content of theMessage
    set theWords to every word of theContent
    set theFilename to {}
    set tid to AppleScript's text item delimiters
    set AppleScript's text item delimiters to ":"
    repeat with thisLoop in theWords
    try
    if (text item 1 of thisLoop) is "Filename" then
    set end of theFilename to (text item 2 of thisLoop)
    -- rest of your logic goes here the display is just to show it finds the filename, take it out!
    display dialog theFilename ¬
    buttons {"OK"}
    end if
    end try
    end repeat
    set AppleScript's text item delimiters to tid
    end repeat
    end perform mail action with messages
    end using terms from
    Message was edited by: stephen.bradley Typos for the win!

  • How to use Applescript to print out a certain calendar at 7am every morning?

    Hey guys,
    I am trying to use AppleScript to print out one of my calendars each day at 7am every morning.
    I have come up with this so far:
    tell application "Calendar"
           view calendar "My Appointments" at (my (current date))
           switch view to day view
           activate
                        tell application "System Events"
                     keystroke "p" using command down
                     delay 1 -- (seconds)
                     tell process "Calendar"
                                                      tell window "Print"
                                                                     if value of checkbox "Calendar Keys" is not 0 then
                                      click checkbox "Calendar Keys"
                               end if
                                                      end tell
                                       end tell
                        end tell
    end tell
    The problem with this is that it will print out whatever calendars are currently viewable. I can't figure out how to tell it to deselect other calendars and just select the one I want. I also want to tell it to print this out at 7am every morning.
    Any help would be very appreciated!

    If you wanted to do the printout over multiple days, you would be best to loop through each day's events in the way the current script does, but to put a new loop around it that gets each new day's data:
    --opens a temporary file
    set fileRef to open for access ((path to desktop) as string) & "meetings.txt" with write permission
    --effectively empties the file
    set eof fileRef to 0
    tell application "Calendar"
              set dayCount to 9 --this will be the number of days to look forward (not including today)
              repeat with currentDay from 0 to dayCount
                        set startList to {}
      --get's today's date
      --set startRange to ((current date) + 12 * days) -- I used this for testing, to point to a day that had many appointments.  I've left it so you can use it, too.
                        set startRange to ((current date) + (currentDay * days))
      --set the start of the range to previous midnight
                        set hours of startRange to 0
                        set minutes of startRange to 0
                        set seconds of startRange to 0
      --set end of the range to next midnight
                        set endRange to (startRange + 1 * days)
      --get today's events
                        set todaysEvents to get (events of calendar "My Appointments" whose (start date is greater than startRange) and (end date is less than endRange))
      --make a new list with start time of the event for sort purposes
                        repeat with theEvent in todaysEvents
                                  set end of startList to {startdate:start date of theEvent, eventID:theEvent}
                        end repeat
      --sort using a bubble sort (suitable for short lists)
                        repeat with i from 1 to (count of startList) - 1
                                  repeat with j from i + 1 to count of startList
                                            if startdate of item j of startList < startdate of item i of startList then
                                                      set temp to item i of startList
                                                      set item i of startList to item j of startList
                                                      set item j of startList to temp
                                            end if
                                  end repeat
                        end repeat
      --empty the original list
                        set todaysEvents to {}
      --repopulate the list in correct chronological order
                        repeat with theEvent in startList
                                  set end of todaysEvents to eventID of theEvent
                        end repeat
      --write today's date to the file
      write (date string of startRange & return & return) to fileRef
      --if there are no events, write this to the file as well
                        if length of todaysEvents is 0 then
                                  write "No events" & return & return to fileRef
                        else
      --process each event into format: hh:mm-hh:mm/new line/event summary
                                  repeat with theEvent in todaysEvents
                                            set startdate to start date of theEvent
                                            set enddate to end date of theEvent
                                            set startHours to hours of startdate as string
                                            if length of startHours is 1 then set startHours to "0" & startHours
                                            set startMins to minutes of startdate as string
                                            if length of startMins is 1 then set startMins to "0" & startMins
                                            set starttime to startHours & ":" & startMins
                                            set endHours to hours of enddate as string
                                            if length of endHours is 1 then set endHours to "0" & endHours
                                            set endMins to minutes of enddate as string
                                            if length of endMins is 1 then set endMins to "0" & endMins
                                            set endTime to endHours & ":" & endMins
      --write the event to the file
                                            set theSummary to (starttime & "-" & endTime & return & summary of theEvent & return & return) as string
      write theSummary to fileRef
                                  end repeat
                        end if
      write return to fileRef
              end repeat
    end tell
    --close the file
    close access fileRef
    --print the file
    set theFile to (((path to desktop) as text) & "meetings.txt") as alias
    tell application "TextEdit"
              print theFile without print dialog
    end tell

  • Using Applescript to print calendars in MS Outlook

    I print my daily in portrait orientation, with the task list.  I like to print my weekly calendar in landscape orientation, without the task list.
    I'm new to Applescript and have been poking around in the Outlook library but can't find anything there that indicates how to even just print Calendars using Applescript.
    Is there a way to change the page setup to landscape orientation, then print the weekly format (without tasks) and the reset the print orientation to portrait?
    Thanks in advance-
    Tom
    Mac OS 10.6.8

    You mention using AS to set the preset. Do you know how to do that?
    I'm trying to find out how to use a print preset in Applescript on 10.6.7. The only things I've found on the internet suggest running a terminal command that changes the preset, but they are talking about 10.4 and it doesn't work in 10.6. I can't find the answer to this anywhere. It seems like it should be rather simple.

  • Having trouble using applescript to save pdf as excel spreadsheet

    I have been trying to use applescript to create an automator action to convert some downloaded PDF's to .xlsx format.  After reviewing a good bit of the SDK documentation, I came up with the following scripting:
    tell application "Adobe Acrobat Pro"
                                  open theFile
                                  save front document to file theNewFile using conversion "com.adobe.acrobat.xlsx"
      close front document
    end tell
    This script works fine when I use the "com.adobe.acrobat.plain-text" conversion or the png or jpeg conversion. However, I cannot get it to work with "com.adobe.acrobat.xlsx" or "com.adobe.acrobat.spreadsheet".  Note that although I didn't copy the code here that sets theNewFile variable, I have been changing it to the appropriate file extension when changing conversion strings.
    When I execute the script using one of the problem conversion strings, Acrobat opens the file successfully, but it just sits there, as if it does not understand the save command at all.
    I guess I should mention that the whole goal here is to actually convert the PDF's to CSV eventually.  The next step was going to be to open the file in Excel and save as CSV.  If anyone knows a *free* way to go straight from PDF to CSV using Applescript/Automator without having to go through all these other programs, I would be very appreciative for the suggestion.  This conversion is just a small part of a very lengthy workflow but it is causing me the most trouble.

    Hello Jonathan,
    Ok i have only one final question.
    Do you know how to work in photoshop, don't you? Ok i think yes.
    Well i have 2 ways to do that, i did one action from photoshop that will get the image inside folder and will convert this image in pdf. Abouve the line of script
    that you have to attach to folder action and the action for Photoshop.
    About the action for Photoshop give me your email address and I send you, or do it your self. You have to do this: open one image in JPG, go to action, go new set, put your name of set, put the name of action if you like you can change the name, go print with preview, print and set save as PDF close your file and stop the action.
    Now that you have to do is put all your files inside your folder and leave the Photoshop do it for you, ok?
    Good Luck
    Hack
    property speak_alert : false -- if true, the script will speak the alert. If false, the script will display an alert dialog
    property dialog_timeout : 30 -- set the amount of time before dialogs auto-answer.
    property copychecksindicator : false
    property itemcheck_delaytime : 2
    property foldercheck_delaytime : 3
    property speciallabelindex : 7
    on adding folder items to this_folder after receiving added_items
    if copychecksindicator is true then
    set the added_items to my checkaddeditems(the added_items)
    if the added_items is {} then return "no vaild items"
    end if
    tell application "Finder"
    activate
    set this_folder to choose folder with prompt "pdf"
    set these_files to every file of folder this_folder
    end tell
    tell application "Finder"
    repeat with i from 1 to number of items in these_files
    set this_path to (item i of these_files) as string
    tell application "Adobe Photoshop CS2"
    launch
    open file (this_path as string)
    set this_files to current document
    do action "Jpg" from "Jpg para Pdf"
    end tell
    end repeat
    end tell
    end adding folder items to

  • HP Laserjet P4014dn won't auto print from tray 1

    HP Laserjet P4014dn stopped auto printing from tray 1. Can't manually print from there either. Now it always pulls from tray 2 (bottom tray) even if paper is loaded in tray 1. Auto print is selected in software setting. SN [Personal Information Removed] CB512A. Help!

    There may be a couple of reasons why the printer will not auto print from Tray 1.
    The following references the User Guide for the printer which you can obtain from here:
    http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01295101/c01295101.pdf
    Page 18 of the User Guide has the section "Paper Handling Menu".
    This section defines the menu items that can be used to set Size and Type for Tray 1.
    Page 85 of the User Guide has the start of the Configure Trays Section.
    In this section there are two notes.  If Tray 1 is set to ANY SIZE and ANY TYPE, the printer will pull from that tray whenever media is loaded in that Tray.  If Tray 1 is set to a specific size, it will act like a Cassette.  This means that it will follow the paper handling model of Trays 2, 3, etc..
    Example:  Tray 1 is set to Letter, Tray 2 is set to Letter.  When a job is sent from the PC requesting Letter and the Sources is Auto, the printer FW will look for the highest number tray that has letter installed and pull from that tray.  Thus, Tray 2 will always be used unless Tray 2 doesn't have paper.
    Page 86 has the section "Configure a tray by using the Paper Handling menu".
    Follow the steps in this section to validate that Tray 1 is set to ANY SIZE and ANY TYPE.  If not set to ANY SIZE, ANY TYPE then change the setting to be ANY SIZE and ANY TYPE.  You may have to scroll through the list of sizes and types to find what you are looking for.
    Once possibility is that the printer is not detecting that paper is loaded in Tray 1.  One method to verify this is to remove all paper from Tray 2 and lower trays if there are more than just Tray 2 installed. This will force the printer to pull paper from Tray 1 if paper is present.  If paper is present and the Tray 1 menu items are set to ANY SIZE and ANY TYPE and the printer prompts for you to load Tray 1 with paper, it is possible that the printer is not detecting that paper is in the tray.
    In this case, I would recommend you contact HP Support as the media presence sensor may no longer be working properly.
    Kazman
    I am an HP Employee
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution

  • Unable to print with AppleScript

    Hi all,
    I would like to print a PDF document via AppleScript. I tried to use a the following AppleScript code
    set my_pdf to "/Users/fabrice/tmp/a.pdf"
    tell application "Adobe Reader"
    activate
    open (my_pdf)
    print
    end tell
    end run
    After script execution, the document is correctly in opened in Adobe Reader, but there is a dialog box with the following message: "AppleScript Error: Error in Abode Reader : unable to continue with print".
    It seems that the "print" command is not recognized as an Adobe events.
    For information, i'm never be able to successfully execute the "PrintPage.applescript" found in the "Acrobat 9 SDK". It doesn't compile.
    Any advices ? Thanks for your help ?

    Printing is a Function, of the system Your going to figure out how to open the PDF then have system call the printer. Note while Printing is a Function of the System it is called from with the application. If this will help the Command key  + the P Key opens the Print Window. I am not a person that uses Applescript so I can not tell you how to make the script.

  • How do I use AppleScript to Change the Creation Date to the Current Date?

    I sorted my downloads folder by creation date and found that the items were sorted seemingly randomly. On closer inspection, I saw that the creation dates were not the same as the dates that I downloaded the items, so I figures that Snow Leopard was using the date given to it by the server.
    In order to get the items sorted by download date, I figured I'd use Hazel, but it doesn't have a “change creation date” item. It does, however, have an “run AppleScript” item.
    So my question is this: how do I use AppleScript to change the creation date of an item to the current date?

    TC (Techno Cat) wrote:
    Okay, I tried changing the creation date with SetFile, but it kept giving me an error:
    What am I doing wrong?
    Looks like the date and time was not quoted
    Try this Applescript. It will change the creation date of every file in the Downloads folder to the current date and time:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #E6E6EE;
    overflow: auto;"
    title="this text can be pasted into the AppleScript Editor">
    set current_date_and_time to do shell script "date \"+%m/%d/%Y %H:%M\""
    tell application "Finder"
    set filelist to every file of the alias (the path to downloads folder as text)
    repeat with currentFile in filelist
    do shell script "/usr/bin/SetFile -d " & quoted form of current_date_and_time & space & quoted form of POSIX path of (currentFile as string)
    end repeat
    end tell</pre>

  • Can't do wireless printing using my macbook

    hello all!
    i need a little bit of help here as i'm new to wireless printing.
    i bought a new wireless-N router from Aztech model GR7000, it has two USB ports and allows files sharing and printer sharing. I have connect my Canon MP258 (a normal non-wireless All-in-One printer) to the router and i have successfully set up my desktop and my brother's laptop (both running windows vista) to print wirelessly. I have also set up my bootcamp (windows7) on this macbook pro i'm using to print wirelessly successfully. However, the problem comes when i wish to set up my macbook (OS X 10.6.6) to connect to this printer. The following are the steps i did to add this printer:
    Added under IP
    Protocol: Internet Printing Protocol
    Address: my router's IP address (e.g. 192.168.x.x)
    Queue: left blank
    Name: my router's IP address (e.g. 192.168.x.x)
    Location: left blank
    Print Using: Auto Select and it sets it as Generic PostScript Printer
    after which i went to the Print & Fax page to change the settings using Options & Supplies, i changed the driver of the printer to Canon MP250 series. I set this printer as my default printer and there is a green idle light below my printer name. I assumed this means my macbook has successfully registered my printer and detected it as online. However, when i go on with printing, nothing happens and the job queue will show my document is printing but will never be done printing. Anyone can please provide me some advices? I am lost. Thank you.

    Hello and welcome to Apple Discussions.
    When you have the Canon AIO connected to the USB port of a wireless router/print server you cannot use the Canon provided drivers (or use Generic Postscript as you have done so far). Normally for this type of connection you need to use a CUPS driver, such as Gutenprint or PrintFab.
    Gutenprint is preferred because it is free however your new MP258 is not listed as a supported model. So you could try using a different model of Gutenprint/Canon driver, such as the MP160, but you could waste a lot of ink, paper and time trying to find a good match.
    So your other option is [PrintFab|www.printfab.net] which supports more recent models of Canon inkjets and costs €49. Your MP258 is not listed on PrintFab either, but your model could be region based (we have a similar thing in Australia with the MP495) and therefore may work with the MP250 or MP260.
    Another option would be to replace the Aztech with an Airport Express or Extreme. Airport devices do allow you to use the Canon supplied drivers.

  • How to append paragraph in text file of TextEdit application using applescript

    how to append paragraph in text file of TextEdit application using applescript and how do i save as different location.

    christian erlinger wrote:
    When you want to print out an escape character in java (java is doing the work in client_text_io ), you'd need to escape it.
    client_text_io.put_line(out_file, replace('your_path', '\','\\'));cheersI tried replacing \ with double slash but it just printed double slash in the bat file. again the path was broken into two lines.
    file output
    chdir C:\\DOCUME~1\
    195969\\LOCALS~1\\Temp\
    Edited by: rivas on Mar 21, 2011 6:03 AM

Maybe you are looking for

  • I'm so disappointed with my new Creative Zen

    hi Amy,Its probably best to go into Zen Media Explorer, assuming you have loaded the software from the supplied disc, the open up your song files anf delete using your delete button on your keyboard, Try it once just to make sure yHey everyone, I was

  • Certain Keys on Keyboard No Longer Work

    Hello, As of a few minutes ago, my standard wired Mac Keyboard appears to be malfunctioning. The Tab and Caps Lock keys no longer work, and certain combinations of keys, such as alt-apple-esc, to bring up the force quit menu is no longer working eith

  • Slice image OK in DW, but not on web?

    I am attempting to create my first sliced image using CS3 and DW. The image loads properly in DW, but when I refresh it in a browser it has extra spacer.gif created a maligned image? Any thoughts on how to fix this would be greatly appreciated. I hav

  • Pixar Shorts

    When syncing with Apple TV I get an error message relating to 5 of my 7 Pixar Short - that the video format is not supported by Apple TV but 2 of them sync without a problem. I can't find a single piece of logic that would explain this - they were al

  • How to export the result to excel or txt as the SQL result format.

    Hello, I want to know how to export the result of the Oracle select result to a txt or a excel file.What is the command. I knew the command of spool,but the format of it export is not the same to the result of Oracle result area. Thank you very much.