Hi,
I'm pretty new to squeak and smalltalk. Been at it for about 5-6 weeks now. I'm writing an application for a friend of mine, and I need to be able to print to a printer. The printer is most likely not a postscript printer, and it is most likely on a Windows computer (I happen to use Linux:) I can't find anything like a PrintStream or other object which would encapsulate printing to a printer.
I have text (no graphcs at the moment but there will be in the future) to print which I can format as I like. I need to be able to create a button that says 'Print' the user can press and get a report.
I've tried browsing and searching for print, printer, printing on the swiki, but no luck so far.
Can someone help me?
Jeff wolfb@bigfoot.com
BTW, the code I have so far is at http://jeff.nontrivial.org if you have the squeak plugin for your browser, or http://jeff.nontrivial.org/cutlist/MyStuff.st can be filed in if you don't have the plugin working in your environment.
I've tried browsing and searching for print, printer, printing on the swiki, but no luck so far.
Can someone help me?
Jeff wolfb@bigfoot.com
If you look in the list archives (which are where?) You'll find a PrintJob class and plugin I submitted to allow printing on the macintosh, that should work elsewhere once someone write the plugins for the various platforms.
Also see Source Forge changes for PrintJobPlugin comments by Lex Spoon on work he did on Linux.
squeak-dev@lists.squeakfoundation.org