First off, thank you everyone who chimed in.
I'll reply in reverse order, since it will be easier to track for me that way
SparkOut wrote: ↑Sun Mar 07, 2021 7:19 pm
The change in view of the text kerning/rendering sounds like a case of what the "formatForPrinting" command was created for on Windows, which I'm assuming you're not using.
Your assumption is correct, the program was made (and runs) on 'nix currently. I came across formatForPrinting before I posted, heh, as well I read about -
print
print card (cut off the picture at the limit of the cards size)
bogs wrote:My initial forray was to print the card, however, since I've never used printing previously, I was under the mistaken impression about what that meant, and the result.....well, let's just say that it is not what I was looking for.
printField (2nd picture in the last post of mine)
bogs wrote:
I found you *could* print a field, which would have worked out fine I think, however, what came out (in .ps or actual printer or .pdf) had the numbers running into the lines of the table, which is *not* what it looks like in the program.
printText (looked much worse than printField, obviously no formatting of the text, certainly no colors)
printHtml (printed the text clearly, and the bold, but no colors or table, and I didn't see how to insert a table in html in Lc in the html section of recognized symbols)
print from <TL> to <BR> (which give a picture of the field alright, but if the field is long enough only prints to the bottom of page 1 and cuts off instead of going to the next printing page)
That last one did surprise me a bit, especially if Lc is using the OS's printer driver, I'd have thought that you'd just send the information, the printer would spit out pages until it is done. What do I know ?
SparkOut wrote: ↑Sun Mar 07, 2021 7:19 pm
If that really isn't working for you, then I would create a substack for printing, go invisible to the printing substack, and use that to place the image snapshot, then print the substack's card. A few tweaks like Craig says, and you should be able to do this fine.
Thank you for confirming -
bogs wrote:So I take it that the only way to print an image would be to put it on a separate card and make it fully the size of the image, then print the card after turing it white so it doesn't look like your printing a card, is that it? If I understood all I read, you don't need the card or image to be visible, you just need them to exist?
Now if you (or anyone else) can answer the 2nd part of that...
Also, are there other 'gotchas' I should be aware of? Will a single card print over multiple sheets? Do I need to manually set the scale, or does the printing occur at 1:1 and flow to the next page? Those questions came from my reading, but I'm not sure I understood the descriptions properly.
... then I may be in business
dunbarx wrote: ↑Sun Mar 07, 2021 6:01 pm
But basically, if you can create, on a card, an "image" of what you want the final printed document to look like, I still don't see why you cannot use the built-in LC print tools to do it.
Yah, see, from every other rad language I've used, I thought this would be dead easy here. In Delphi, this was literally 1 to 2 lines of code *IF* that, just to print something (file, field, whatever). Maybe I just expect too much.
If you lasted this far, the print is of a field that is already formatted how it should look on the printed page. From the testing I've completed so far, it looks like an image is going to be the last output before printing. This image maybe be several pages long, I sure hope I don't have to specify where page breaks go on top of everything else?
jacque wrote: ↑Sun Mar 07, 2021 5:49 pm
It sounds like you want:
Code: Select all
print <card> from <topLeft> to <bottomRight>
where the described rectangle surrounds the area of interest.
That would be great, but I couldn't find a way to accommodate the way printing seems to work here. Just to save some (of you all's) time, I found out how to set margins, open the printer dialog, open (or not) the settings dialog and stuff like that already and have a pretty firm grasp on those topics.
At this point, all I have left to figure out is how to span the image over multiple pages, cause just like the TL to BR bit, I only get 1 full page of the image on paper. The whole image is there heh, and if I run it from an image software I could print it over as many pages as I need.