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.

Empfohlene Antworten

Veröffentlicht

Hoi!

Hab hier ein Konsolenprogramm, dass Daten in eine Datei speichert.

Diesen Dateiinhalt will ich drucken.

Benutze den Borland C++ Builder 5 und Win 2000.

Wie geht das? Habe es schon per stdprn versucht, geht aber nicht?

Habe außerdem schon hier im Forum gesucht und nichts gefunden.

Mit fputs funktioniert es auch nicht.

Schonmal damit probiert?


FILE * drucker


drucker = fopen("LPT1","w")


 fprintf(drucker,"TEXT FÜR DEN DRUCKER");


funktioniert allerdings nur mit LPT1, also nicht mit Netzwerkdruckern.

mfG

Komisch, wenn ich nach drucken suche finde ich dutzende Beiträge :eek

Jo gefunden habe ich schon etwas; aber nicht über den Borland C++ bzw. Drucken unter Konsole.

Ich werd s amole ausprobieren und dann das Ergebnis posten.

thx

sodele,

das funktioniert nicht.

ich hab es schon mit stdprn ausprobiert, aber auch nichts.

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.