Re: Printing checks with ledger??

2018-06-17 Thread Marcin Borkowski


On 2018-06-18, at 06:12, Matthew Sewell  wrote:

> Thanks for all the feedback.
>
> I've never used LaTex before but it seems like it could be a good solution.
> The problem will be trying to figure out how to format the check correctly.
> My checks are printed on 'VersaCheck Form 1000' which is a 3 section
> perforated page where the check is on top, transaction details in the
> middle, and addresses on the bottom to use with windowed envelopes (see
> image below). I like using these checks because they do not have your
> account numbers pre-printed on the bottom. I have multiple businesses and
> each business has multiple bank accounts. I hate having multiple checkbooks
> and checkstock floating around my office so the VersaCheck 1000's are nice
> for simplicity because I can just print the account I want on there at the
> time of printing.
>
> 
>
>
> Any input on where to start when it comes to formatting these checks with
> Latex would be appreciated.

An easy way would be to use the tikz LaTeX package, which can position
things in arbitrary places on the page.  The downside is that it needs
two LaTeX runs, but with a script that shouldn't be a problem.

I'm sure there are simpler ways, but this is the hammer I know.

BTW, don't forget to say \pagestyle{empty} in your template or else you
end up with a pagenumber at the bottom!

Hth,

--
Marcin Borkowski
http://mbork.pl

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Printing checks with ledger??

2018-06-17 Thread Matthew Sewell
Thanks for all the feedback. 

I've never used LaTex before but it seems like it could be a good solution. 
The problem will be trying to figure out how to format the check correctly. 
My checks are printed on 'VersaCheck Form 1000' which is a 3 section 
perforated page where the check is on top, transaction details in the 
middle, and addresses on the bottom to use with windowed envelopes (see 
image below). I like using these checks because they do not have your 
account numbers pre-printed on the bottom. I have multiple businesses and 
each business has multiple bank accounts. I hate having multiple checkbooks 
and checkstock floating around my office so the VersaCheck 1000's are nice 
for simplicity because I can just print the account I want on there at the 
time of printing.




Any input on where to start when it comes to formatting these checks with 
Latex would be appreciated.

I think a good workflow would look something like this...
1. Enter transactions as 'Liabilities:ST Accounts Payable' in Ledger
2. pull report to get all transactions from this account
3. Use the packages recommended by Jostein to convert output into LaTex
4. Python or bash script to convert to pdf and change all accounts from 
'Liabilities:ST Accounts Payable' to the checking account where the check 
was written from (i.e. Assets:Business Checking)

I suppose in theory steps 2-4 could all be scripted and then invoke the 
script with a hotkey but I'll cross that bridge when I get to it. 

- Matt Sewell



On Wednesday, June 13, 2018 at 1:55:40 PM UTC-7, Matthew Sewell wrote:
>
> I'm wondering if anyone has ever used ledger for check printing. I used to 
> use my banks bill pay but then they sent a large American Express payment 
> to the wrong account and I never got the money back. It was an $1,800 
> payment so I've vowed to never use it again and since then, I've been hand 
> writing all my business checks after I enter the transaction into ledger.
>
> Has anyone ever printed checks from entries in ledger? It doesn't seem 
> like it would be too difficult to make a checks report that could be 
> exported in pdf and then printed. This would save me hours of time. Just 
> wondering if anyone has thought of this or done this before? 
>
> I found this program written in php that does a good job of generating the 
> checks but of course, it doesn't talk to Ledger:
> https://github.com/aaronpk/checks
>
> I'm willing to develop this if needed but thought I'd see if there's any 
> other ideas out there.
>
> Thanks,
>
> Matt Sewell
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Advanced reporting

2018-06-17 Thread Colin Dean
So far, most of my needs for reporting have been satisfied by simple 
balance reporting, sometimes with some custom formatting.

For some more advanced stuff, I've got a Ruby script that captures the 
output of a few ledger balance reports and then runs some further 
calculations. For example, I want to sum the total expenses of a few 
accounts, half of the expenses of another few accounts, and then some more 
complex logic for some others. Is there a way to do this within ledger?

Next up, I want to try to calculate my savings rate. Is there something 
that would let me effectively capture the output of two balance reports? 
E.g. ledger bal --start "Jan 1" (Assets / (Income - Expenses:Taxes))

I'm working up in my head some kind of wrapper around ledger that would let 
me define simple and complex reports in some kind of manifest format and 
then dump that output to a nice-looking report. I've kinda already cobbled 
something together for the non-profit for which I use ledger, but I want to 
refactor it into something more maintainable than a 1000 line Makefile ;-)

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.