Author Topic: print under virtual box  (Read 3078 times)

Klafi

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
print under virtual box
« on: March 06, 2025, 08:27:00 pm »
Good day everyone,

I am writing here in this forum because I somehow cannot post on os2.org as I am unable to register.

https://www.os2.org/viewtopic.php?t=4218

The following was written in the forum:

ArcaOS 5.0: Printing from VirtualBox on Brother DCP-J140W
Post by 1967er » Fri, Dec 13, 2024, 17:09

Hello everyone,

I have tried all possible solutions.

System: ArcaOS (ver: The Operating System/2 Version is 4.50)
Printer: Brother DCPJ-140W (WLAN) with Linux PPD file
VirtualBox: 7.1.4
Network: Bridged mode
The printer can be pinged from the VM, and sometimes it is even automatically detected with a printer queue (!).
However, I always use lpd://192.168.178.37/BINARY_P1, which works well under Linux and Windows 11.

A print job is created, becomes visible, and then disappears as if it had been printed. However, nothing is actually printed.

Where should I start troubleshooting? PPD file? I can’t think of anything else.

Best regards & thanks,
Jürgen

I also needed a PPD file for my system to get my printer Brother MFC 9970 CDW working.
At first, I tried using FTP, but this resulted in only .txt files being printed.

In the help file of TCP (C:\TCPIP\HELP\lprpdrvr.hlp), it is stated:

"With LPD connections, printer icons on the desktop can be redirected to remote LPD printers.
Before submitting print jobs to an LPD connection, the program LPRPORTD must be activated.
Use the 'Configure Automatic Startup of Services' page in the 'TCP/IP Configuration' notebook to start LPRPORTD automatically.
The 'TCP/IP Configuration' notebook is located in the Internet folder (LAN)."

Set up LPRPORTD in the TCP/IP configuration and direct the printer object to the correct port.
Then, printing should work.

Thanks, everyone!



Bogdan

  • Jr. Member
  • **
  • Posts: 97
  • Karma: +1/-0
    • View Profile
Re: print under virtual box
« Reply #1 on: March 06, 2025, 11:40:17 pm »
Der Drucker kann mit dem Datenstrom nichts anfangen. Die einzige Möglichkeit, um unter OS/2 eine Druckausgabe zu erzielen, wäre es:
1. eine PDF-Datei erzeugen (Seitenformat sollte beachtet werden)
2. die PDF-Datei per FTP an den Drucker senden

Zum Testen wäre es am einfachsten, eine bereits bestehende PDF-Datei im Format A4 mit nur einer Seite zu übertragen.

Remy

  • Hero Member
  • *****
  • Posts: 872
  • Karma: +14/-1
    • View Profile
Re: print under virtual box
« Reply #2 on: March 07, 2025, 01:32:28 pm »
What I did mith my lexmark printer.

Installed PPD (cups package)
In your case:
https://support.brother.com/g/b/downloadhowto.aspx?c=eu_ot&lang=en&prod=dcpj140w_all&os=128&dlid=dlf005589_000&flang=4&type3=561

The DB file has included TAR into which ppd is

Defined the printer under CUPS using browser interface
Set the lexmark printer to user LPR/LPD

Printing to the defined printer.

Klafi

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Re: print under virtual box
« Reply #3 on: March 07, 2025, 10:08:19 pm »
Good day everyone,

Thank you very much for your valuable responses.

I have set up the following configuration:

Used the driver from the Linux package:
mfc9970cdw.ppd

Installed it via CUPS
Connected it via LPD and made the necessary entries in the settings
It works great! I haven't managed to get the scanner working yet, but who knows—maybe I'll succeed in that as well.

Printing from Lotus Word, PDFs, and text files works flawlessly—and in color!

Thanks to everyone!

Andi B.

  • Hero Member
  • *****
  • Posts: 911
  • Karma: +16/-2
    • View Profile
Re: print under virtual box
« Reply #4 on: March 08, 2025, 11:04:14 am »
What the heck is "Datenstrommodus"? Is it a translation for raw mode?

I'm a native German speaker but I don't understand how someone can make such a weird translation.

Bogdan

  • Jr. Member
  • **
  • Posts: 97
  • Karma: +1/-0
    • View Profile
Re: print under virtual box
« Reply #5 on: March 08, 2025, 09:29:58 pm »
What the heck is "Datenstrommodus"? Is it a translation for raw mode?

I'm a native German speaker but I don't understand how someone can make such a weird translation.
Nein.

Hier handelt es sich lediglich um einen Ausgabeanschluß-Treiber, welcher über das Programm LPRPORTD (aus TCP/IP) bereitgestellt wird. Auf der Befehlszeile wäre die Entsprechung das Kommando LPR. Seit 1996 hat sich an dieser Übersetzung doch eigentlich nichts geändert.