Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'These do NOT work.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
These do NOT work.
Authored by: modingo on Aug 25, '03 03:37:26AM

I followed these instructions completely and without a single typo. It simply will not print with the ---->% lpr -P C42UX printer

I get this:
[xx-xxx-xx-x:~] francesraabe% lpr -P C42UX printer
lpr: unable to print file: client-error-not-found

The LPD Queue name is C42UX and it prints from the host just fine. The remote (but networked) MacOS9 client can not locate the C42UX printer either. The Desktop Printer Utility was configured as mentioned for this classic mac with the appropriate IP & Queue name.

If anyone has successfully done this with these instructions, please post here and explain how you did this. It would surely be amazing if it actually worked!



[ Reply to This | # ]
This Does
Authored by: mmichaelmmorriso on Oct 12, '03 12:28:34PM
I've tried for quite some time to get my files to print from my wife's iBook (clamshell) running OS 9.2 to the Epson Inkjet or HP Laserjet 4 on our network. The HP is directly connected to the ethernet hub and the Epson is connected to the OS X iMac via USB. I've tried using this hint, but it doesn't work, and I scoured the internet with no result. Yet, there is a simple, if not particularly elegant, way.

I've written a very simple Applescript and attached it to my drop box folder on the OS X machine. I've placed an alias of the drop box on the desktop of the OS 9 machine (set to appear on start up). When the user of the OS 9 machine drops a file into the drop box the Applescript is activated and the finder prints the file to the default printer.

1) Create this simple Applescript:


on adding folder items to this_folder after receiving these_items
	tell application "Finder"
		print these_items --this prints the item(s) dropped into the drop box
		delay 50 -- this pauses the process until the printer has time to print (make it longer if you wish)
		delete these_items -- this deletes the files after printing - keeps folder clean
	end tell
end adding folder items to
2) Put this script (I call it droptoprint) in /(name of your hard drive)/library/scripts/folder action scripts). Using folder actions, attach this script to your "drop box" folder in the "public" folder of your "home" folder on the OS X machine. Of course, you must have script menu and folder actions enabled (Script menu is a folder called Script Menu.menu in your Applescript folder or can be downloaded here You must drag the Script Menu.menu to your menu bar to activate). Go to the "Enable Folder Actions" item in the "Folder Actions" submenu to start folder actions. Then to "Attach Script to Folder" in the same submenu. Select the script and attach.

3) Mount the OS X machine's drop box on the OS 9 machine's desktop. To do so go to the Chooser, select AppleShare and log onto the OSX machine's hard drive (as guest) and have the drive mount to the desktop at startup (of course Personal File Sharing must be started on the OS X machine). Make an alias of the drop box and put it on the OS 9 desktop.

4) When the OS 9 user wishes to print have them either 1) print to a file and drop the resulting file into the drop box or 2) drop an existing file into the drop box. One limitation; the OS X machine must have an application that supports that file (e.g. if you have Apple Works on your OS 9 laptop but not on your OS X desktop.. then it won't print.) Oh... and remember that this will print and delete everything dropped into your drop box!!

enjoy!!

[ Reply to This | # ]