Date: Fri, 10 Nov 2017 09:06:01 -0500 From: "James B. Byrne" <byrnejb@harte-lyne.ca> To: "Dutch Ingraham" <stoa@gmx.us> Cc: freebsd-questions@freebsd.org Subject: Re: vim / gvim unable to get hardcopy Message-ID: <e0a1a2bc716a25cd5066ba4c1da25920.squirrel@webmail.harte-lyne.ca> In-Reply-To: <mailman.90.1510315202.51235.freebsd-questions@freebsd.org> References: <mailman.90.1510315202.51235.freebsd-questions@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, November 9, 2017 12:26, Dutch Ingraham wrote:
> On Thu, Nov 09, 2017 at 11:54:53AM -0500, James B. Byrne via
> freebsd-questions wrote:
>> I discover this morning that I cannot print hardcopy from vim. I do
>
> You likely need to set a default printer, if you haven't done so. See
> <man 8 lpadmin> and specifically the -d switch.
>
Oh, it was worse than that. I discovered that lpd is not enabled as a
default on FreeBSD and that I had to add the line -- lpd-enable="YES"
-- to /etc/rc.conf to get things to start printing. I infer from
this, and from the mass of printing that came off the system printer
as soon as cups-lpd was started, that printing from vim, or nay other
cli command, has not worked on this system since it was installed in
July.
Funnily enough, I found that the settings in /etc/printcap were all
there for the printers we have on the network. As were the spool
directories in /var/spool/lpd/. I have no idea how that happened and
yet the lpd service was not enabled.
Thanks.
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e0a1a2bc716a25cd5066ba4c1da25920.squirrel>
