TWiki> CF Web>Linux>DebianInCS>HowToQuestions (revision 16)EditAttach

HowTo Questions

Add questions here. Once they are answered they should be moved to the HowTo page

Add a printer

williams:~# lpadmin -p ljp-cs-1 -v smb://smb-unix.cs/ljp-cs-1
williams:~# enable ljp-cs-1
williams:~# accept ljp-cs-1
williams:~# lpadmin -d ljp-cs-1
and then I used a web browser to connect to http://localhost:631 and set up the PPD to use. (You can do that in the first command line with -P, but in Debian all the PPDs appear to be gzipped and I didn't know how to make it point at those instead.) This is an imperfect solution however; it doesn't appear to allow for username/password authentication. That can probably go into the device URI, but may result in plaintext passwords being stored?

Following is a list of CUPS packages installed (csc-debversions > 0.7 have these already installed):

[mpatters@williams] ~> dpkg -l | grep cups
ii  cupsomatic-ppd 20040506-1     linuxprinting.org printer support - transiti
ii  cupsys         1.1.20final+rc Common UNIX Printing System(tm) - server
ii  cupsys-bsd     1.1.20final+rc Common UNIX Printing System(tm) - BSD comman
ii  cupsys-client  1.1.20final+rc Common UNIX Printing System(tm) - client pro
ii  cupsys-driver- 4.2.6-7        Gimp-Print printer drivers for CUPS
ii  cupsys-driver- 4.2.6-7        Gimp-Print printer drivers for CUPS
ii  cupsys-pt      1.2.4-2.1      Tool for viewing/managing print jobs under C
ii  libcupsimage2  1.1.20final+rc Common UNIX Printing System(tm) - image libs
rc  libcupsys2     1.1.20final+cv Common UNIX Printing System(tm) - libs
ii  libcupsys2-gnu 1.1.20final+rc Common UNIX Printing System(tm) - libs
[mpatters@williams] ~> dpkg -l | grep foo
ii  foo2zjs        20040210-2     Support for printing to ZjStream-based print
ii  foomatic-bin   3.0.1-20040506 linuxprinting.org printer support - transiti
ii  foomatic-db    20040705-1     linuxprinting.org printer support - database
ii  foomatic-db-en 3.0.1-20040506 linuxprinting.org printer support - programs
ii  foomatic-db-gi 4.2.6-7        linuxprinting.org printer support - database
ii  foomatic-db-hp 1.5-20040621-1 linuxprinting.org printer support - database
ii  foomatic-filte 3.0.1-20040621 linuxprinting.org printer support - filters
ii  foomatic-filte 20040506-1     linuxprinting.org printer support - prebuilt
ii  foomatic-gui   0.6.7          GNOME interface for configuring the Foomatic
[mpatters@williams] ~> 
One should also make sure one is in the lpadmin group. Again, in CSCF Debian versions > 0.7 this will already be done.

Add a third-party PPD to CUPS

Related to the above, obviously: http://www.e-aiyama.com/~toshi/Computer/Linux/Cups.html

But we'd like to not have to put it under /usr, rather, it'd be nice if the PPD could live in the user's home directory much like we can do with fonts...

Configure a keyboard shortcut to start an application in Gnome

Make a serial port Palm Pilot work

  • pilot-link is the package. And set up /dev/pilot to point to something like /dev/ttyS0. jpilot is useful too, though there's also gnome and kde ones. Giving people access to /dev/pilot would also be good. Setting the environment variable PILOTRATE to 115200 might be nice.(BenKorvemaker)

How do I burn a CD, including an ISO image?

I know I can use xcdroast but what are the steps?

Installing XCDRoast

The 8.1 Debian installation that came with my machine did not have xcdroast installed. No biggie, we'll install it. Open a root terminal and enter:
apt-get install xcdroast sux
Confirm, if asked, with Yes(Y). This will install xcdroast on your machine. Note: I also installed sux, you'll see why in a moment.

Setting up XCDRoast

Open a non-root terminal and enter the following:
$ sux -
Enter Password:
# xcdroast
Now XCDRoast will start scanning for devices... This takes a while, unfortunately. Just let it do its job... smile Then click OK. After that, click on Launch X-CD-Roast. Next, click OK again. Click on Setup. Now, go in the HD Settings tab and add the folder where you will keep of your CD Images (ISOs) - Browse, then Add. (MikePatterson - normally I'd recommend using sudo rather than su.) Save Configuration, then OK, OK and another OK :-).

Now exit that and do the same thing for your userid.

Burning an ISO Image with XCDRoast

  1. Start XCDRoast
  2. Click on Create CD
  3. Click on Write Tracks and in the right pane it should show all the ISOs in the image folder you set during the Setup section
  4. Click on an ISO and then select Add, then Accept Track Layout. It will take you to the write tracks tab
  5. Change any of the other settings, or just leave the defaults and select Write Tracks.
  6. Your CD Image will be burned smile
Edit | Attach | Watch | Print version | History: r18 < r17 < r16 < r15 < r14 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r16 - 2005-02-18 - LawrenceFolland
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback