[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Printing on F12



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 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 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]