Index
2018-09-13 16:39Rafael Copquin : Print salary receipts to a pdf image
2018-09-14 03:14Paul Newton : RE: Print salary receipts to a pdf image
2018-09-14 04:01Alan Bourke : Re: Print salary receipts to a pdf image
2018-09-14 04:13Paul Newton : RE: Print salary receipts to a pdf image
2018-09-14 04:36Man-wai Chang : Re: Print salary receipts to a pdf image
2018-09-14 09:53Rafael Copquin : Re: Print salary receipts to a pdf image
2018-09-14 10:03Peter Cushing : Re: Print salary receipts to a pdf image
2018-09-14 10:10Frank Cazabon : Re: Print salary receipts to a pdf image
2018-09-14 10:23Ted Roche : Re: Print salary receipts to a pdf image
2018-09-14 10:40Stephen Russell : Re: Print salary receipts to a pdf image
Back to top
Print salary receipts to a pdf image

Author: Rafael Copquin

Posted: 2018-09-13 16:39:02   Link

I have the following requirement:

Print a salary receipt to a company form, previously generated as a pdf file

The application calculates the monthly salaries of the company's personel

and issues a salary receipt for each employee.

Now they print the receipt to a preprinted form with te company logo and

the Treasurer's signature

But they want to have the blank form, with the logo and static text,

including the officer's signature on the form, to be filled with the salary

data, employee name, deductions, etc and print the whole on a blank sheet

by a laser printer.

In this way the company will save the cost of having preprinted forms. They

will simply use a letter size sheet to print each receipt

What do you suggest, please?

What about FoxyPreviewer, or any other software?

Perhaps ask the printing company to scan a blank form and produce a pdf

file, or another image file?

Please advise

Thank you

Rafael Copquin

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

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/CAHM-jJ1qmLoechkjkesd_Uu6yitcOi0_1x0x9K4AuBt4EHX4iQ@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 Rafael Copquin
Back to top
RE: Print salary receipts to a pdf image

Author: Paul Newton

Posted: 2018-09-14 03:14:28   Link

Rafael

You could scan the blank form and insert the saved image into a blank report design and then overlay the parts of the form that need to be completed with the usual report controls

Paul Newton

-----Original Message-----

From: ProfoxTech <profoxtech-bounces@leafe.com> On Behalf Of Rafael Copquin

Sent: 13 September 2018 22:39

To: profoxtech@leafe.com

Subject: Print salary receipts to a pdf image

Sent by an external sender

------------------------------

I have the following requirement:

Print a salary receipt to a company form, previously generated as a pdf file

The application calculates the monthly salaries of the company's personel and issues a salary receipt for each employee.

Now they print the receipt to a preprinted form with te company logo and the Treasurer's signature But they want to have the blank form, with the logo and static text, including the officer's signature on the form, to be filled with the salary data, employee name, deductions, etc and print the whole on a blank sheet by a laser printer.

In this way the company will save the cost of having preprinted forms. They will simply use a letter size sheet to print each receipt

What do you suggest, please?

What about FoxyPreviewer, or any other software?

Perhaps ask the printing company to scan a blank form and produce a pdf file, or another image file?

Please advise

Thank you

Rafael Copquin

--- StripMime Report -- processed MIME parts --- multipart/alternative

text/plain (text body -- kept)

text/html

---

[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/SN1PR0201MB185618802EF933BC3877E96AA1190@SN1PR0201MB1856.namprd02.prod.outlook.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 Paul Newton
Back to top
Re: Print salary receipts to a pdf image

Author: Alan Bourke

Posted: 2018-09-14 04:01:18   Link

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

_______________________________________________

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/1536915678.351772.1507876040.4D56DA10@webmail.messagingengine.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 Alan Bourke
Back to top
RE: Print salary receipts to a pdf image

Author: Paul Newton

Posted: 2018-09-14 04:13:48   Link

Which is exactly what we have done for our HMRC P60s

-----Original Message-----

From: ProfoxTech <profoxtech-bounces@leafe.com> On Behalf Of Alan Bourke

Sent: 14 September 2018 10:01

To: profoxtech@leafe.com

Subject: Re: Print salary receipts to a pdf image

Sent by an external sender

------------------------------

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/SN1PR0201MB18569EB15BF3D79595F3ADF5A1190@SN1PR0201MB1856.namprd02.prod.outlook.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 Paul Newton
Back to top
Re: Print salary receipts to a pdf image

Author: Man-wai Chang

Posted: 2018-09-14 04:36:48   Link

Check out freeware virtual PDF printers? Even if you needed to pay for

commercial use, they were cheap.

https://www.google.com/search?q=freeware+pdf+printer

In Window$ 10, there is a Microsoft Print To PDF in Printers and

Scanners section.

On Fri, Sep 14, 2018 at 5:39 AM, Rafael Copquin

<rafael.copquin@gmail.com> wrote:

> I have the following requirement:

>

> Print a salary receipt to a company form, previously generated as a pdf file

>

> The application calculates the monthly salaries of the company's personel

> and issues a salary receipt for each employee.

> Now they print the receipt to a preprinted form with te company logo and

> the Treasurer's signature

> But they want to have the blank form, with the logo and static text,

> including the officer's signature on the form, to be filled with the salary

> data, employee name, deductions, etc and print the whole on a blank sheet

> by a laser printer.

> In this way the company will save the cost of having preprinted forms. They

> will simply use a letter size sheet to print each receipt

.~. Might, Courage, Vision. SINCERITY!

/ v \ 64-bit Fedora 25 Server Spin

/( _ )\ http://sites.google.com/site/changmw

^ ^ May the Force and farces be with you!

_______________________________________________

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/CAGv=MJBcpGevC0L8UUxa19qgvyHT4MFd5vP9Uh8P2gByRA2ktQ@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 Man-wai Chang
Back to top
Re: Print salary receipts to a pdf image

Author: Rafael Copquin

Posted: 2018-09-14 09:53:27   Link

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/CAHM-jJ2n+Y3DA6fii2_yUzyYyeHo9jU+xYQPyG1F1U8AWZ1a1g@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 Rafael Copquin
Back to top
Re: Print salary receipts to a pdf image

Author: Peter Cushing

Posted: 2018-09-14 10:03:33   Link

On 14/09/2018 15:53, Rafael Copquin 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.

>

Like Alan suggested I think the easiest solution is to just create it

using the VFP report writer.  Put all the words, lines, boxes etc using

the normal report writer tools and anything graphics like that you can't

create, put that in as a JPG or GIF.  I have done that on loads of

reports here.  You may be able to do the whole page as a watermark or

something like that and pretty sure there are people on the forum who

have done a full page watermark in VFP, but I'm sure the normal report

is easier.

Just my .02

Peter

This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.

www.whisperingsmith.com

Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR.

Tel:0161 831 3700

Fax:0161 831 3715

London Office: 101 St. Martin's Lane,London, WC2N 4AZ Tel:0207 299 7960

_______________________________________________

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/b52d6131-248d-6fdf-22aa-8c62c5dd26e9@whisperingsmith.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 Peter Cushing
Back to top
Re: Print salary receipts to a pdf image

Author: Frank Cazabon

Posted: 2018-09-14 10:10:13   Link

If you can get the PDF as a fillable PDF form you can then use PDFtk to

fill the form from VFP.

Frank.

Frank Cazabon

On 14/09/2018 10:53 AM, Rafael Copquin 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/8587096e-c3d2-eeec-3cad-bea03ec2aba9@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 Frank Cazabon
Back to top
Re: Print salary receipts to a pdf image

Author: Ted Roche

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

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
Back to top
Re: Print salary receipts to a pdf image

Author: Stephen Russell

Posted: 2018-09-14 10:40:33   Link

In Document Management systems this is given. You set the shell that holds

the text objects in place on top of the pdf file. You then pass the data

to this program and it pumps out a mail merge like operation. There are a

few in open source as a guess. My last project to do this created a label

for cases that the grand jury approved for prosecution. The label had

columns for defendant's info as well as other court data. The PDF was the

seal for the court as well as labels for data.

On Fri, Sep 14, 2018 at 10:04 AM Peter Cushing <pcushing@whisperingsmith.com>

wrote:

> On 14/09/2018 15:53, Rafael Copquin 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.

> >

> Like Alan suggested I think the easiest solution is to just create it

> using the VFP report writer. Put all the words, lines, boxes etc using

> the normal report writer tools and anything graphics like that you can't

> create, put that in as a JPG or GIF. I have done that on loads of

> reports here. You may be able to do the whole page as a watermark or

> something like that and pretty sure there are people on the forum who

> have done a full page watermark in VFP, but I'm sure the normal report

> is easier.

>

> Just my .02

>

> Peter

>

> This communication is intended for the person or organisation to whom it

> is addressed. The contents are confidential and may be protected in law.

> Unauthorised use, copying or disclosure of any of it may be unlawful. If

> you have received this message in error, please notify us immediately by

> telephone or email.

>

> www.whisperingsmith.com

>

> Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR.

> Tel:0161 831 3700

> Fax:0161 831 3715

>

> London Office: 101 St. Martin's Lane,London, WC2N 4AZ Tel:0207 299 7960

>

>

>

>

[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/CAJidMYJ=Ao+WfEMvX_AdCUo2YbuHnzd8Q_Ft1dLSw9mT6uG2-w@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 Stephen Russell