Printers :: HELP!  (Only test page prints)



I set up the printer, and the test page prints fine, but nothing else prints at all.

I used System->Printing/lpd/Start and  the export Printer= command (as shown in the printerhowto pdf file), but the printer STILL doesn't work.  I edited the filetool and bootlocalsh files as instructed.  But as necessary as these steps are, they weren't sufficient.

What else could be missing?  Can anyone tell me what files are used by the printing system and how to tell exactly where my problem is?

If you aren't running the application in the same environment where you exported the variable, it won't see it.

Since you placed it in bootlocal (which is a startup file), you'd need to restart first.

Quote (^thehatsrule^ @ May 01 2008,16:52)
If you aren't running the application in the same environment where you exported the variable, it won't see it.

Since you placed it in bootlocal (which is a startup file), you'd need to restart first.

It's been several days since I first followed the instructions in that howto document, so I've powered the computer up and down multiple times.

Now what do you mean by "If you aren't running the application in the same environment where you exported the variable, it won't see it."?  I have no idea what you're talking about.

Can you print from command prompt?

lpr -h -Pyour_printer_name a_small_text_file_to_print
e.g.

lpr -h -Plp Events.cal

Where my printer name is lp (apsfilter default) and the text file to print is Events.cal

Did you export using Printer and not PRINTER?

What does the command env show for your printer?

Quote (roberts @ May 01 2008,21:09)
Can you print from command prompt?

lpr -h -Pyour_printer_name a_small_text_file_to_print
e.g.

lpr -h -Plp Events.cal

Where my printer name is lp (apsfilter default) and the text file to print is Events.cal

Did you export using Printer and not PRINTER?

What does the command env show for your printer?

Printing from command prompt didn't work.  I got:
[/home/dsl/jhsu-homepage]# lpr -h Plp hans.html
Warning - Cannot open file 'Plp', No such file or directory
Status Information:
sending job 'root@box+209' to lp@localhost
connecting to 'localhost', attempt 1
connected to 'localhost'
requesting printer lp@localhost
job 'root@box+209' transfer to lp@localhost failed
 error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL'
 sending str '^Blp' to lp@localhost
error msg: 'printer 'lp', chdir to '/var/spool/lpd/lp' failed 'No such file or directory''

The env command gives me:[/home/dsl/jhsu-homepage]# env
HZ=100
SHELL=/bin/bash
TERM=rxvt
WINDOWID=16777218
USER=root
SUDO_USER=dsl
SUDO_UID=1001
MAIL=/var/mail/dsl
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games:/opt/bin:.
PWD=/home/dsl/jhsu-homepage
LANG=C
SUDO_COMMAND=/bin/su
COLORFGBG=15;0
IRCNICK=DSL
SHLVL=4
HOME=/root
LANGUAGE=us
LOGNAME=root
SUDO_GID=50
DISPLAY=:0.0
COLORTERM=rxvt-xpm
XAUTHORITY=/home/dsl/.Xauthority
_=/usr/bin/env
OLDPWD=/home/dsl

Next Page...
original here.