Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7346 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi Jerry,

I am trying to accomplish this:

I want to have a field that someone can type into. This (letter) is going to be different each time. So on that layout I want a field where the letter can be typed and to have a button to only print that field.

Right now if i were to try to print, it would just print the whole page.

Rob

Posted

I see. Just create a second layout that contains nothing but that field and print from there. It may be most convenient to script this so that the user is autmotically taken to the printing layout, the page is printed, and then the user is taken back to the original layout.

Merge fields are often helpful for letters. You may want to look into them a bit as well.

HTH,

J

Posted

Let it be said initially - I have no way with the gear availiable to substantiate what I here suggests ...Wim might confirm??

With version 5-6 and win98 cound you use Send Message by making a calcfield that incapsule the field at hand into a COMMAND /C ...the field value... and > PRN

But I seem to remember that DOS printing to a USB-printer should be captured by an utility like:

http://www.dsbglobal.com/dosprinter/

--sd

Posted

What a cool idea, Soren!

I tested it here, and it does work. Assuming you have a printer on LPT1, make a calc text field named PrintCommand, equal to


"cmd /c echo " & theNameOfTheField & " >> lpt1"





Now a script with two steps:



Send Message [ Field: PrintCommand ]

Send Message [ Text: echo >> lpt1 ]

will print a plain-text version of the field.

J

This topic is 7346 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.