Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Apache FOP, xsl zu pdf, direkt drucken

Empfohlene Antworten

Veröffentlicht

Hallo,

ich erstelle mit XML Spy und Apache FOP XML-Dokumente

mit XSL-FO Stylesheets. Diese wandel ich anschließend

mit Apache FOP zu PDF-Dateien um.

Schön und gut.

Nun interessiert mich folgendes:

Gibt es eine Möglichkeit, die XML-Dateien zu einem

PDF zu erstellen und mir diese gleich auszudrucken,

ohne das mir das PDF zuvor via Adobe Acrobat oder so

angezeigt wird?

Das ganze sollte unter Win NT 4 SP 6 laufen.

Irgendwie find ich nichts bei google, und wie ich es

selber lösen könnte wird mir auch grad nicht klar.

Vielen Dank :)

  • Autor

Hab einen Weg gefunden, der macht was ich will ;)


<html>

<head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>


<object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" 

height="0" id="objPdf" width="0"></object>


<script type="text/javascript">

<!--

function Drucken() {

 objPdf.src = "meinfile.pdf";

	objPdf.printAll();

}


//-->

</script>



<body onLoad="Drucken()">


</body>

</html>

Das ganze lädt die Datei und schiebt sie ohne groß

nachzufragen auf den Drucker.

Das klappt natürlich nur mit dem Internet Explorer :D

und installiertem Adobe Acrobat.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.