It is typically not necessary to reset these (Web design portfolio)
It is typically not necessary to reset these options in Samba, with the possible exception of printcommand. This option may need to be explicitly set if your printing system doesn t have a -r(remove after printing) option on the printing command. For example: /usr/local/lpr -P%p %s; /bin/rm %s With a bit of judicious programming, these smb.conf options can also used for debugging: print command = cat %s >>/tmp/printlog; lpr -r -P%p %s For example, this configuration can verify that files are actually being delivered to the Samba server. If they are, their contents will show up in the /tmp/printlog file. After BSD, the next most popular kind of printing system is SYSV (or System V) printing, plus some SYSV variants for IBM s AIX and Hewlett-Packard s HP-UX. These system do not have an /etc/printcap file. Instead, the printcapfileoption can be set to an appropriate lpstat command for the system. This tells Samba to get a list of printers from the lpstat command. Alternatively, you can set the global configuration option printcapnameto the name of a dummy printcap file you provide. In the latter case, the file must contain a series of lines such as: lp|print1|My Printer 1 print2|My Printer 2 print3|My Printer 3 Each line names a printer, and provides aliases for it. In this example, the first printer is called lp, print1, or MyPrinter1, whichever the user prefers to use. The first name will be used in place of %p in any command Samba executes for that printer. Two additional printer types are also supported by Samba: LPRNG (LPR New Generation) and PLP (Public Line Printer). These are public domain and Open Source printing systems, and are used by many sites to overcome problems with vendor-supplied software. In addition, the SOFTQ and QNX realtime operating systems are supported by Samba. 7.2.3.10 load printers The loadprintersoption tells Samba to create shares for all known printer names and load those shares into the browse list. Samba will create and list a printer share for each printer name in /etc/printcap (or system equivalent). For example, if your printcap file looks like this:[2] [2] We have placed annotated comments off to the side in case you ve never dealt with this file before. lp:\ :sd=/var/spool/lpd/lp:\ # spool directory :mx#0:\ # maximum file size (none) :sh:\ # surpress burst header (no) :lp=/dev/lp1:\ # device name for output :if=/var/spool/lpd/lp/filter: # text filter laser:\ :sd=/var/spool/lpd/laser:\ # spool directory :mx#0:\ # maximum file size (none) :sh:\ # surpress burst header (no) :lp=/dev/laser:\ # device name for output :if=/var/spool/lpd/lp/filter: # text filter 245
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision J2ee Web Hosting services.