thebegavalley.org.au: HOME
Username
Password
Path:  Home > The Bega Valley > Around the Region > Technology > More Technology Links > Tips and Tricks
Emergency Numbers
Resources Bega
Weather
TV Guide
Native Plants and Weeds
Cinema Screening Times
Classifieds
Community Resources
Community Technology Centres in NSW
Computer Hardware
Dictionary - Websters Online
Earth
Entertainment
Events
Gaming Links
Getting to the Bega Valley
Help Section (new)
History
Internet Content Laws
Internet Spam Laws
Local Radio Stations
Markets
Midi Resources
Places
Site Logo
ski resorts and accommodation
Sport
Technology
More Technology Links
Knoppix
Email
Modem Speed
Real Time Embedded Systems
Tips and Tricks
Typo3
Internet Security Hazards
Free Software Off The Internet
Travel
Wikipedia

Google Tricks

Limit your search to particular sites using site:yourwebsite

www.google.com/search

Also search cache, logical conditions, synonyms and more

see

www.google.com/help/refinesearch.html

www.google.com/help/operators.html

 

Copy a DVD to CD Sized AVI in real time

  • Install VideoLan Client (vlc) available for most OS's
  • URL www.videolan.org/vlc/
  • open vlc
  • File Menu, Open Disc
  • Select DVD not DVD(Menu), set drive letter or can do in preferences.
  • Select OutPut Stream and click settings
  • insert..
  • :sout=#transcode{vcodec=DIV3,vb=768,scale=1,acodec=mp3,ab=192,channels=2}:duplicate{dst=std{access=file,mux=avi,url="\\localhost\movies1\mycopyleftmovie.avi"}}
  • in the top line, change filename accordinlgy
  • Hit Ok, OK.
  • The DVD is now being saved to an avi file, 140Mins comes in around 650MB - A bit of DivX style pixelation.
  • The GUI will not reflect the settings in the above line. To use GUI
  • Check File: enter filename with .avi on end (works over samba 100Mbs LAN)
  • Note: Check playback to watch while you record (PAUSING IS OK, BUT FORWARD AND REWIND WILL OCCUR IN YOUR AVI FILE)
  • Encapsulation:
  • choose AVI
  • Transcoding:
  • video: DIV3, Bit Rate: 768kbs
  • Audio: mp3, 192Kbs, 2 channels
  • NOTE: FOR HIGH QUALITY PLAYBACK USE 1024Kbs and 192kbs (140Mins comes in around 1.2G)

Serving Linux Printers for Windows

PROBLEM: How to connect a crappy cheap USB printer to your linux server so windows clients can share it.

SOLUTION: Raw printing via samba

In short

0. Get dmesg to recognise the USB printer

rmmod printer;insmod printer

with result

USB Bidirectional printer dev 8 if 0 alt 0 proto 2 vid 0x04A9 pid 0x106A

1. create a raw print capability in /etc/printcap

raw:\

:rw:sh:\

:lp=/dev/usb/lp0:\

:sd=/var/spool/lpd/raw:\

:fx=flp:\

:mx#0:

2. make the spool directory with open permissions

mkdir /var/spool/lpd/raw; chmod 777 /var/spool/lpd/raw

3. create a samba printer share which specifies the windows printer driver to use

in the global section at the top.

print command = lpr -s -P %p %s

the -s is essential to print large print jobs, but this stops the printer file from being removed when printed.

You can use...

print command = lpr -s -P %p %s; rm %s

but this will stop multiple copies from printing (No solution on this yet).

 

[raw]

comment = Main PostScript printer driver for Windows clients

printer driver = Canon S200SP

printable = yes

browseable = yes

public=yes

* Note that the value for printer driver must match the descriptive tag under windows. Try install the printer locally under windows first to get the name. It's OK to leave it out too but you will be asked which type of printer. You can also specify samba options for the location of the printer drivers to install

* Canon printers using CAPT cannot be shared from a linux machine these include the Canon lbp-810 and 4 or 5 other laserbeam models. A specific CAPT print server or windows server must be used.

 

 

 

Notes

 

 

USB Installation

 

1. kernel modules - uhci or ohci (for laptops)

                               - printer

2. rmmod printer;insmod printer

or

apt-get install hotplug  and remove/insert usb cable

 

VMWare

only one of a Linux VM or Windows VM can control a printer at any one time

reset the usb (rmmod/insmod or cable) with vm in focus to grab device

device may drop off if accessed by other OS

 

 

 

 

Username Password
AUSTCOM - Australian Communities TYPO3 Printer Friendly