Printing on F12
Aaron Konstam
akonstam at sbcglobal.net
Mon Dec 7 15:26:05 UTC 2009
Sorry for top posting but one wonders what happens if you use lpr rather
than lp. Are we System V or Berkley. I just wonder.
On Sun, 2009-12-06 at 18:31 -0700, Paolo Galtieri wrote:
> I setup a remote lpd network attached printer using
> system-config-printer. And it works ... sort of :-)
>
> I print a file, e.g.
>
> lp /etc/hosts
>
> and I get as a response
>
> request id is HP-LaserJet-2100-29 (1 file(s))
>
> which is the lp print id. This file prints. On the other hand:
>
> cd /var/www/html/css
> lp php-test.css
>
> returns
>
> lp: successful-ok
>
> This file does not print, nor does
>
> lp /var/www/html/css/php-test.css
>
> Other files in /var/www/html printed successfully.
>
> I ran wireshark and in every case where I got "lp: successful-ok" I
> see no traffic.
>
> if I
>
> cd ../js
> lp ajax.js
>
> Then I get
>
> request id is HP-LaserJet-2100-33 (1 file(s))
>
> Here are the file sizes:
>
> [pgaltieri at peglaptop js]$ ls -l
> total 12
> -rw-r--r--. 1 pgaltieri pgaltieri 1041 2009-12-05 17:37 ajax.js
> -rw-r--r--. 1 pgaltieri pgaltieri 2158 2009-12-05 17:45 dept.js
> -rw-r--r--. 1 pgaltieri pgaltieri 542 2009-12-04 15:00 site.js
>
> [pgaltieri at peglaptop js]$ ls -l
> total 12
> -rw-r--r--. 1 pgaltieri pgaltieri 601 2009-12-04 21:23 about-me.css
> -rw-r--r--. 1 pgaltieri pgaltieri 506 2009-12-04 21:23 main.css
> -rw-r--r--. 1 pgaltieri pgaltieri 835 2009-12-06 11:48 php-test.css
>
> If I rename the file
>
> cp about-me.css /tmp/XX
> lp /tmp/XX
>
> I get
>
> request id is HP-LaserJet-2100-34 (1 file(s))
>
> But it will not print any file that ends in .css. Is this expected
> behavior? Why should lp care?
>
> Any help is appreciated.
>
> Paolo
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
--
=======================================================================
I'd rather be led to hell than managed to heavan.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net
More information about the fedora-list
mailing list