Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: HELP!  (Only test page prints), Cannot print from applications< Next Oldest | Next Newest >
jhsu Offline





Group: Members
Posts: 175
Joined: Mar. 2007
Posted: May 01 2008,16:27 QUOTE

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?


--------------
Current cheatcodes:
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal home=hda3 opt=hda3 restore=hda3 root=hda3
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: May 01 2008,16:52 QUOTE

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.
Back to top
Profile PM 
jhsu Offline





Group: Members
Posts: 175
Joined: Mar. 2007
Posted: May 01 2008,18:44 QUOTE

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.


--------------
Current cheatcodes:
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal home=hda3 opt=hda3 restore=hda3 root=hda3
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: May 01 2008,21:09 QUOTE

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?
Back to top
Profile PM WEB 
jhsu Offline





Group: Members
Posts: 175
Joined: Mar. 2007
Posted: May 01 2008,21:51 QUOTE

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


--------------
Current cheatcodes:
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal home=hda3 opt=hda3 restore=hda3 root=hda3
Back to top
Profile PM 
8 replies since May 01 2008,16:27 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: HELP!  (Only test page prints)

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code