Login
You're viewing the techdon.dev public feed.

Replies

  • Sep 3, 2026, 11:13 PM

    @nw8man @AdrianVovk

    First, it is not PRN or COM, this was MS-DoS, and as this DoS is already solved by replacing the system by Linux, we have some /dev/... files which could take data directly to a printer:
    - /dev/usblpX
    - /dev/lpX

    X = 0, 1, 2, ...

    At least they are there if the appropriate kernel module is loaded and the appropriate connectivity hardware (parallel port, USB) is there.

    USB is there but as CUPS does not use the usblp kernel module, the module is not ...

    #OpenPrinting

    💬 1🔄 0⭐ 0
  • Sep 3, 2026, 11:19 PM

    @nw8man @AdrianVovk

    ... loaded (it would be even in the way for CUPS to access printers).

    So in the modern world of CUPS and not having parallel printers, throwing unfiltered data directly at the printer works with CUPS:

    lp -d PRINTER -o raw FILE

    Here the queues PPD gets ignored and the data just passed through.

    For network printers you can also often use:

    nc -w1 HOST 9100 < FILE

    #OpenPrinting

    💬 0🔄 0⭐ 0