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: (6) </ [1] 2 3 4 5 6 ... >/

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

reply to topic new topic new poll
Topic: What is the FULL procedure printing?  (frugal), I'm missing something< Next Oldest | Next Newest >
jhsu Offline





Group: Members
Posts: 175
Joined: Mar. 2007
Posted: June 22 2008,04:36 QUOTE

Here's my procedure so far.  (This is for the frugal install.)

  1.  Make sure that the printer is on and properly connected to the computer.
  2. DSL Menu -> System -> Printing/lpd -> configure printer
  3. Accept the license, use the default owner and group values for spooldir, and overwrite existing entries.
  4. Select Printer Drive Selection
  5. Go through each of the printer types until you find your model of printer. When you find your model of printer, select it.
  6. Select the appropriate Interface Setup.
  7. Select the appropriate paper format (probably US letter)
  8. Print the test page to verify that the configurations are correct. If nothing prints, or if gibberish comes out, at least one of your configuration settings is incorrect.
  9. When the test page prints out correctly, select the option to install the printer with the values shown. Note that the name of the printer is "lp".
 10. Select the option to finish the installation.
 11. DSL menu -> System -> Printer/lpd -> start
 12. In a shell, type "export PRINTER=lp".
 13. To save the settings, open Emelfm, go to the directory /home/dsl/, and click on the H button to reveal the hidden files.
 14. Edit the file .filetool.lst, which contains the list of directories whose contents are to be saved during reboots. Add the following directories: /opt/printcap, /opt/apsfilter, and /var/spool/lpd/lp .

WHAT AM I MISSING?  It seems that I'm able to get it working fine for awhile, only to later have the printing malfunction sometime later, as if something isn't saving properly or I missed one crucial step.


--------------
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: June 22 2008,05:00 QUOTE

How are you trying to print? From shell, from an app?

If you issue a ps | grep lp command do you see lpd Waiting?

If you issue the command env does PRINTER show up?

Do you actually have something in /opt/printcap?

Can you print a simple text file from shell specifying your printer name like:

lpr -h -Plp some_text.txt

or do you see error messages?

Unless you are running a very old version of DSL, .filetool.lst is in /opt/ and not your home directory. So, perhaps you are not getting the necessary files in the backup.

Typically, an attempt to setup a printer, will automatically cause a prompt to save your printer setting upon the shutdown process, see /usr/local/bin/exitcheck.sh.


Edited by roberts on June 22 2008,05:01
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: June 22 2008,13:16 QUOTE

Also, starting a new shell and exporting something is no use for anything not started under that shell. It should be done in bootlocal.sh or in .xinitrc..

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
jhsu Offline





Group: Members
Posts: 175
Joined: Mar. 2007
Posted: June 22 2008,15:20 QUOTE

I put "export PRINTER=lp" in the file opt/bootlocal.sh before shutting down, but I just booted up DSL again, and the PRINTER=lp does NOT show up when I type "env" in a shell.  Why not?

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





Group: Members
Posts: 175
Joined: Mar. 2007
Posted: June 22 2008,15:31 QUOTE

The "ps | grep lp" command does not yield the " lpd Waiting" response.

I put "export PRINTER=lp" in the file opt/bootlocal.sh before shutting down, but I just booted up DSL again, and the PRINTER=lp does NOT show up when I type "env" in a shell.  So I typed "export PRINTER=lp" in the shell again, so that's the only reason "PRINTER=lp" shows up when I type "env".

The "lpr -h -Plp" still yields error messages now even though it was able to print the last time I booted up.

I'm using DSL version 3.4.8, and .filetool.lst is in  the home directory, not the opt directory.


--------------
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 
25 replies since June 22 2008,04:36 < Next Oldest | Next Newest >

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

Pages: (6) </ [1] 2 3 4 5 6 ... >/
reply to topic new topic new poll
Quick Reply: What is the FULL procedure printing?  (frugal)

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