Re: Print salary receipts to a pdf image

Author: Ted Roche

Posted: 2018-09-14 at 10:23:40

The advice is pretty good, "don't do this unless you have to."

My clients have shipped a quarter-million PDFs with data merged from a

database app. so I've given this a bit of thought.

Using an image as a background is the worst possible solution short of

writing out the receipts by hand and postal-mailing them.

The image is large, it's usually poorly focused, it's rarely well-aligned

and it will look like poo when printed at the other end.

Rather than mix analog (the scanned image) and digital content, you can use

the VFP report writer, original hi-res logos, and a PDF printer to put out

clean text and high-resolution graphics.

Or you could redesign the form in another tool, like Word or LibreOffice or

Draw and convert it to a data form with CutePDF Professional and merge data

into the PDF with Adobe's (expensive) tools or something like pdftk (free

but more complex). That's a LOT more work, and I don't recommend it, unless

there's some reason you can't use VFP and/or XFRX or Foxy. ( I had to go

this way because app was PHP, not Fox)

On Fri, Sep 14, 2018 at 10:53 AM Rafael Copquin <rafael.copquin@gmail.com>

wrote:

> Perhaps I was not very clear.

>

> I have scanned the empty receipt as a pdf image.

> I want to fill it with the applicable data and then print it on a laser

> printer

>

> I can't use the vfp report writer because it will not take a pdf file as an

> image. And if I use a jpg file instead, it will not allow me to make it fit

> in the page with the right shape.

>

> Rafael

>

>

> El vie., 14 sept. 2018 a las 6:01, Alan Bourke (<alanpbourke@fastmail.fm>)

> escribió:

>

> > Maybe I'm missing something but would you not just design a normal VFP

> > report with the logo graphic and whatever boxes and lines are required,

> > reproducing the pre-printed stationery, and print that to PDF via XFRX or

> > whatever?

> >

> > --

> > Alan Bourke

> > alanpbourke (at) fastmail (dot) fm

> >

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CACW6n4u4idntY7rbEMA-C71nyFw_myxucguyv=LbUERv91VXuA@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2018 Ted Roche