Auto-printing a pdf to a printer name stored as variable?

Hi,
I have an app that creates two different documents, both of
which need to be printed. One is a letter-sized pdf, the other is a
4X6 label, also pdf. They need to be printed on different printers
- the letter-sized one on a regular office printer, the label on -
imagine this - a label printer.
Ideally, I'd like this all to happen automatically, but from
what I've found researching this, content can't be printed without
the user clicking "ok" in a printer dialogue. That's ok, but I want
to avoid making users choose the correct printer for each document
every time they do this. The potential for choosing the wrong
printer when switching back and forth like that is just too great,
and will result in the wrong document being printed on the wrong
printer, probably often enough to be annoying.
So, what I'd like to do: have a setting in a user's account
preferences where they can designate both their regular printer,
and their label printer. Then, when the docs are generated, have
the print dialogue automatically pop up WITH THE PROPER PRINTER
SELECTED so all they have to do is click ok.
Is this doable? Can anyone suggest a technique??
Thanks...

You cant do this with CF. CF is a server-side language, and thus has no idea what printers are installed on the client machine. Depending on how your application is setup, and whether the printers in question are installed on the server as well, might allow you to come up with something, but your proposed solution is not going to work.

Similar Messages

  • When I print a PDF it always prints as a booklet, how can I print 1 full page?

    When I print a PDF it always prints as a booklet, how do I print a full page?

    In the Print dialog box you should be able to indicate which page you want to print and that page will print.  For instance, if you are viewing page 4, in the Print dialog, select "current page" and page 4 prints. This won't work if your page is actually a 2-page spread.  What size is the booklet?

  • When i print a pdf the imige print reversed like a negative.  How can i correct this?

    when i print a pdf the image print reversed like a negative.  How can i correct this?

    Sometimes if a .pdf is smaller than actual 8 1/2 x 11 or bigger, you'll either get way too much of the image and it's cut off, or the image is too small. You should also try to do this in the print driver window: Properties -> Advanced -> Image Options -> Disable "PostScript pass-through"

  • Auto printing a PDF document without Print Dialog, in a web application

    Hello,
    We are developing a web application (target browsers: IE and Firefox). One of the requirement is to open a PDF document and print it without any user intervention(no print dialogs). Is there a way to achieve this? Please let me know.
    Thanks,
    Prasanth

    Yes, if you install a special application folder level script with a trusted function on the end user's client computer. Adobe has made this feature only available under very specific conditions to prevent atomically printing without the end users knowledge of the print action or allowing it by adding a the special folder level file.

  • AP Check Print: Same PDF O/P prints differently from Different Printers

    hi ,
    I am working on AP Check Printing. We are upgrading our system from 11i to R12.1.3.
    I have developed the Check Template for a US Check, the PDF output generated from the "Format Payments Instructions" look good and prints perfectly onto one printer.
    But when i print the same o/p to a different printer, it is cutting off all the edges.
    I have verified that both the Printers use Universal Pasta Configuration & the same past_pdf.cfg file.
    It has "Prepocess = pdftops - paper match {outfile} {infile}" as the command to convert PDF output file into a PS (Post Script).
    I am able to reproduce the problem by printing the PS file from unix using the command "lp - d <printername> <PS File Name>".
    Please advice ASAP, this is a BLOCKER issue for us and need to solve this at the earliest.
    Thanks in Advance.
    VIJAY

    Hi,
    Thanks a bunch for your quick response.
    In order to check the driver, i have seen in the following areas.
    System Admin => Install => Printers => Register /Type /Style / DRIVER.
    The driver postion is actually depending on the print style like "PDF Publisher" or "Portrait For Logo" etc.
    Is this the place you want me to check ? or is there anything else i am missing ?
    Thanks,
    Vijay

  • How can I/Is it possible to silently print a PDF with specific print settings and obtaining the resulting job id (in windows at least)?

    Greetings,
    I have a specific application for Windows I'm developing where I need to silently print a PDF to a real printer.  The trick is I need to set specific printing preferences ... such as color/monochrome, # of copies, page size / source tray, etc.   The printer is always set to spool documents, and it is key that I know the job id (even if its already done printing) of the resulting print job.
    With windows APIs mixed in, I would imagine something like ...
    OpenPrinter(printername)
    StartDocPrinter(...)
    -----> some SDK call to print the document based on the handles I pass it...or perhaps one page at a time after I call StartPagePrinter()
    EndDocPrinter(...)
    ClosePrinter()
    I've been searching for something for days that would give me this sort of control, but I've been finding the documentation very difficult to find on silently printing a PDF through any means other than a command line which doesn't appear to give me the information or control I need.
    Is this possible with the Adobe SDK? 
    I've seen other posts accomplish this by changing the printing defaults for the printer, and then sending the job silently with a commandline.  This has two problems for me: 1) I still don't know the Job ID of the print job, and 2) I can't rely on the idea that other unrelated print jobs will not be sent while I'm processing the PDF ... making it difficult to use defaults as a means of controlling the settings without causing a lot of side effects.
    Even just a point in the right direction would be a huge help for how I could accomplish this.  
    Thanks a lot,
    Wayne

    You cannot uninstall Kit Kat from your phone. BTW what kind of phone do you have??

  • I can't print a pdf, don't print the black letters, there is a lot of buttons like space navy ship of NASA

    1.- You gringos, NOT ALL THE WORLD IS THE GARBAGE USA, we need forums in various language, out side, there is a WORLD WITH MANY OTHER COUNTRIES, THAT SPEAK A LOT OF DIFERENT LANGUAGES.
    2.- Why I can't find a simple thing: PRINT IN WHITE AND BLACK... Is that a great thing to ask?
    We don't want a lot of options to print, we don't want print in colors, grays, combinations, etc... WE ONLY WANT ONE BUTTON: "PRINT"
    3.- It's very dificult to find the correcto combination, because you offer a lot of buttons and options...
    4.- I have 4 hours trying to print a simple pdf document... and I can't because NO PRINT THE BLACK LETTERS...
    5.- How can I to do, for a simple print of a document pdf.
    6.- You turned the printing in a trip to the moon, with a lot of buttons, options, combinations... ALL IN ENGLISH, IS VERY INSANE...
    7.- I'm very angry... now I understand to OSAMA BIN LADEN... I DON'T SUPORT THEY, BUT I WISH YOU GRINGOS WILL CHANGE YOUR BRAIN.

    I get the answer, I found the solution:
    1.- At first time, I offer my apologyzes for my offensive words against americans, and people of adobe reader.
    You are not gringos, You are Americans.
    USA is not Garbage, is a great country.
    I found a page of adobe in Spanish, and yes, there is in many other languages pages of adobe reader.
    My PDF is in spanish, thanks american people for create invents, and pages in many languages.
    I'm really sorry for september 11, it was unfair, inhuman, a tragedy. Never again the war, we love peace.
    2.- I was very angry, because I lost money, because I can't finish my work, because I can't print the PDF document.
    3.- The solution was:
    Step 1: down the most recent version of adobe reader.
    Step 2: Choose the option "advanced", and then choose the option: "print like an image".
    YA encontré la solución...
    Paso 1.-
    actualizar a la versión más reciente de adobe reader.
    descargarla, abrirla, e instalarla
    Paso 2.- Volver a abrir el documento PDF, pero con la nueva versión de adobe reader.
    Paso 3.- Ir a imprimir, pero antes de darle aceptar, ir al cuadro que dice: "AVANZADA"
    Paso 4.- Entrar a avanzada, y marcar la casilla que dice "imprimir como imagen". y darle aceptar.
    Paso 5.- presionar el botón de imprimir y listo.
    Muchas gracias por su apoyo.
    PROBLEMA SOLUCIONADO.
    El asunto, era porque no eran letras de caracteres, sino que eran una foto o imagen de letras.
    por eso era necesario escoger la casilla de imprimir como imagen, además de actualizar al nuevo adobe reader.

  • Security set to allow high resolution printing but pdf won't print

    We create a large number of pdf files to send out to
    clients, etc. We have been using security on all pdf's being sent out, however, some clients are having issues printing these pdf files even though our security settings are set to allow high resolution printing. Any one have any ideas why? I cannot duplicate the issue for whatever reason, the files still print for me.

    I discover I am suddenly having a similar problem as well.
    I have recently migrated to a new Intel iMac/Leopard, I'm on a network and trying to print to a Tektronix/Xerox 7700 laser printer. I can print anything other kind of document on that printer as long as it is not a PDF.
    When I open the printer window it says the job has been stopped. I choose the job and tell it to "resume" at which point the printer pauses itself. Once it flashed a window that said Operation Not Possible - client-error-something-something and then closed before I could see what the last two words were.
    I am currently using Adobe Reader 6.0. I would love to be able to try to print out of 7.0 but there seem to be continual download problems in the form of constant connection failures. I also have Acrobat 6.0 STD - can't print out of either one.

  • Cannot print my pdf's the printer say its the wrong page size?  Powerpoint Word Excel are all fine

    Every time I try to print a pdf my printer now says No paper-Custom Size.  It used to work fine and other programs work fine.

    I had this problem.  The error message said that this document cannot be printed and after clikcking ok, another message said that the page wasn't selected or something like that.  I went to Programs and Features in Vista Control Panel and deleted Adobe Reader 9.  Then I rebooted and went to adobe.com and installed the 9.1 version.  Now, I can print my documents.  I hope this helps you!

  • Printing Acrobat PDF in Leopard printer menu?

    Hi all,
    Is it at all possible to use the Acrobat printer to print out PDF´s in Leopard from the printer menu. It went out when Leopard came in and I havent seen a solution yet.
    Any ideas?

    If you mean having Acrobat as a printer choice, on top of the built-in OS X ability to save as PDF, then maybe you need to repair your Acrobat installation. Open Acrobat and choose Help > Repair Acrobat Installation. Then tick the box that says Adobe PDF Printer. That should add it back.
    This has nothing to do with the Leopard upgrade except that probably the PDF printer didn't come along when you migrated applications.

  • Print to PDF and specify file name.

    Hardware/Software Details:
    MacBook 2GHz Intel Core 2 Duo
    OS 10.5.5
    Adobe Acrobat Professional 8.1.2
    Hey all,
    I'm a teacher and I've been scripting PDFs for use as marking sheets for assignments. What I'm trying to achieve is a situation where I tick all the boxes, marks are calculated and comments filled-in using my form fields (which all work fine) and then produce a PDF from that file with the student's name as the new file name (which is where I'm stuck!).
    In the past, I've had a button that on mouseOver brings the field with the student's name into focus, mouseDown evoked the File:Copy menuItem (copying the student name to the system's clipboard) and then mouseUp which triggered File:Print from which I would choose 'Adobe PDF 8.0' as the printer, hit Save, paste the student's name as the file name and choose the appropriate directory.
    File:Copy is no longer a "safe" menu item according to the latest versions of Acrobat, so I'm having to manually copy the name which is complicating the process further.
    I'm working on a script activated by the mouseUp of a button in this PDF which is currently looking like this:
    >var pp = this.getPrintParams();
    // format name to remove spaces and commas
    var studName = this.getField("Name").value.split(",").join("_").split(" ").join("");
    pp.interactive = pp.constants.interactionLevel.silent;
    pp.printerName = "";
    pp.fileName = studentName + ".ps";
    this.print(pp);
    Although the console will list 'AdobePDF8' as one of my printers, I've since discovered that "the destination printer cannot be set through this property in Mac OS" :( . I can set it as my default printer to work around it, but I still can't dictate the name of the new file. So, I've resorted to printing to PostScript with the aim of running them all as a batch through the AdobePDF8 printer later, except there's still a few problems.
    The name of the PostScript file won't work when I try to include the value of another variable (var studentName)
    The fonts in the PostScript files that it does produce get substituted with Courier and look terrible
    Both the API Reference and the Developer Guide seem to indicate that you can print to a file rather than a printer, but both only seem to mention PostScript file using this method.
    Is there another way to do this? If not, is there a solution to the two problems I mentioned?
    Cheers,
    Chris

    Ok, I've pursued the SaveAs method (as George suggested) with moderate success with the following code (secure function names have been changed ;) ):
    config.js file script:
    >myTrustedSaveAs = app.trustedFunction( function ( doc, studName )
    app.beginPriv();
    doc.saveAs({
    cPath: studName,
    bCopy: true,
    bPromptToOverwrite: true
    app.endPriv();
    myTrustedOpenDoc = app.trustedFunction( function ( path )
    app.beginPriv();
    app.openDoc({
    cPath: path
    app.endPriv();
    Button's onMouseUp script:
    >// get student name and turn it into a file name
    var studFile = this.getField("Name").value.split(",").join("_").split(" ").join("") + ".pdf";
    // get the current document's directory path
    var origFile = this.path;
    var pathBits = this.path.split("/");
    pathBits.pop();
    // whack 'em together
    pathBits.push(studFile);
    var studFilePath = pathBits.join("/");
    // toss the form fields and stuff
    this.flattenPages({
    nNonPrint: 2
    // save the new file
    myTrustedSaveAs(this,studFilePath);
    // open the original again (not working)
    myTrustedOpenDoc(origFile);
    // close the one I just saved
    this.closeDoc(true);
    This is what happens:
    Button is clicked,
    All the form fields and buttons are removed,
    It produces a file with the new file name (e.g. Lawrence_Chris.pdf) next to the original,
    The file closes
    I'm pretty sure that once the SaveAs runs and the new file is created, I actually still have the original file open instead of the that was just saved. This would explain why the openDoc command doesn't seem to do anything because the file it's opening is already open. The closeDoc then runs and of course I then have no open documents!
    So, now I either need a way to revert the open original file so I get all of my form fields back and don't have to reopen it, or a way to close and then immediately open the file without saving changes. :/
    Any ideas?
    slight inconvenience of needing a separate .js file written for the user's JavaScript folder before launching Acrobat to overcome security restrictions. File sizes only seem to get down to about 376KB as opposed to the 40KB files that the AdobePDF8 printer spits out. :(

  • How to auto populate numerous pdf files with same name and address?

    I have numerous pdf files where a company's name and address will need to be entered onto each file.  Would there be a way to enter this information once, say on an excel file or something, and then have this information auto populate all the correct fields in each and every pdf file I have to fill out.  I am a complete rookie with Adobe Acrobat.  At any one's convenience please let me know or point me in a direction where I can possibly learn this for myself.  If Adobe offers this type of service please let me know which department to contact.
    Thanks,
    John

    If you were an InDesign user, you could layout the document there, and use the Data Merge feature to bring in the names and addresses from Excel. Then create a PDF of the resulting file which could be split into individual PDFs.
    There might be a way to do it similarly with Microsoft Word and Mail Merge.

  • Printing to pdf file - only prints in thumbnail size

    Using Adobe Reader ver 10 and it will only create pdf (print) in thumbnail size. How can it be configured to create in full size 81/2 x 11?  Using Scansoft Create to create pdf files from word 2007.  Could the the scansoft printer driver be the problem.  Using PDF CREATE ver 5.  Any help would be appreciated, thanks.

    You need to ask in a ScanSoft forum. This is not an Adobe product and as already mentioned, Reader can not create a PDF. Also be aware this is the Acrobat forum, not the Reader forum.

  • I printed an AutoCad drawing to PDF and the PDF looks OK on the screen but when I print the PDF to a printer the text in the drawing is crosshatched with lines and you cant's see the letters, I printed an AutoCad drawing to PDF and the PDF looks OK on the

    I need to know why this crosshatching appears over the text when I print the PDF

    If you use the same Adobe Reader versions with the same PDF on Windows 7 and XP, then I would expect the outcome to be the same.
    Is this a local or online PDF?
    If local, is the file really exactly the same?
    If online, in what browser?

  • Printing a Word 2013 file to a PDF, which prints the PDF, but when printing the gereated PDF to a laser printer an error occurs: Error: invalidfont Offending Command: show Stack: (  )

    I was wondering if any else has had an problem with error codes printing PDF that has been generated from Word 2013 to Acrobat Xi Pro. I have converted fonts from local install to common fonts - Arial, and the same error occurs.
    Help!

    Thank you Bill,
    you maybe right, there seems to be a localised issue as the PDF that has been created from Word 2013 can be printed, on the same printer I am using, by other members on the server with different versions of PDF.
    Still stuck though.

Maybe you are looking for

  • What is the difference between Satellite A300-1EC & Satellite A300-1EG

    Why does the Satellite A300-1EC stand dearer as Satellite A300-1EG, but on configuration loses him? What is their substantial distinction in? What model of notebook can advise, in this price range?

  • FDM 11 using FM11x-G5-C to load to HFM 9.3.1

    Hi, we're upgrading our Hyperion system (9.3.1) to Oracle EPM 11 (11.1.1.3) in phases and as part of this, we need to leave HFM at 9.3.1 and upgrade FDM to 11.1.1.3. We have set up the interface such that the FDM 11 installation can connect to the HF

  • Drag from vbox to list??

    Hey all, I've been having a heck of a time trying to get this to work, basically I have a list of components on one panel in a vbox, and I want to drag them into a list on the right panel. How do I tell the list to accept a drag drop action coming fr

  • Advanced Accepted Domain Question

    When you install Exchange 2010 into an organization that previously had Exchange 2003, new Active Directory objects are created here: CN=Accepted Domains,CN=Transport Settings,CN=DemoLab,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=demolab,D

  • Apple ID disabled following inquiry on iTunes bill.

    About a week ago, a roughly $20 transaction on iTunes was charged to me, and I could not figure out what it was for. I sent a message to Apple to inquire about that transaction, telling them that I had no idea what it was. A few days later, I finally