Printing problems

Sarah Reichelt sarah.reichelt at gmail.com
Tue Oct 24 19:34:48 CDT 2006


> > On a related note, this app frequently needs to swap printers as it
> > prints labels on the Dymo printer and reports on a laser printer. This
> > is a real pain for the users as Rev has no way of storing & setting
> > page setups or printer preferences. I have to ask them to do Page
> > setup every time they print! If this is  also a problem for you,
> > please consider voting for Bug #1619
> > <http://support.runrev.com/bugdatabase/show_bug.cgi?id=1619>
>
> You did not indicate a platform, but if it is OSX, then Applescript may be
> the way to go.
> Check out
> http://developer.apple.com/technotes/tn2002/tn2082.html
>
> For example, the following script prints three copies of the second page of
> a document to the printer "Prints Charming" after showing the Print dialog.
>
> set theDoc to alias "Macintosh HD:ReadMe"
> set printConfig to {copies:3, starting page:2, ending page:2,
>     target printer:"Prints Charming"}
> print theDoc with properties printConfig with print dialog
>

Thanks very much for this Jim. It is only for OS X, so AppleScript
would be fine. I need to set the printer, the paper size and the
orientation for each different print task, so I'll check out this web
page and see what I can find.

Many thanks,
Sarah



More information about the use-livecode mailing list