Automatic print

Hello,
I need to print automatically from a software I develop.
I think I'll use a script for this.
I have 2 questions:
1.
the command:
"C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe" /p /h "C:\TEST\myfile.pdf"
works, but it goes on the defaul printer.
So I'm trying with:
"C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe" /t "C:\TEST\myfile.pdf" "\\mycomputer\myPrinterWithA SpaceInTheName"
but it doesn't work ...
2.
I will deploy my application on differents customers informatic parcs, with differents Adobe versions.
In my script, before printing I read in registery:
- HKCR\.pdf, to get AcroExch.document
- HKCR\AcroExch.document.7\shell\print\command, or HKCR\AcroExch.document.7\shell\printto\command
to be sure to have the right command used in 1.
Will these keys change in future versions ?
Can I use directly the command (used in 1) without reading registry and be sure to have the right command ?

Yes !
So I have to read HKCR\.pdf, to get AcroExch.document, to ad a ".7" in the end, to be able to read HKCR\AcroExch.document.7\shell\print\command, or HKCR\AcroExch.document.7\shell\printto\command ??
thanks for your answer

Similar Messages

  • How do I use the filter to automatically print email and .pdf, .xls, .doc attachments to my default network printer and to other network printers

    I receive sales orders by email. I want to filter some to print on my default network printer and others to print on another network printer. The email body must print as well as txt, .pdf, .xls, .doc attachments.

    You can filter messages to file them to a certain folder, but I don't think you can have Thunderbird to automatically print them.

  • Automatically print a PDF from received emails.

    I'm trying to make Mail and Automator work together so that everytime I received a email (that I sended myself so I can print it on my mac) it's automatically printed and everything's cleaned up after.
    I know nuts about automator, so here's what I did so far.
    I config'ed mail with a rule that states that if "printthisplz" (my keyword) is in a mail, move it into the "mailprint" mailbox.
    From there, I made an automator workflow that will get the email from that mailbox "mailprint", Get attachments from these mails (being in this case PDFs only) saving them to a folder named "mailprint" on my mac, then "Print" finder items. I also added in the end to Move those Finder items to trash.
    At first it seemed to work, except it presented me the printing window of my printer, then said it was completed while nothing printed. The second run showed an error, which was corrected by adding Move to trash (apparently it won't work if there's already a file with the same name in the folder).
    So it seems to be fine, if we consider that it should print normaly (which isn't the case so far), but I want to make it run by itself (e.g: whenever a mail is moved to that mailbox, trigger xx workflow or "print the attachments of the mails").
    Thanks if anybody can help me with this!
    PS: I know that I can share my computer's printer over a local network and in fact, that's what I've done. Unfortunatly the stubborn PC down there don't seem to pick up good the printer and I always find myself sending an email. Also autoprint from a remote place could be very cool at all.

    I'm trying to make Mail and Automator work together so that everytime I received a email (that I sended myself so I can print it on my mac) it's automatically printed and everything's cleaned up after.
    I know nuts about automator, so here's what I did so far.
    I config'ed mail with a rule that states that if "printthisplz" (my keyword) is in a mail, move it into the "mailprint" mailbox.
    From there, I made an automator workflow that will get the email from that mailbox "mailprint", Get attachments from these mails (being in this case PDFs only) saving them to a folder named "mailprint" on my mac, then "Print" finder items. I also added in the end to Move those Finder items to trash.
    At first it seemed to work, except it presented me the printing window of my printer, then said it was completed while nothing printed. The second run showed an error, which was corrected by adding Move to trash (apparently it won't work if there's already a file with the same name in the folder).
    So it seems to be fine, if we consider that it should print normaly (which isn't the case so far), but I want to make it run by itself (e.g: whenever a mail is moved to that mailbox, trigger xx workflow or "print the attachments of the mails").
    Thanks if anybody can help me with this!
    PS: I know that I can share my computer's printer over a local network and in fact, that's what I've done. Unfortunatly the stubborn PC down there don't seem to pick up good the printer and I always find myself sending an email. Also autoprint from a remote place could be very cool at all.

  • How to automatic print to default printer

    now i use this command
    web.show_document('http://servername:7778/reports/rwservlet?server='||
    'repserver&report='||Para_Repname||'&desformat=pdf&destype=cache&userid='||
    Get_Application_Property(USERNAME)||'/'||Get_Application_Property(PASSWORD)||'@'||Get_Application_Property(CONNECT_STRING)||
    v_parameter||'&paramform=no','_blank');
    it 's show pdf file in browser if i want to print i must click printer icon on browser, but i want it to automatic print to printer immediate
    someone has solution.

    Because the reports run on the server and not on the client machine, there really is no way to print to the client's default printer because the server has no way of knowing what this printer is.
    You could create a user parameter with a list of the printers that are normally used and have the users select which printer you wanted the output sent to.

  • Hi there, i was wondering if there is a feature in Thunderbird that will allow automatic printing of an email after it has been sent? Thank you

    Hi guys,
    I was hoping there might be a feature or add-on that will allow me to automatically print an email after I send it. For the purpose of creating a paper trail we have to print out at least the 1st page of all emails sent to our clients. Love using Thunderbird and would like to keep using it. I know there is a feature in Outlook. Hope you guys have one too :)

    There is an add-on, [https://addons.mozilla.org/en-US/thunderbird/addon/send-filter/ Send Filter], that allows filters to act on the Sent folder, and there is an add-on, [https://addons.mozilla.org/en-US/thunderbird/addon/filtaquilla/ FiltaQuilla], that adds Print to the filter Actions. I can't confirm whether or not you can get them to work together to achieve your aim.

  • Keep hp 6700 in good shape: automatic print quality diagnostic page every week?

    Hi all,
    I've recently bought the HP Officejet 6700 Premium, and I'm concerned about keeping it in good condition, since I had to replace my previous canon printer because of a stuck printhead (the photo black one, I didn't used it for a long time).
    Since I don't print much (but I'm using the ADF scanner a lot), and other family members prints sporadically, most of the time in black and white, I would like to setup an the printer to automatically print a diagnostic page every week to make sure everything is alright.
    Using eprint, IFTTT and google calendar I could automatically send a file to print (I already set up the printer to wake up a few minutes before the calendar event) with black and color bars (someone suggest to print the google homepage since it has many colors but uses little ink).
    Is there any chance I can directly print the print quality diagnostic page (so I can fully diagnose a problem if it occurs)?
    Thanks for the attention
    Cheers from Italy!
    This question was solved.
    View Solution.

    Hey,
    To clarify for you and answer your new questions on the printers self maintenance.
    The maintenance cycle occurs randomly. It will occur after any power up, after print jobs(not every one) and any time it "think's" printhead health is poor. As mentioned above the printer to does have to be powered on for this to occur.
    You can if you'd like still print off the odd test page just to check, once a month would be adaquet.
    If you want to be saving power and are turning it off, then you would want it to be at least powering on and running the automated service that occurs weekly.
    I hope this clarifies everything for you. Thanks for your posts.
    I worked on behalf of HP.

  • Laserjet 600 M601 (CE990A) won't automatically print from envelope feeder

    All I want to do is have the envelope automatically print (without me walking over to printer and hitting the OK button).

    Figured it out. In Word, under printer options, change feed from to envelope

  • Automatic Payment Run - Automatic Print of settlement lists

    Hi,
    When the payment run in F110 is completed, the spool is getting generated. But the spool generated is not getting printed automatically, and we are doing it manually.
    The system set up in FBZP looks fine for printing  Any suggestions for automatic print out will be of great help. Also please throiw  Thanks.
    Regards,
    S.Sumana.

    HI
    The action required is -
    Go to Variant - click on Print paramters- click on Properties  - double click on time of printing - select print immediately and save the variant.
    It was previously selected as "send to SAP spooler only".
    Regards,
    S.Sumana

  • Automatic printing of purchase order in a particular printer

    Hi
    Do anyone know, the setting for automatic printing of purchase order by a particular purchasing group in a particular printer. The requirement is that The group has to print only Pur Oder in this printer.
    I don't want to use SPRO>Material Management>Purchasing>Message>assign output device......
    Thanks in advance.
    Esh

    First of all check your output type with MN06 if the Key combination avilable for outpur type then select that combination and creatae the condition records for your PO type with MN04 and assign the printers here by selecting that line adn clicking on the communication tab.
    Or if you don't have the key combination with Purchase group then  go to IMG-MM-Purchasing-message-output control - condition table - here use the existing table for purchase gorup or create new one with the combination oyu are looking
    then create access sequence and assing to your message type then it will be available for MN04.

  • Pg Number, File path and date automatically printed?

    Is there a way to automatically print the page number, complete file path and date at bottom of each  page (set to landscape)?
    Thanks!

    Thanks Carlos,
    It looks like the work72a would work if we were using macs, but we're not...
    And there is NO WAY my boss will pay $999 for the other one, even if it did work.
    So, now I'm open to other suggestions. We have hundreds of clients that we do work for, and our jobs are organized in folders for each client. A lot of clients with the same name but different locations (ie., Fox Meadow OH, Fox Meadow TX), and each has a different folder. The files are named by dept and year (ie., 2012 Glass, 2012 Art). We often access old files (which, there are thousands of, because they have been organized this way for years.) We need to have the client folder on the page along with the file name (hence the file path).
    The script that Carlos created is great, but there are too many steps. Open the script, change location and select info to be displayed (3 steps), close script. There are days we access 50 jobs and the script just added 5 plus steps to each job.
    Is there a way to use a hot key run a script that will place the info when and where we need it and auto close the script? Or is there a way to display the full path (in the Illustrator tab?) where we can see which folder the file is in and we will manually type the folder? Or does anyone have another suggestion?

  • Outgoing payment automatically printed once add.

    Hi,
    I'm facing a problem, when user add outgoing payment (payment mean by cheque), after successful add the outgoing payment, SAP system automatically print (send to printer) the outgoing payment.
    Anyone face the same problem?
    Regards,
    Muhamad

    Hi Muhamad,
    Check if any user default is set for the particular user. go to Administration> Set up. General>Users. user default>Print> Add button will also--> untick print document. Hope this wil solve your problem.
    Also check under system initialization>Print preferences>per document> outgoing payment> untick print document.
    Thanks,
    Joseph
    Edited by: Joseph Antony on Dec 15, 2010 11:40 AM

  • Invoice and Order Confirmation automatic Print

    Hi everyone,
    The user wants the following configurations:
    Automatic printing of Invoices and Order Confirmations to the following printer: #$%$#%#%u2026.this printer is located on the following server: $%$#%$#
    Thanks for prompt response
    Nick

    Hi,
    Try this method and see.
    Ask your Basis to set the LOCAL Printer in SAP.
    Then go to that users computer and set the Default Printer of that Machine to the printer: #$%$#%#%.
    Then once Invoice is saved, SAP will send it to LOCAL Printer in SAP, Then from there it'll automatically direct to the Default Printer of the machine.
    So, for each user you can set the default printer as required.
    We do same when we need to get a PDF output of Invoice. What we have asked was to set the user computer default printer as PDF Writer as & when they want PDF format of the Invoice.
    Same way as mentioned above, it sends to LOCAL, & then to machine default printer (PDF Writer), where you can save the PDF.
    Try and see !
    Best regards,
    Anupa

  • Automatic print of the variant once per week

    Hi All,
    In Alv Report.
    How to set automatic print of the variant once per week on Monday morning on the mentioned printer.
    Please let me know how to do the abouve requirement.
    Regards,
    Kumar

    Thanks

  • How to automatically printed Posted FI documents

    Any idea about how to automatically print SAP FI documents as soon as they are posted?
    Regards
    Prabin

    Hi
    As such there is no such standard feature but what you can do is to get the small ABAP code written , which will activate on the saving of the document. Please note this may slow down the process.
    Alternate, There is option of executing report S_ALR_87012287 at line item level which can be taken on daily or weekly basis .
    Regds
    Rajiv

  • How to do automatic printing of query

    Dear All,
    Please could someone tell me who to schedule automatic printing of querys in BEX.
    Regards,
    Vinay.

    Hi Vinay,
      You can use Reporting agent for automatically printing the reports .
    Please refer the below link
    http://help.sap.com/saphelp_nw04/helpdata/en/67/576f39ff1ee32ce10000000a114084/content.htm
    Regards,
    Prakash

  • Lookout: How to have the Client automatically print the alarms from the server process?

    Before we switched to using servers and clients, the server computer would print all alarms.  Now we have switched to having 2 servers and many clients.  We would like to have Lookout print automatically all of the alarms as they occure or reset.
    MWarner

    Lookout client cannot automatically print the alarm to printer. I'm sorry that lookout client doesn't have this feature.
    My suggestion is to set up the printer beside the server computer and print the alarms automatically by lookout server.
    Ryan Shi
    National Instruments

Maybe you are looking for

  • SAX Parser Global Variable problem

    Can someone tell me what i am doing wrong. i have a javabean called querybean that i store cdata from an xml file. i also have a map that i want to store this querybean in. when i debug this, i can see the map being populated in my end element event

  • How can I get this on my 3rd Gen iPad?

    My friend has a full RSS reader and a cellular data usage monitor on his iPad's Notification Center. I find it really useful, so may I ask how can I get that? He refused to tell me how he got that because he said that he said that I am not suited for

  • Collections ignoring rows that were not updated

    Hello all, I have a report based on a collection. Within this report is an lov which a user can assign a value to the record. However, the user does not have to update all the records before saving. Based on the collection samples I have seen, there

  • Multiline input box in sap screen.

    Can anyone suggest as how to make a multiline input box in SAP normal screen? Is it possiblt thru graphical editor?

  • Lightroom CC won't open. Flash screen flashes, but that's it. Uninstalled and reinstalled (with CC) but got the same result.

    I installed Lightroom CC with CC App on Macbook running Yosemite 10.10.3. It says it's installed, but attempts to open it get only a momentary view of the flash screen, then nothing. I uninstalled and reinstalled but get the same result.