Print using LPR/LPD from Chromium

Polytropon freebsd at edvax.de
Sat Aug 9 05:44:13 UTC 2014


On Fri, 8 Aug 2014 22:37:46 -0700, Martin Alejandro Paredes Sanchez wrote:
> El Sat, 09 Aug 2014 05:25:11 +0200
> Polytropon <freebsd at edvax.de> escribió:
> > On Fri, 8 Aug 2014 19:35:10 -0700, Martin Alejandro Paredes Sanchez
> > wrote:
> > > I am trying to print from Chromium, but in the dialog, only appear
> > > one option
> > > 
> > > Print to a file
> > > 
> > > From Claws Mail appear the option
> > > 
> > > Print to LPR
> > 
> > Do you have a printer installed? It's possible that the two
> > programs mentioned require CUPS for printing and won't work
> > when just the system's printing service is installed.
> 
> Yes, I have a printer installed, a HP LaserJet 1018, I can print from
> CLI and from others programs

Okay, in this case you've probably met some of the (luckily few)
programs that do not play well with system means for printing.
For example, I know that I needed to install CUPS to be able to
print from the Opera web browser (even though I actually have
no need for CUPS). So a possible solution would be to first
examine if the programs in question rely on CUPS, and then
you go ahead and install it; make sure to disable system's
LPR facility or have the CUPS installation process replace
the system tools (check "make config" for the CUPS port).

Others than that, I could imagine (NB: not tested!) that some
programs check if $PRINTER is defined, which usually isn't when
you use the default printer name "lp". I have installed my
Laserjet (HP LJ4000 DN) printer with the name "Laserjet" and
set $PRINTER accordingly.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list