Oh yeah. I kinda forgot that there's no SETwithCSS. So you're right.
43 replies to this topic
#41 OFFLINE newbie
Posted 30 January 2012 - 09:19 AM
#42 OFFLINE newbie
Posted 30 January 2012 - 09:32 AM
It was a surprisingly simple task. Can anyone test it for me as I have no printer right now?
The script is like this:
Save Records as PDF filemac:/Macintosh HD/tmp/printout.pdf
Perform AppleScript do shell script "lpr /tmp/printout.pdf"
The script is like this:
Save Records as PDF filemac:/Macintosh HD/tmp/printout.pdf
Perform AppleScript do shell script "lpr /tmp/printout.pdf"
#43 OFFLINE newbie
Posted 31 January 2012 - 11:32 AM
And to finish this thread, yes, the method above works. It's best to find out the drive name beforehand, so...
There are various options you can pass to lpr, like duplex printing or rear tray printing.
You can find out all the options for your printer by typing
Printer's Specific Value/Human-readable description: *value1 value2 value3
Then you set Printer's Specific Values using lpr's -o flag like so
Thanks a lot to comment for helping me with this one and everyone else who contributed!!
Set Variable [$volumename; Value:Get ( SystemDrive )] Save Records as PDF filemac:$volumename/tmp/printout.pdf Perform AppleScript do shell script "lpr /tmp/printout.pdf"
There are various options you can pass to lpr, like duplex printing or rear tray printing.
You can find out all the options for your printer by typing
lpoptions -lin the terminal and then look for pairs that look like
Printer's Specific Value/Human-readable description: *value1 value2 value3
Then you set Printer's Specific Values using lpr's -o flag like so
lpr -o EPIJ_FdSo=0 -o Another_option=2 file_name_to_printwith the first being a string telling Epson B-300 printer to source paper from its rear tray.
Thanks a lot to comment for helping me with this one and everyone else who contributed!!
#44 OFFLINE newbie
Posted 04 February 2012 - 10:45 AM
Thanks to everybody who contributed in this thread, really helped me a lot
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
































