Re: Printing the old way

2022-06-15 Thread Joel Roth
On Tue, Jun 14, 2022 at 04:59:36PM -0400, pa...@quillandmouse.com wrote:
> Folks:
> 
> Back in the dark days of early Linux, before CUPS, we printed with
> printers all the time. There was an infrastructure for doing this. Does
> anyone remember how that worked? As in, what packages were needed, etc.?

Using magicfilter with lprng lets you print a variety of 
file types. 

-- 
Joel Roth



Re: Printing the old way

2022-06-15 Thread Christian Groessler

On 6/14/22 23:11, Klaus Singvogel wrote:

Additional you needed printer specific drivers, if you don't have a
PostScript capable printer.



You could use ghostscript as filter if you didn't have a PS capable 
printer. (Which was normal because they were expensive).



regards,
chris




Re: Printing the old way

2022-06-14 Thread David Wright
On Tue 14 Jun 2022 at 23:25:32 (+0200), Thomas Schmitt wrote:
> Paul M. Foster wrote:
> > > Back in the dark days of early Linux, before CUPS, we printed with
> > > printers all the time. There was an infrastructure for doing this. Does
> > > anyone remember how that worked? As in, what packages were needed, etc.?
> 
> Greg Wooledge wrote:
> > lprng was the most common one, I think.  As the name implies, that one
> > is the "next generation" of lpr, the old BSD tool.
> 
> "printcap" is another term which pops up from my 1990s memories.
> There still exist lpr and lprng as Debian packages:
>   lpr: /usr/share/man/man5/printcap.5.gz
>   lprng: /usr/share/man/man5/printcap.5.gz

My notes from bo (1.3) mention a program called checkpc. You edited
the files /etc/lpd.{conf,perms} and /etc/printcap, and then ran
checkpc (as user) and checkpc -f (as root) to set it all up.

Cheers,
David.



Re: Printing the old way

2022-06-14 Thread IL Ka
Old printer connected via LPT port was accessed using /dev/lpt
Because several processes shouldn't print at the same time, there was a
spooler called lpd and the client tool called lpr.

https://www.linuxtopia.org/online_books/linux_system_administration/linux_printer_HOWTO/setup_002.html


On Tue, Jun 14, 2022 at 11:00 PM  wrote:

> Folks:
>
> Back in the dark days of early Linux, before CUPS, we printed with
> printers all the time. There was an infrastructure for doing this. Does
> anyone remember how that worked? As in, what packages were needed, etc.?
>
> Paul
>
> --
> Paul M. Foster
> Personal Blog: http://noferblatz.com
> Company Site: http://quillandmouse.com
> Software Projects: https://gitlab.com/paulmfoster
>
>


Re: Printing the old way

2022-06-14 Thread Bijan Soleymani

On 6/14/2022 4:59 PM, pa...@quillandmouse.com wrote:

Folks:

Back in the dark days of early Linux, before CUPS, we printed with
printers all the time. There was an infrastructure for doing this. Does
anyone remember how that worked? As in, what packages were needed, etc.?


If you want to do this for practical reasons and not for nostalgia's sake then 
you can make a RAW spool/queue printer in CUPS. And then use the command line 
cups command as lp/lpr.

As in the olden days you'll have to make sure what you're sending to the 
printer is in some format it understands.

Unless you have a really weird printer or printer setup cthough you're better 
off having cups to the conversion to printer format for you.

https://stackoverflow.com/questions/26329186/creating-a-raw-printer-queue-in-cups-host-and-adding-them-through-cups-client

https://www.cups.org/doc/options.html

Bijan



Re: Printing the old way

2022-06-14 Thread Thomas Schmitt
Hi,

Paul M. Foster wrote:
> > Back in the dark days of early Linux, before CUPS, we printed with
> > printers all the time. There was an infrastructure for doing this. Does
> > anyone remember how that worked? As in, what packages were needed, etc.?

Greg Wooledge wrote:
> lprng was the most common one, I think.  As the name implies, that one
> is the "next generation" of lpr, the old BSD tool.

"printcap" is another term which pops up from my 1990s memories.
There still exist lpr and lprng as Debian packages:
  lpr: /usr/share/man/man5/printcap.5.gz
  lprng: /usr/share/man/man5/printcap.5.gz


Have a nice day :)

Thomas



Re: Printing the old way

2022-06-14 Thread Klaus Singvogel
pa...@quillandmouse.com wrote:
> Back in the dark days of early Linux, before CUPS, we printed with
> printers all the time. There was an infrastructure for doing this. Does
> anyone remember how that worked? As in, what packages were needed, etc.?

LPRng was the most common printing spooler before CUPS.

Additional you needed printer specific drivers, if you don't have a
PostScript capable printer.

But I cant remember anymore how to setup these things - around 20 years
have passed.

I have doubts that programs like libreoffice, gimp, or PDF readers will
still work without CUPS. But don't know for sure.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Printing the old way

2022-06-14 Thread Greg Wooledge
On Tue, Jun 14, 2022 at 04:59:36PM -0400, pa...@quillandmouse.com wrote:
> Back in the dark days of early Linux, before CUPS, we printed with
> printers all the time. There was an infrastructure for doing this. Does
> anyone remember how that worked? As in, what packages were needed, etc.?

lprng was the most common one, I think.  As the name implies, that one
is the "next generation" of lpr, the old BSD tool.



Printing the old way

2022-06-14 Thread paulf
Folks:

Back in the dark days of early Linux, before CUPS, we printed with
printers all the time. There was an infrastructure for doing this. Does
anyone remember how that worked? As in, what packages were needed, etc.?

Paul

-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster