2007年2月20日火曜日

SMB printing

I found that using this URL was the only way to access the printer on the Windows XP Box:
私は、このURLの使用がウインドウズXP箱の上のプリンタにアクセスするただ一つの方法であることを知りました:

smb://<your short name on the mac>:<your password on the mac>@<your pc workgroup name>/<name of the XP machine>/<shared name of the printer on the XP machine>.
smb://<macの上のmac>:<yourパスワード上のあなたの短い名>@<あなたのpcワークグループ名>/<XP機械の名>/<XP機械上のプリンタの共有名>。

So my smb URI looks like this:
したがって、私のsmb URIはこのように見えます:
smb://akirwan:<hml>@WORKGROUP/mike/hpdeskjet
smb://akirwan:<hml>@WORKGROUP/マイク/hpdeskjet

[ Reply to This ]
[これに答える]
ServerName
ServerName

Authored by: terpsichore on Mon, Jan 13 '03 at 03:14PM
次のものによって著されました:03:14PMに'03年1月13日(月)のterpsichore

Thanks for all the tips. What I needed to do to print to a share running Windows 98 was to use the Windows servername and not the DNS name that shows up when I connect to that computer using Connect to Server...
すべての先端に感謝。Windows98を実行するシェアに印刷するために、私が行う必要のあったのはウインドウズservernameを使用することでした、そしてない、DNS名、私がコンピューター使用に接続する場合、それは現われる、サーバーに接続する...

I used smb://<Windows username>:<passwd>@<workgroup>/<Windows servername>/<share>
私はsmb://<ウインドウズusername>:<passwd>@<ワークグループ>を使用しました/<ウインドウズservername>/<シェア>

I also got the HP LaserJet 1100 drivers from
http://www.linuxprinting.org/macosx/hpijs.html
さらに、私はhttpからHP LaserJet 1100ドライバーを得ました://www.linuxprinting.org/macosx/hpijs.html

[ Reply to This ]
[これに答える]


2) Once you do see the "WINDOWS printer via SAMBA" option, select it, enter the following address in the printer Device URI:
2) 一旦「SAMBAによるWINDOWSプリンタ」オプションを見れば、それを選択する、プリンタ装置URIの中で次のアドレスに入る:

smb://winuser:password@workgroup/server/printer
smb://winuser:パスワード@ワークグループ/サーバー/プリンタ

winuser - This is the usesrname under windows
winuser-これはウィンドウの下のusesrnameです。
password - This is the password for the winuser above.
パスワード-これは上記のwinuserのためのパスワードです。
workgroup - This is the windows workgroup the printer is under. (If you have not changed it then it defaults to "workgroup"
ワークグループ-これはプリンタがあるウィンドウ・ワークグループです。(あなたがそのときそれを変更していなければ、それは自動的に「ワークグループ」になります。)
server - This is the name of the computer or ip address
サーバー-これはコンピューターかipアドレスの名前です。
printer - This is the printer name
プリンタ-これはプリンタ名です。


Solution to "unable to contact Samba Host, retrying in 60 seconds"
解決、に「60秒で再び試みて、Sambaホストと連絡をとるのにできない」

Authored by: krystal on Wed, Aug 13 '03 at 07:57AM
次のものによって著されました:07:57AMに'03年8月13日(水)にkrystalです。

Hi
今日は

I am a Mac dealer in India and many of my clients work in a PC and Mac environment and the first question is about sharing printers on windows machines to Macs.
私はインドのマック・ディーラーです。また、私のクライアントの多くはPCとマックの環境で働きます。また、第1の質問はマックへのウィンドウ機械上のプリンタの共有に関係しています。

I have tried Gimp with Ghostscript and it works fine for most printers and machines (on Win 98SE and Win2000 Pro platform.... I did not yet try on other Win platforms)
Iは、Ghostscriptを備えたGimpを試みており、ほとんどのプリンタおよび機械(勝利98SEおよびWin2000賛成論プラットフォームの上の Iはまだ他の勝利プラットフォームをためしませんでした。)に適すように働きます。

I did this with about 5 Win machines and faced a problem on one machine which kept giving me an error "unable to connect to Samba host, will try in 60 seconds"
私は約5でこれをし?ワした、機械を勝ち取り、私にエラーを与え続けた1台の機械上の問題に直面した「Sambaホストに接続するのにできない、60秒で試みるだろう。」

I have been breaking my head on this for a fortnight when by coincidence I stumbled on Apple's knowledge base item which said that this problem occurs because BSD Optional Installs have not been installed on the Mac OS 10.2
オプションのBSDがインストールするので、それを言ったアップルの知識基礎アイテム上で私がつまずかせた一致によって、この問題が生じる場合、私は、2週間のためにこの上の頭を壊していました、マックOS 10.2にインストールされていない。

In your Jaguar install CD, when you start installing the OS you come to a stage where a dialog asks you to select the Hard Drive, below is an option called option or customise. Click on it and you can uncheck BSD Optional Install...default is checked. If BSD optional install is unchecked and the OS is installed you will not be able to use Gimp Print and you will keep getting this error.
あなたのジャガーの中で、来るOSをインストールし始める場合、CDをインストールする、対話がハードドライブを選択してくれるようにあなたに依頼する段階、以下に、オプションと呼ばれるオプションである、あるいはカスタマイズします。それとあなたをクリックする、オプションのBSDをuncheckすることができる、インストールする、デフォルトがチェックされます。オプションのBSDがインストールする場合、未検査である、また、OSはインストールされます、乏しい印刷およびあなたを使用することができないでしょう、このエラーを得続けるだろう

BSD Optional install can be done (If you OS CD is 10.2.3 and you have now updated to 10.2.6, update it again to 10.2.6 after installing BSD Optional Install) by just double clicking Optional BSD Install (there is only one) located in your Cd usually in a folder called Optional Installs.
オプションのBSD、インストールする、単なるダブルのクリックするオプションのBSDによってできる(場合、あなた、OS CDは10.2.3とあなたです、10.2.6まで今更新しており、オプションのBSDをインストールした後に10.2.6までそれを再び更新する、インストールする)インストールする(1つだけあります)通常フォルダー中のあなたのCdに位置した、オプションで、呼んだ、インストールします。

After that I am sure Gimp Print works like a breeze
その後に、私は微風のような確かな乏しい印刷工場です。

Another issue is the syntax. On Win98SE i used
別の問題はシンタックスです。使用されるWin98SE iの上で
smb://ALPHABETICALNAMEOFTHEPC/SHAREDNAMEOFTHEPRINTER
smb://ALPHABETICALNAMEOFTHEPC/SHAREDNAMEOFTHEPRINTER

in Win2000Pro I used smb://username:password@workgroup/alphabeticalnameofpc/sharednameoftheprinter
Win2000Proでは、私がsmb://ユーザー名を使用しました:パスワード@ワークグループ/alphabeticalnameofpc/sharednameoftheprinter

The syntax is also casesensitive. Play safe by keeping everything upper case/lower case if you are not sure.
さらに、シンタックスはcasesensitiveです。本当でなければ、すべてを大文字/小文字にしておくことにより安全策をとってください。

I hope you will find this useful
私は、あなたがこれを有用に感じることを望みます。

I decided to share my experience here because the info here helped me a lot
私は、情報がここで非常に私を助けたので私の経験をここで共有することを決定しました。



10.3: Print from Windows XP to a shared Mac printer
 
10.3:ウインドウズXPから共有されるマック・プリンタまで印刷します。
 
Mon, Feb 16 '04 at 08:55AM • from: tvkeller
 
08:55AM'04216()•発信者:tvkeller
 
 


There have been hints for that using Jaguar and CUPS. In Panther, it works without any special work under the hood -- just switch on "Printer sharing" and "Windows sharing" in the Sharing preferences panel. In Windows, add a new network printer; you can find it by browsing. But now the important thing: When Windows asks to select a driver for the printer, select any PostScript driver like the Apple LaserWriter or Color LaserWriter instead of the printer model you're using.
ジャガーとCUPSを使用するそのためのヒントがありました。パンサーでは、それがフードの下の特別の仕事なしで作動します。—— 共有する優先権パネル中の「プリンターの共有」および「共有しているウインドウズ」の上の単なるスイッチ。ウインドウズでは、新しいネットワーク・プリンタを加えてください;ブラウジングによってそれを見つけることができます。しかし今、重要なもの:ウインドウズがプリンタにドライバーを選んでくれるように依頼する場合、使用しているプリンタ・モデルの代わりにアップル・レーザーライターか色レーザーライターのように任意のPostScriptドライバーを選んでください。
______________________________________________



 
10.3: Another fix for SMB printing
 
10.3:SMB印刷のための別の調整
 
Tue, Feb 10 '04 at 09:39AM • from: rampras
 
09:39AM'04210()•発信者:rampras
 
 


I could not print to SMB printer from my OS X for quite a long time. It used to terminate printing with the errors:
Unable to connect to SAMBA host, will retry in 60 seconds
Connection failed with error NT_STATUS_UNSUCCESSFUL

It was too frustrating .. and no pointers on the net helped. So, I started poking around, found /etc -> cups -> printers.conf file. The URI was quite wrong for the SMB printer, and that was the reason it did not print. So, I created printers.conf with the following:
<DefaultPrinter printer>
Info HP
Location MYDOMAIN
DeviceURI smb://ramprasad:jmypass@mydomain/myprintserver/HP
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

Now, I restarted cupsd and it started working fine ... Panther rocks (I could never do such a thing in Windows).
私は、OS Xからの全く長い時のSMBプリンタに印刷することができませんでした。それは、かつてはエラーを備えた印刷を終了しました:SAMBAホストに接続するのにできない、接続がエラーNT_STATUS_UNSUCCESSFULで失敗した60秒を中へ再び試みるだろう。それはまた苛立たしかった..また、ネット上のポインターは助けになりませんでした。したがって、私が捜し回り始めた、ということを/etc->カップ->printers.confファイルは知りました。URIはSMBプリンタには全く間違っていました。また、それはそれが印刷しなかった理由で?オた。したがって、私は、下記を備えたprinters.confを作成しました:<DefaultPrinterプリンタ>情報HP位置MYDOMAINDeviceURI smb://ramprasad:jmypass@mydomain/myprintserver/HP州は使用されていませんはいの受理JobSheets、無、無、QuotaPeriod 0 PageLimit 0KLimit 0</Printer>さて、私はcupsdを再開し、素晴らしく働き始めました...ヒョウ岩(私は、ウインドウズ中のそのようなことを行うことができませんでした)。
______________________________________________


2007年2月18日日曜日

Swap File(仮想Memory)を別Partitionに設定

Swap File(仮想Memory)を別Partitionに設定

この処理はいろいろなところで話題になりました。最大の目的はOSXのSpeedUp Tuning処置にあります。
私はUsing a Dedicated Swapfile Partition to Speed Up MacOS Xの記述に基づいて下記のとおり設定しました。

Swap Fileに利用するPartitionは起動Diskと別のDiskのPartitionがAccess Speed上望ましいですが、起動Diskにswap専用Partitionを用意してもいいでしょう。要はFragmentationが発生しない環境が望ましいです。
またこの著者のMacのMemoryが384MBでSwapFileの容量を500MB確保しています。
専門家の推奨Sizeは次の公式で示されていますので参考にしてください。
((RAM - 256MB) x 1.25) + 512MB

手順

1.Terminalから下記を実行してswap FileにするVolume情報を得る
% df -k
/dev/disk1s30 .... /Volumes/swap
2.下記修正対象FileをBackUpする
3./etc/fstabの修正(次を追加)
/dev/disk1s30 /Volumes/swap hfs rw 1 2
4./etc/rcの修正
#swapdir=/private/var/vm    .....この行をcomment outする
swapdir=/Volumes/swap/vm   .....この行を追加

(注)disk1s30、swapは各自の環境での名前を使用ください。


この後Rebootしてください。
/Volumes/swap/vm にswapfile0が作成されていることを確認ください。
上記処理は私の環境( OSX10.3.2)でTroubleなく稼働しています。

なお、Swap Fileを専用のPartitionに設定することによるBench Mark結果もMacOS X VM Swapfile Benchmark Resultsに掲載されていますので参考にして下さい。

2007年2月17日土曜日

iDVD 4で外付けスーパードライブを使用する方法


Accelerate Your Macintosh!が、The Firmware PageにiDVD 4で外付けスーパードライブを使用する方法が投稿されていたと伝えていました。これはiDVD 4が持っている隠し機能を有効にする方法らしく、フォーラムに投稿されている「HPfurz.sit.hqx」ファイルをダウンロードし、解凍して出来たフォルダの中の「Hurz」と「Pfurz」のファイルを、ユーザディレクトリーに置き、iDVDを起動して、作成ボタンを押す時にコントロールキーを押すと「Format Disc」ダイアログが表示され、外付けスーパードライブが選択出来るようになるそうです。(ロジテックのLDR-4242F/Mで試してみたところ、可能であることを確認しました)

Tip/Trick for Burning in iDVD to External DVD Burners - Here's a tip from a reader email today - I just tried this here with a PB G4, 10.3.2/iDVD 4.0.1 and an external FW cased PX-708A plextor DVD burner (with a DVD-R disc of course) - and it allowed selecting the PX-708A drive as the target burn drive.

"
http://forum.rpc1.org/viewtopic.php?t=23370
Put the file into your Private folder. (
put the 2 files from the download there in your User folder) Control-Click iDVD's "burn" button.
Cheers, Joachim "

The download file there (see later forum post down that linked page which has a download link) unstuffs to 2 files in a folder (w/Adobe PICT resource file icons) - copy them (not the folder) to your root user folder, then launch iDVD and when pressing the burn button - hold down the "Control" key. (A dialog should pop up with available drives to burn to). The burn to my PX-708A (in OWC Firewire case) hasn't completed yet but it did allow selecting the drive as a target (listed both the internal PB G4 superdrive and the PX-708A drive - I chose the PX-708A).
Update - the burn completed successfully to my PX-708A. (Disc mounts/plays fine.) I used iDVD 4.0.1 but the trick works on iDVD2 and iDVD3 also according to readers.
As to why this works (having the 2 files in the user folder) - my guess is this is a way for testing iDVD burning with a wider range of drives that the programmer left in the code. (Easier to test new drives in FW cases than swapping internal drives).