Commands to Print Word Document in Reverse Order and Only Evens or Odds

I have an HP Photosmart printer that doesn’t have automatic duplex printing, so instead of manually printing the odds and then flipping the paper and printing the evens, I decided to write a script (I’m very new to script writing, so go easy on me):
tell application "Microsoft Word"
print out active document print out page type print odd pages only
end tell
display dialog "After the papers finish printing and after you place the papers back into the printer, rotated 180º, click OK." buttons {"OK"} ¬
default button "OK" with icon note
set the user_choice to the button returned of the result
if the user_choice is "OK" then
tell application "Microsoft Word"
print out active document print out page type print even pages only
end tell
end if
The only things that are working are the printing and the dialog box. The odd pages and even pages scripts don’t seem to work (though I read this passage from Guy Hart-Davis’s +AppleScript: A Beginner’s Guide+ http://books.google.com/books?id=9uBeokAwNLsC&lpg=PA303&ots=ICfmxTfG-W&dq=apple% 20script%20print%20odd%20number%20pages&pg=PA303#v=onepage&q&f=false) and I can’t find any command that will print my even pages in a reverse order. Any help would be so much appreciated.
Message was edited by: mattshank

I believe I got the script to print the second round in reverse order, but I still can’t get it to print odd pages only and even pages only.
tell application "Microsoft Word"
print out active document
end tell
display dialog "After the papers finish printing and after you place the papers back into the printer, rotated 180º, click OK." buttons {"OK"} ¬
default button "OK" with icon note
set the user_choice to the button returned of the result
if the user_choice is "OK" then
tell application "Microsoft Word"
print with properties {print reverse}
end tell
end if

Similar Messages

  • How to print a document in reverse order using Java Print API ?

    I need to print a document in reverse order using Java Print API (*Reverse Order Printing*)
    Does Java Print API supports reverse order printing ?
    Thnks.,

    deepak_c3 wrote:
    Thanks for the info.,
    where should the page number n-1-i be returned ?
    Which method implementation of Pageable interface should return the page number ?w.r.t. your first question: don't return that number but return page n-1-i when page i is requested; your document will be printed in reverse order. Your class should implement the entire interface and wrap the original Pageable. (for that number n your class can consult the wrapped interface; read the API for the Pageable interface).
    kind regards,
    Jos

  • Adobe Pro - will not print word documents to pdf.. keeps crashing

    Hello,
    I have Acrobat Pro and when I try to print Word documents it says printing... and then crashes. The window to select the name of the pdf to print to never pops up. The Word program crashes and reopens. The print icon appears on the system tray and just says spooling.
    I am using Word 07.
    Acrobat Pro was working fine to print PDF's on this version of word for a few months then for some reason it just stopped.
    When I print PDF's from existing PDF's it works fine.
    I have tried to repair the program but it did not help.
    Any ideas?
    Thanks,
    Miguel

    If you are having problems creating a PDF, there are two steps you should do FIRST
    Go to the appropriate vendor web site and apply all updates to the program you are using (several recent messages have concerned problems with MS Office conversion, with the response that different versions of Office have different BUGS that must be fixed by a download from Microsoft - and MS Office products are not the only ones which may, from time to time, need to be updated to work properly)
    Apply all updates IN NUMBER ORDER
    Acrobat Update http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows

  • Pages won't print Word documents

    All of a sudden I can't seem to get Pages to print Word documents. Pages documents print fine, but if I send a Word document to the printer, the printer seems to start, but then never prints. I have an Epson Stylus C86. This problem only happens in Pages and only with Word documents.
    Any ideas?

    Since it only happens with Word docs, I'm wondering if it's a font issue. For the sake experimentation, try highlighting the entire doc, and change fonts, then try printing again.
    -Dennis

  • Trying to print word document in postsript format it gives invalid flavor

    I want to print word document in PDF format or post script format.I have installed PDF writter .This gives exception -invalid Flavor
    Please help me how shall i correct this
    import java.io.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    import javax.print.event.*;
    public class PrintPage {
    public PrintPage() {
    public static void main(String[] args) {
    try {
    // Open the image file
    InputStream is = new BufferedInputStream(new FileInputStream("E:/a.doc"));
    // Find the default service
    DocFlavor flavor = DocFlavor.INPUT_STREAM.POSTSCRIPT;
    PrintService service = PrintServiceLookup.lookupDefaultPrintService();
    // Create the print job
    DocPrintJob job = service.createPrintJob();
    Doc doc = new SimpleDoc(is, flavor, null);
    // Monitor print job events; for the implementation of PrintJobWatcher,
    // see e706 Determining When a Print Job Has Finished
    // PrintJobWatcher pjDone = new PrintJobWatcher(job);
    // Print it
    job.print(doc, null);
    // Wait for the print job to be done
    // pjDone.waitForDone();
    // It is now safe to close the input stream
    is.close();
    } catch (PrintException e) {
    e.printStackTrace();
    } catch (IOException e) {
    e.printStackTrace();
    }

    This mean your printer did not support this DocFlavor.
    Try to find what DocFlavor your printer support.
    // Just check the default one
    PrintService service = PrintServiceLookup.lookupDefaultPrintService();
    DocFlavor[] flavors = service.getSupportedDocFlavors();
    for (int i = 0; i < flavors.length; i++) {
    System.out.println(flavors.toString());

  • Acrobat Pro XI Will Not Print Word Document with a Rotated Table

    I have a MS Word document that is mostly text, but include a table that has been rotated in a text box to fit on the page.  When I try to print to PDF using Acrobat Pro XI, the document crashes at the page the table is on.
    I have tried several attempts to print using the Acrobat Printer, convert to PDF feature and trying to print just the page alone.  Acrobat will simply not print word document with a rotated table.
    Any idea how to fix this?
    Word 2013, Windows 7, Acrobat Pro XI 11.0.06

    In the full document, the print to PDF goes only as far as the table, then ends - not printing the table.  The remaining pages are not printed.
    For example, I have trimmed the file down to just the table page, and included links to it, and a copy of the PDF it generated.
    https://dl.dropboxusercontent.com/u/60543835/Forums/Table%20Sample_140903.docx
    https://dl.dropboxusercontent.com/u/60543835/Forums/Table%20Sample_140903.pdf
    The error message I now get when I try to print is: "There is not enough memory or disk space to repaginate or print this document."
    However, with the Task manager open, the memory never seems to get above half of the available (the graph bar fluctuates a little, but stays stable")
    The page prints to a regular HP or Xerox printer with no problems. 

  • Printer will not print word documents or documents from internet however does a test print

    My printer will not print word documents or documents from the internet.  However it does complete a test print.  I have uninstalled and reinstalled printer.  I have disabled and enbled the firewall and have run the test doctor programme, which has been unable to identify any problems.  I have a HP deskjet 3050A all in one J611 series printer.

    Sorry that you are having a problem with printing word documents and internet. 
    Are you connected USB or wireless?
    You can try to download an alternative driver and check to see if that works. (Shane_R) has a great post on how to do so. 
    The deskjet 990c is usually the better one. 
    http://h30434.www3.hp.com/t5/Printer-All-in-One-So​ftware-Drivers-e-g-Windows-8/How-to-Assign-Alterna​...
    **Click the KUDOS star on the left to say 'Thanks'**
    Please mark a reply "ACCEPTED AS SOLUTION" if it solved your problem, so others can find it.

  • I can print word documents but can not print email messages

    i can print word documents but can not print email messages
    I am using an officejet 4500 wireless on  Windows 7

    I called HP and after being on the phone for 1 1/2 hrs  They reinstalled my printer and I printed an alignment page without then I tried to print arouble  I was also able to scan a page to HP.      When I tried to print something from my email  it barely printed 2 faded lines and that was it  I openrd my word documents and was able to print a clear copy.  HP told me my cartrige was empty so I changed my cartridge with no results it was the same.  I use refill  CATRIDGES AND NEVER HAD ANY PROBLEMS but they told me they can ruin a printer.  I told them I would purchease new HP cartridges and they we agreed they would call me back on Monday to determine if my problems were solved with the new cartridges.  What I don't understand is how I can print documents but not emails.   HELP

  • Printing Word Documents on HP Deskjet 5150

    I have a G4 flat panel iMac connected to a HP deskjet 5150 printer. When I try to print Word documents, it will only print a single page of multipage documents. If I want multiple copies of a single page document, it will only print one copy. All other applications print without problem.
    I have reinstalled the drivers and that has not solved the problem.
    Any help would be appreciated.
    iMac G4   Mac OS X (10.3.9)  

    Hi Georgia and others,
    I have a similar problem - but printing from Word to a HP DeskJet 960 printer.
    It dones not seem to be a problem with all documents here, but since I yesterday used several hours trying to figure out what caused the problem I want to share my experiences with you. I had the same problem with another document on the same printer some moths ago (but not on our Laser printers at my company office).
    I installed the newest printer driver from HP (several times) with no effect. After opening the document and saving it to a ".txt" document - without any formatting - the whole document got printed! This is not a real solution in most cases, as one loses all the formatting etc. But it indicated to me that the printer worked and communicated with word. Also it was possbile to print (other) documents without any problems to the same printer, at the same time.
    So have you tested different documents on your printer?
    I'm wondering if this indicate that the problem is hidden somewhere in something inside Word/Office and it's communication to the printer - as I have seem someone reporting similar problems with printing from Excel? (something with some "codes" in specific documents?).
    Also, I have seen an update from Apple on some issues with printing from Preview - so I was also wondering if the use of "Show quick Preview" in Word/Office does has something to do with this problem? Has anyone tried to de-select this feature before trying to print? (I deleted the problematic document and can not re-create the problem currently).

  • Printing word document

    Hi
    Can any one help how to print multiple documents using java,
    can we print word document using java
    thanks in advance

    Hi there
    I have tried this code to print the word:But it display nothing.So i want to know that what's wrong with my code.Thanks for any suggestion.
    using RasterEdge.Imaging.Basic;
    using RasterEdge.Imaging.Basic.Core;
    using RasterEdge.Imaging.Basic.Codec;
    using RasterEdge.Imaging.MSWordDocx;
    namespace RE__Test
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    public static string FolderName = "c:/";
    private void button1_Click(object sender, EventArgs e)
    RasterEdgeImaging Word = new RasterEdgeImaging();
    public void WordProcessorPrint();
    WordInputFile = (@"C:/1.docx");
    WordPageNumberStart = "1";
    WordPageNumberStop = "4";
    Printer = (@"C:/ HP Color LaserJet Pro M1213nf");
    Word. Word Processor Print(@"C:/1.docx", "0","4", @"C:/ HP Color LaserJet Pro M1213nf");

  • Just installed 10.6. Unable to print word document with outline numbering

    Just installed 10.6.8. Can't print Word document with outline numbering.

    You mean USB HUBs, correct? Not routers.
    Yes remove the HUBs and try the drives connected directly to the computer.

  • I cannot print word documents but can print all other documents

    Since updating my virus checker I cannot print word documents. I can print all other documents

    At this point my suggestion is to do a full uninstall of the old print driver and an install of the most recent version print driver which you can obtain at:
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=228&lc=en&cc=us&dlc=en&sw_lang=&product=40664...
    Please follow the uninstall procedure before installing the new driver.
    Regards,
    Eric
    I am an HP employee.

  • Problems printing word documents

    Hello
    My friend as a powerbook and a HP printer, and is having problems printing word documents, nothing shows up in preview when you press print just a blank page pops out. You can print pictures fine from iPhoto, any ideas?
    Popping over tomorrow to see if I can get it working. My friend emailed a document and I had no trouble printing it.
    Paul.

    Hello MaradaMMA,
    Welcome to the forum.
    Can't test at the moment, but, if after clicking the print
    button, in the option tab, can you select "as laid out on screen",
    then click Print?
    Hope this works, if not, please post back
    Regards,
    Brian

  • How do I convert a word document into a pdf and then upload it to a web site

    How do I convert a word document into a pdf and then upload it to a web site so people can read it from my
    site with Dreamweaver 4?. How can I do this? Can anyone please help? I'm only a newbie. Thanking you in anticipation.

    First you need to install a means of printing to pdf from word.  I like cutepdf writer ( http://cutepdf.com/Products/CutePDF/writer.asp ).  Once installed you will print the doc in word and under the printer selection you choose pdf.
    Once you have the file you put it in your local site folders and upload it using Dreamweaver.  Be sure to link to it from a page so users can get to it and I would recommend giving the link a target of _black so it will open in a new window (see the properties inspector in DW).

  • Double click a word document in your PC and have it opened with Buzzword

    I am trying to replace Microsoft Word with Buzzword but I keep receiving emails with word attachments or downloading word documents from other websites and is really tedious to manually import each of those documents into Buzzword to read/edit it.
    Why don't you create a small utility that I can install in my local PC so that when I try to open a word document, it automatically imports it into Buzzword and opens it in my browser?
    I try to post this in the Acrobat.com ideas section of this forum but it is blocked!
    I am also open to develop this utility by myself but:
    There is no way to obtain an Acrobat.com development key. The email address where the key requests need to be sent no longer exist.
    I didn't see in the API any method to import into Buzzword. I only saw the option to upload the file and another missing feature in Acrobat.com is that you cannot import a word document already uploaded into buzzword. You need to download it and upload it again using the Import button.

    Automatic syncing between the Mac and iCloud is not supported at this time.  Which is good, as there is a difference between the Pages file format used on iOS - and, thus, on iCloud - and the file format on a Mac.  Due to limitations of iOS, the format on iOS is less comprehensive, and automatic syncing might cause your Mac copy to lose some formatting.
    In order to upload a Pages file from the Mac to iCloud, you log in to iCloud and upload it there.  You can also download from there, but be warned that the version you download could be missing some formatting.

Maybe you are looking for

  • Why is syncing ical not working with mobile me?

    I have been having 2 macbook pros and a new imac sync ical, mail and address book.  The imac is on Lion, the laptops are 10.6.8.  They were syncing fine until a week or so ago.  Is this because the 2 are not Lion?  I am using mobileme, not yet switch

  • Download servlet from external server

    I write a download file servlet. It should download files from external ftp and make the save as dialog window save it with proper extension. It gets 3 parametes: http://10.60.1.1:8080/sd-sp45/DownloadServlet?fileName=55555.doc&filePath=000/000/000/0

  • T43 2687-d3u bsod determined to be short in bridge connecting hdd to mobo now what?

    Greetings, So I got the BSOD. Initially thought my hdd died. Purchased a new hdd, still no luck. Determined that the bridge connecting the hdd to the motherboard is loose, presumably from holding the laptop with only 1 hand on the right side of the m

  • Account trouble   help!!!

    I got a new ipod nano for christmas. when I tried to redeem a gift card on itunes I needed to create an account. I made it to the point where you enter a credit card. Heres where the problem arrises I don't have a credit card to enter. So I need to k

  • External antenna on mini PCI WiFi card

    Hello,     The stock mini PCI WiFi card on the MEGA 865 has terrible range.  I can not connect to an access point beyond 20 feet.  Can an external antenna be added to the card?  Does someone sell a mini PCI WiFi with external antenna?  The new MEGA 8