Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2011 15:15:07 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Antonio Olivares <olivares14031@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: printing to a HP Deskjet 812C printer
Message-ID:  <20110728151507.0c150f3c.freebsd@edvax.de>
In-Reply-To: <CAJ5UdcPejU0cmn5S_O2tFz=WrbwbG5fcVM9Xiq2V%2B_YMSFNF9Q@mail.gmail.com>
References:  <CAJ5UdcM-BbvZHdMLsNH0xckFhgL8z-PfcyB_Q-eTnrfhjYHtUg@mail.gmail.com> <CANmv3=w_Qw_qfw_8gsT23JhOLG%2B7%2BwoottdC%2B-=Oe7zmEGEsGQ@mail.gmail.com> <CAJ5UdcON6Fpxi%2Br_wVjx4TUQW4pJufFdUQjh1bSsJw=a%2BZ8Drg@mail.gmail.com> <CANmv3=yz7TO-12zOVMj9MpjY91M18E4ePE=UzOtv8UxFUXJ=kg@mail.gmail.com> <CAJ5UdcM70MQh35hgzF8DG0r0iW7Vwd1s7y6r62VbFMpBd3_dDA@mail.gmail.com> <CANmv3=zSYQ1NXNW8QXi8HS3N_0NjWf0b5Xm6WE5vyubPQ-6cAg@mail.gmail.com> <CAJ5UdcNhFWRDpD1A0ADdmKUGUEB83s6hpgHUR8oew=LmFR12Eg@mail.gmail.com> <CANmv3=x5fakRvE8%2Bb8Xwa_yx6mCf_Uuhas7i73Pf2v=tXHB1Ew@mail.gmail.com> <CANmv3=wUmm=ZVmxGHtiX4M2tvAWeq0o5cwCE8A5Kxrd_Op9jYA@mail.gmail.com> <CAJ5UdcP%2BzgboZ27Y=Ehbg82DOR1xpptA9FgReXNeqzFTc8u3Pg@mail.gmail.com> <CAJ5UdcPejU0cmn5S_O2tFz=WrbwbG5fcVM9Xiq2V%2B_YMSFNF9Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Jul 2011 20:05:12 -0500, Antonio Olivares wrote:
> @ all,
> 
> I restarted machine and I can print from command line :)
> 
> [olivares@quadcore ~/Documents]$ cat Document1.txt |  lpr -P Deskjet
> [olivares@quadcore ~/Documents]$ lpq -a
> Deskjet:
> Deskjet is ready and printing
> Rank   Owner      Job  Files                                 Total Size
> active olivares   2    (standard input)                      10405 bytes
> 
> [olivares@quadcore ~/Documents]$
> 
> Now how do I configure apps like Firefox, evince, LibreOffice to print?

No need to do that. Basically, the default options
should be fine. However, _some_ programs require you
to set paper format or margins.

For actual _printing_, there is no need for any
configuration. Programs will address the default
printing queue (lp, or whatever $PRINTER says).

If your printer is "Deskjet", add

	setenv PRINTER Deskjet

to /etc/csh.cshrc for systemwide use (all users),
or whatever your default shell is. You can also
use login.conf to set this environmental variable.

I suggest to do so because if _not_ done, you'd
have to add "-P Deskjet" in too many places. :-)



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110728151507.0c150f3c.freebsd>