Jump to content




Font styles on Mac and Windows



  • Please log in to reply
43 replies to this topic

#41 OFFLINE   Buckie  newbie

Buckie
  • Members
  • 41 posts
  • FM Client:11
  • Time Online: 6h 6m 18s

Posted 30 January 2012 - 09:19 AM

Oh yeah. I kinda forgot that there's no SETwithCSS. So you're right.

#42 OFFLINE   Buckie  newbie

Buckie
  • Members
  • 41 posts
  • FM Client:11
  • Time Online: 6h 6m 18s

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"

#43 OFFLINE   Buckie  newbie

Buckie
  • Members
  • 41 posts
  • FM Client:11
  • Time Online: 6h 6m 18s

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...
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 -l

in 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_print
with 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   Jaesonborn  newbie

Jaesonborn
  • Members
  • PipPipPipPip
  • 4 posts
  • FM Client:5
  • Platform:Windows 7
  • Skill Level:Entry Level
  • Certification:7
  • Membership:TechNet
  • Time Online: 27m 57s

Posted 04 February 2012 - 10:45 AM

Thanks to everybody who contributed in this thread, really helped me a lot :)


Back to Eye Candy


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

FMForum Advertisers