PDF-Datei via VB drucken

Ich möchte eine -fertige- PDF Datei mit Visual-Basic 6.0 drucken. Dazu habe ich die OCX-Komponente "PDF.OCX" (Version 5.0.5.452) eingebunden. Meine Anwendung soll nun ohne Benutzereingriff mehrere PDF-Files auf verschiedenen vorher definierten Druckern ausgeben.
Gibt es eine Möglichkeit, dem PDF.OCX einen Drucker und eventuelle sonstige Eigenschaften (Seitendrehung, Kopien, ...) mitzugeben? Wie gesagt, das Ganze soll ohne Benutzereingriff laufen, d.h. ohne Printer-Dialog-Fenster. Oder gibt es eine andere "komfortablere" Möglichkeit, eine PDF-Datei zu drucken?
Gruß Thomas

Hi Thomas,
leider klappt Dieters Vorschlag beim Acrobat Reader nicht so ganz, da daß hierzu notwendige pdf.ocx ActiveX Control nicht zufriedenstellend funktioniert. Unter anderem wird ab Acrobat Reader 5.05 beim erstmaligen Druck ohne Dialog nachgefragt, ob dieser Druck tatsächlich durchgeführt werden soll und sofern dem Dialog gesagt wird, daß er zukünftig nicht mehr aufpoppen soll, druckt der Acrobat Reader bis zur nächsten Instantiierung nix mehr aus.
Wir hatten vor einiger Zeit eine ähnliche Fragestellung zu lösen, und haben unser eigenes ActiveX Control entwickelt, mit welchem PDF Dokumente ausgedruckt werden können, ohne daß irgendein Dialogfenster erscheint. Zusätzlich kann mit unserem Control auch der gewünschte Drucker programmatisch eingestellt werden.
Online-Demonstration sowie Demo-Version sind unter http://www.pdfprintcontroller.com verfügbar.
Viele Grüße
Micha
[hinkel:stone]
Technology Consulting
Software and Web Development
Client/Server Technologies
E-Mail: mhi(at)hinkelstone(dot)com
http://www.hinkelstone.com
http://www.jread.org

Similar Messages

  • PDF Datei anzeigen lassen kann, aber Sie lässt sich nicht drucken

    Hallo, ich habe das Problem das ich eine PDF Datei anzeigen lassen kann, aber Sie lässt sich nicht drucken. Auf dem Bildschirm sieht alles gut aus...hat jemand ein Idee...Danke schon mal.

    Are you in the standalone application or a web browser?
    If you are in the web browser try saving the file to the desktop and printing in the standalone applicaiton
    If you are in the standalone application then check the file Properties and see if the PDF allows printing permissions.

  • Wie kann ich eine PDF Datei auf einer Internetseite hochladen?

    Ich möchte eine PDF Datei auf einer Internetseite hochladen , um sie drucken zu lassen. Das ipad bietet mir nur an Video und Foto hochzuladen.

    I struggle with English, never mind German! If I interpret your query correctly you are asking how you open/save an email attachmnt created in MS Word. You need a compatible app such as Pages or Documents to Go. You can, as you will have discovered, read the attachment but do nothing else with it. Do not delete the email meanwhile.
    Kindly confirm that we are on the right track and someone will help you further.

  • .htaccess (mod_rewrite) und PDF: "Datei beginnt nicht mit %pdf-"

    Hallo,
    um zu verhindern, dass verschiedene Dateien direkt von unserem Webserver aufgerufen werden, habe ich in die .htaccess-Datei folgenden Code geschrieben:
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^http://www\.website-eins\.de.* [NC] [OR]
    RewriteCond %{HTTP_REFERER} !^http://www\.website-zwei\.com.* [NC]
    RewriteRule /* http://www\.website-drei\.de [L,R]
    Der gewünschte Effekt ist auch eingetreten: Die Dateien können nur noch über die angegebenen Websites aufgerufen werden.
    Allerdings hat dieser Code auch zur Folge, dass beim Aufruf von PDF-Dateien (bei anderen Dateien funktioniert es - wie gesagt - einwandfrei) die folgende Fehlermeldung erscheint:
    "Datei beginnt nicht mit '%pdf-'."
    Die Datei selbst wird dann nicht mehr geöffnet.
    Hat jemand schon einmal Ähnliches beobachtet und vielleicht eine Lösung für mich?
    Besten Dank,
    Dirk.

    Danke für die schnelle Reaktion und Entschuldigung, dass ich mich so laienhaft ausgedrückt habe, aber ich bin ein Laie.
    Zu den Fragen:
    Programm: Adobe Reader XI (11.0.05 Deusch), aktuellste update-Fassung
    Betriebssystem: Windows 7 Ultimate SP 1, aktuellste update-Fassung
    Art des Dokuments: ein für mich ganz normales Adobe Acrobat Document (.pdf), z. B. eine mit einer eMail geschickte Rechnung oder ein Bankauszug, den meine Bank online abrufbar bereitstellt.
    Genaue Vorgehensweise: Ich öffne das Dokument, klicke in der Symbolleiste auf das Symbol "Datei drucken" und in dem dann geöffneten Fenster für die Druckerfunktionen auf "Drucken". Dann öffnet sich das kleine Fenster, in dem normalerweise der Fortschritt der Datenübertragung an den Drucker angezeigt wird. Doch dieser ist sofort starr, reagiert auch nicht auf das Anklicken auf den Botton "Abbrechen". Auch das Dokument lässt sich dann nicht mehr erreichen, da das Fenster ja noch "davor liegt". Die Beendigung des Prozesses ist nur über den Taskmanager möglich, der mir bei dem Befehl "Task beenden" die Meldung anzeigt "Programm reagiert nicht..."
    Ich bitte um Nachsicht, dass ich die Bemerkungen unter dem Fragenkatalog nicht richtig verstanden habe, da ... (s.o.). Ich hatte bisher gedacht, dass meine oben beschriebene Vorgehensweise die ganz normale Art wäre, eine pdf-Datei auszudrucken.
    Ich hoffe, Du kannst mit meinen Angaben etwas anfangen und mir weiterhelfen.

  • Kennwort-geschützte PDF-Datei konnte bearbeitet werden: wie ist das möglich?

    Hallo,
    ich habe eine PDF-Datei aus Adobe Indesign CS6 erstellt und diese mit einem Kennwort so geschützt, das man nur das Dokument ausdrucken, aber nicht die Inhalte wie Text und Bilder bearbeiten kann.
    Ein Kunde von mir hat es aber geschafft, in der PDF Datei die Inhalte zu bearbeiten (u.a. Bilder und Texte zu entfernen) und mir diese wieder zurückgeschickt.
    Meine Frage: wie kann man eine Kennwort-geschützte PDF-Datei so manipulieren oder knacken, das man auf die Inhalte trotzdem zugreifen kann? Und ist das rechtlich erlaubt?
    Den Kunden selbst zu fragen, halte ich zunächst für keine gute Idee - aber ich werde ihn darauf ansprechen, dass ich es audrücklich nicht wünsche, das von mir geschützte Dateien
    geknackt und nachbearbeitet werden. Ich hoffe, in diesem Forum kann mir mit meiner Frage geholfen werden.

    Es gibt entsprechende Software, es dauert etwa 5 Sekunden so einen Schutz zu entfernen (auch mit anderen Softwareprodukten). An eigenen Dateien und an Dateien, wo der Ersteller es erlaubt, ist es erlaubt, aber sonst wird es wohl in jedem Land anders sein.
    Allerdings, wenn der Kunde das Produkt drucken soll oder als Anzeige oder andere Datei in eine Layoutsoftware importieren muss, dann darf keinerlei Schutz angewandt werden. Wenn Du Deinem Kunden zu diesem Zweck die Datei erstellt hast, dann hat er wohl das Recht den Schutz zu entfernend, weil er anderenfalls nix damit anfängt.

  • Erstellte Berechnungen in Acrobat X funktionieren nicht in gespeicherter pdf-Datei!

    Hallo an Alle!
    Ich verwende Acrobat X Pro auf meinem Mac.
    Habe folgendes Problem:
    - über OpenOffice/Excel Formular erstellt und als pdf gespeichert
    - dieses pdf über Acrobat X geöffnet und dort Berechnungen (Summenberechnung) angelegt (über Eigenschaften-Berechnungen ...)
    - klicke ich auf "Vorschau" kann ich die angelegten Berechnungen prüfen und es klappt auch alles
    - ich beende "Vorschau" indem ich auf "Bearbeiten" klicke und klicke auf "Formularbearbeitung schließen" = kann die angelegten Berechnungen immer noch prüfen und es klappt auch alles
    - gehe auf "Datei - speichern", schließe Acrobat, öffne die pdf-Datei normal mit Doppelklick über den Reader: Berechnungen gehen nicht (mehr)
    Woran liegt das?
    Danke vorab für Hilfe!
    LG
    Erwin

    Nochmals "Hallo an Alle!"
    Habe eben die Lösung entdeckt:
    - beim Öffnen via Doppelklick verwendet Mac für pdf-Dateien standardmässig die Vorschau.app = da können angelegte Berechnungen nicht funktionieren! ;-)
    - beim Öffnen mit dem Reader geht alles tadellos!
    Vielleicht ist das Wissen um diese "Lösung" für den einen oder anderen auch von Nutzen.
    LG
    Erwin

  • Pdf-Datei wird nicht gedruckt

    seit heute kann ich meine pdf-Dateien nicht mehr drucken. Nach Absenden des Druckbefehls erscheint zwar noch das Fester mit dem Fortschritts-Balken, aber der ist sofort "festgefroren" und reagiert auf ein Anklicken - genau wie das Dokument selbst nur noch mit einem "ping". Das Dokument bekomme ich nur mit dem Tastmanager geschlossen, der mir zunächst verkündet, dass das Programm nicht reagiert. Was kann ich tun?

    Danke für die schnelle Reaktion und Entschuldigung, dass ich mich so laienhaft ausgedrückt habe, aber ich bin ein Laie.
    Zu den Fragen:
    Programm: Adobe Reader XI (11.0.05 Deusch), aktuellste update-Fassung
    Betriebssystem: Windows 7 Ultimate SP 1, aktuellste update-Fassung
    Art des Dokuments: ein für mich ganz normales Adobe Acrobat Document (.pdf), z. B. eine mit einer eMail geschickte Rechnung oder ein Bankauszug, den meine Bank online abrufbar bereitstellt.
    Genaue Vorgehensweise: Ich öffne das Dokument, klicke in der Symbolleiste auf das Symbol "Datei drucken" und in dem dann geöffneten Fenster für die Druckerfunktionen auf "Drucken". Dann öffnet sich das kleine Fenster, in dem normalerweise der Fortschritt der Datenübertragung an den Drucker angezeigt wird. Doch dieser ist sofort starr, reagiert auch nicht auf das Anklicken auf den Botton "Abbrechen". Auch das Dokument lässt sich dann nicht mehr erreichen, da das Fenster ja noch "davor liegt". Die Beendigung des Prozesses ist nur über den Taskmanager möglich, der mir bei dem Befehl "Task beenden" die Meldung anzeigt "Programm reagiert nicht..."
    Ich bitte um Nachsicht, dass ich die Bemerkungen unter dem Fragenkatalog nicht richtig verstanden habe, da ... (s.o.). Ich hatte bisher gedacht, dass meine oben beschriebene Vorgehensweise die ganz normale Art wäre, eine pdf-Datei auszudrucken.
    Ich hoffe, Du kannst mit meinen Angaben etwas anfangen und mir weiterhelfen.

  • Visual Studio 2013. Viewing a PDF file via the Web Browser control in Windows 8.1

    I am writing a Windows Forms application in which I need to view PDF files via the Web Browser control. When the control is given the Navigate() command, Windows takes over and asks which program I want to open the file with. All was fine with VS 2010 and
    XP. I have un-installed "PDF Complete", which was the default PDF viewer, but I now get asked for an alternative.
    Thanks in advance.
    Mike Saunders

    Hi Mike,
    It seems that we could use Internet Explorer to open a local .PDF file if it has the Adobe Reader. I doubt that the web control would be related to it. Like the MVP's suggset in the following thread, maybe it would be related
    to certain plug-in tools in your side like the adober reader.
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/a717117e-41ae-4775-9c28-d5a1042b396e/pdf-is-not-opening-in-web-browser-control-in-vbnet?forum=vbgeneral
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • When I attempt to Extend a PDF document via my LiveCycle server I get the error"Application Alert" The file could not be saved. Are you sure you want to lose your results?

    When I attempt to Extend a PDF document via my LiveCycle server I get the error"Application Alert" The file could not be saved. Are you sure you want to lose your results?
    I can login fine via this address.
    http://[Server Address]:[Port Number]/ReaderExtensions
    And I can apply the extension successfully, but when I attempt to download I receive the error above.
    Application Alert" The file could not be saved. Are you sure you want to lose your results?

    Please check the supported version of flash player on your client machine for LiveCycle : http://bit.ly/1wGD9t4
    Upgrade or downgrade it accordingly.
    Thanks,
    Wasil

  • My client asks ... can we generate a PDF not via Word...?

    Using: RH HTML 7.0.3.
    Hi all,
    A client has invested time into developing a good CSS style sheet and RoboHelp template for creating a nice looking CHM HTML Help. My client wants to find a way of creating a nice looking PDF document without investing more time in developing a good Word template for export to PDF.
    The client asked me what seems to me to be a dumb question about PDF generation. Is there such a thing as generating a PDF not via Word? - (Whatever that means.) My client seems to think there is a way. But since my client asked, I have to ask you all...
    I tried out the quick way of simply clicking on the PDF icon, and seeing what happens. So RH generated for me a PDF, without asking me for any more info. The Output logger showed clearly that RH was first creating a *Word file*. And sure enough when I looked in its target folder I saw there was also a *Word doc* there, completed a minute earlier. A definite sign, I think, that RH first created the Word doc and then from it created the PDF. (Btw, I don't know where RH got the TOC from for this PDF generation - it seems like a ghost of the TOC I used months ago.) 
    Then I tried using the Generate wizard from the Single Source Layouts pod. One of the stages of this wizard prompts you to select a template, including any *Word templates* you have fed RH in the past. Again a good sign, IMO, that the initial process for making a PDF is the same as for making a Word doc.
    Over to you all.
    TIA
    avraham

    RH has to create a Word document but if you deselect the Word check box, it is not saved. What you saw was probably an old document. Delete it and publish just a PDF and you should not be able to see the temporary Word document that is created.
    In the wizard you don't have to select a Word template, that is just one of the options.
    The content of the print layout is not related to your TOC. It takes the content of a TOC when you first create the print layout but then the two are standalone. You might not want the print layout to be the same as the TOC. If you do, use the arrows to clear the content and then replace it with the current TOC.
    This is covered in Printed Documents on my site.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to convert XPS file to a PDF one via Adobe Acrobat XI Pro with command line?

    Hello,
    How to convert XPS file to a PDF one via Adobe Acrobat XI Pro with command line?

    It is not good. If I need to export some hundred of separate *.XPS files to hundred separate *.PDF files, I need to do this manually with each file. It is stone age.

  • How to search in a pdf package via command line

    How can I search a specific PDF file within a PDF package via the command line? Previously I have used the following code in VB6 to search a single PDF file successfully.
    acroPath = String(128, " ")        'initialise this string
    resultStatus = FindExecutable(pdfPath, vbNullString, acroPath)
    acroPath = Replace(acroPath, vbNullChar, "")        'Get rid of the null character
    acroPath = """" & Trim$(acroPath) & """"
    cmdLineString = acroPath & " /n /A ""search=" & searchString & """ " & pdfPath
    Call Shell(cmdLineString, vbNormalFocus)
    I now receive this file as part of a PDF package, so how can I amend the command line to search the specific file within the package?
    I only have Reader, not the full blown Acrobat version.
    Vas.

    Sorry forgot to say that I am using Acrobat Reader 8.1 on Win XP SP2
    Vas.

  • Hello! I would like to know the procedure to turn a word document into a PDF document via Adobe Reader.

    Hello! I would like to know the procedure to turn a word document into a PDF document via Adobe Reader. Do I have to pay for it or just sign up? Thank you in advance.

    "...the procedure to turn a word document into a PDF document via Adobe Reader." 
    Not possible.
    No version of Adobe Reader can:
    --| create PDF 
    --| manipulate PDF page content  
    --| export PDF page content
    Adobe Reader XI does provide a "connection" to various Adobe hosted online subscription services (that are under "acrobat.com").
    There is a subscription services can create PDF from supported file formats that are uploaded to the service.
    This subscription service is "PDF Pack".
    With an active (paid up) subscription to a service one can make use of the service.
    Be well...

  • Help! Trying to print emails w/PDF attachments via bluetooth from 8300 to HP OfficeJet8470

    Trying to print emails w/PDF attachments via bluetooth from 8300 to HP OfficeJet8470.
    My boss shopped for and picked this phone based on the store staff.  He wants to be able to have our service tech be able to receive work orders via email, in the form of a pdf attachment, and be able to print using the bluetooth enabled HP Office Jet 8470, hardware that was sold to him in another store with the statements that it would work with his application.
    Everything I have seen on this site, and the lack of information elsewhere, leads me to question if we have the correct applications/hardware at all...
    If so, I need to be able to explain clearly to my boss any options that we have, and why or why not it won't work. 
    Any ideas at all?  Thanks in advance~    Reagan

    Your BlackBerry alone won't connect to a Bluetooth printer. Whoever told him that it would should be questioned.
    However, there is an application called BeamSuite, that offers a printing solution specifically for PDF documens that you should explore...
    Print Documents to a Bluetooth Enabled Printer 
    http://www.slgmobile.com/beamsuite.html
    BeamSuite is much more than a document viewer though. You can also print your documents directly from your BlackBerry to any Bluetooth enabled printer. Simply pair your BlackBerry device with the printer and print your documents.
    If your printer is not Bluetooth enabled, you can still print your documents to it by connecting a Bluetooth printer adapter to your printer that connects to the printer’s USB port. A key differentiator of our solution is that it allows you to easily and transparently print to over 1500 compatible printers from virtually any BlackBerry device, not just the latest and the most powerful BlackBerry.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to send a pdf file via http call

    Hi Experts,
    Please try to think on how you would send a file like a pdf file via the http call. You might need to convert the pdf in a character string which can be sent via http. The character string then might need to  get converted back into a pdf and saved in a file. Read through the Archive Link API guide to see how they send the body of a file.
    Please it is urgent......
    Thanks
    Basu

    so you want to push the PDF file over http to external system.
    where is pdf file stored.
    for examle if its in the clients desktop, you can use gui_upload to upload to internal tabble (type BIN) then use FM SCMS_BINARY_TO_XSTRING to conver the binary table to type string.
    then use cl_http_client class to push the file to the destination.

Maybe you are looking for