[LUNA] printing problems ....

William A. Mahaffey III wam at hiwaay.net
Fri Aug 29 11:10:43 CDT 2014


Yeah:


[root at kabini1, /etc, 11:08:37am] 469 %  ( lltr10 /var/log/ ; date )
-rw-------  1 root  wheel       733 Aug 29 03:05 ipfw.today
-rw-------  1 root  wheel     42811 Aug 29 03:05 dmesg.today
-rw-------  1 root  wheel     14195 Aug 29 05:35 auth.log
-rw-r--r--  1 root  wheel     52998 Aug 29 06:44 Xorg.0.log
-rw-r-----  1 root  wheel      1448 Aug 29 07:09 sendmail.st
-rw-r-----  1 root  wheel      4099 Aug 29 07:09 maillog
-rw-r--r--  1 root  wheel       481 Aug 29 08:22 lpd-errs
-rw-------  1 root  wheel     63731 Aug 29 09:12 security
-rw-r--r--  1 root  wheel    286089 Aug 29 09:54 messages
-rw-------  1 root  wheel     18473 Aug 29 11:05 cron
Fri Aug 29 11:08:50 CDT 2014
[root at kabini1, /etc, 11:08:50am] 469 %


i.e. no lpd errors from when I tried to print .... You could well be 
right about that auto conversion .... I do have cups installed, but 
was/am trying to go as native as possible ....


On 08/29/14 10:59, Bob Nance wrote:
> You need a postscript filter that will convert your text into postscript before sending it. I don’t know much postscript, but I do know that a PS program must start with a flag saying which version it is and it must end with a “show page” to make it print what it has received. If you’re using CUPS, it SHOULD do that for you. That’s probably what’s happening on the Linux computers.
>
> Did you go look at the “/var/log/lpd-errs” files?
>
> ---
>    Bob Nance
>    Novation Systems
>    bob.nance at novationsys.com
>    256-534-4620
>
> On Aug 29, 2014, at 10:54 AM, William A. Mahaffey III <wam at hiwaay.net> wrote:
>
>>
>> I am trying to get printing working under FBSD 9.3. I cribbed printcap info from https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html#printing-quick-start & tried it out:
>>
>>
>> [root at kabini1, /etc, 10:48:04am] 458 %  service lpd status
>> lpd is running as pid 27062.
>> [root at kabini1, /etc, 10:48:06am] 459 %  printf "From jaguar:\n1. This printer can print.\n2. This is the second line.\n" | lpr
>> [root at kabini1, /etc, 10:48:36am] 460 %  lpq
>> no entries
>> [root at kabini1, /etc, 10:48:38am] 461 %  (tail printcap )
>> #       :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
>> #
>> # ... following cribbed from Athlon-cube, FC14 ;-) ....
>> #
>> # printer|Xerox Phaser 6130N:rm=jaguar.cfd.com:rp=printer:
>> # Cups-PDF|Cups-PDF:rm=jaguar.cfd.com:rp=Cups-PDF:
>> #
>> # ... following cribbed from online FBSD LP docs ....
>> #
>> lp:lp=:rm=printer:rp=raw:sh:mx#0:sd=/var/spool/lpd/lp:lf=/var/log/lpd-errs:
>> [root at kabini1, /etc, 10:48:59am] 462 %  ping printer
>> PING printer (192.168.0.24): 56 data bytes
>> 64 bytes from 192.168.0.24: icmp_seq=0 ttl=255 time=0.638 ms
>> 64 bytes from 192.168.0.24: icmp_seq=1 ttl=255 time=0.632 ms
>> 64 bytes from 192.168.0.24: icmp_seq=2 ttl=255 time=0.623 ms
>> 64 bytes from 192.168.0.24: icmp_seq=3 ttl=255 time=0.634 ms
>> 64 bytes from 192.168.0.24: icmp_seq=4 ttl=255 time=0.631 ms
>> 64 bytes from 192.168.0.24: icmp_seq=5 ttl=255 time=0.640 ms
>> 64 bytes from 192.168.0.24: icmp_seq=6 ttl=255 time=0.769 ms
>> 64 bytes from 192.168.0.24: icmp_seq=7 ttl=255 time=0.622 ms
>> 64 bytes from 192.168.0.24: icmp_seq=8 ttl=255 time=0.758 ms
>> 64 bytes from 192.168.0.24: icmp_seq=9 ttl=255 time=0.634 ms
>>
>> --- printer ping statistics ---
>> 10 packets transmitted, 10 packets received, 0.0% packet loss
>> round-trip min/avg/max/stddev = 0.622/0.658/0.769/0.053 ms
>> [root at kabini1, /etc, 10:49:41am] 463 %
>>
>>
>> Nothing ever comes out of the printer, thought it does light up, it seems to know it got something .... The same printf stuff above works from the shell CLI on other Linux boxen (CUPS), so the printer can handle straight ASCII text .... TIA for any clues ....
>>
>>
>> -- 
>>
>> 	William A. Mahaffey III
>>
>> ----------------------------------------------------------------------
>>
>> 	"The M1 Garand is without doubt the finest implement of war
>> 	 ever devised by man."
>>                            -- Gen. George S. Patton Jr.
>>
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>>
>> _______________________________________________
>> LUNA mailing list
>> LUNA at lunagroup.us
>> http://lunagroup.us/mailman/listinfo/luna
> _______________________________________________
> LUNA mailing list
> LUNA at lunagroup.us
> http://lunagroup.us/mailman/listinfo/luna
>

-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.



More information about the LUNA mailing list