Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pdf printer / free pdf
Message
De
01/10/2015 03:05:50
 
 
À
01/10/2015 00:50:38
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01625264
Message ID:
01625288
Vues:
51
That's a good point about REPORTBEHAVIOUR 90. I rarely use it.

It may be putting out GDI+ but in the final analysis what goes to the printer is still PCL/PostScript (excepting those cheap GDI printers which were sold for a while), which is basically text except for embedded images. It might be interesting to print the output to a file and look at what actually gets sent to the printer.

>Hi,
>
>hm, l have problems understanding or with my knowledge.
>
>The report engine of vfp SET REPORTBEHAVIOUR 90 creates those GDI+ image. This image is painted on preview and used for printer output. This contains text?
>
>The problem the customer get is, that they get different results with the same configuration of ghostscript / freepdf an different machines.
>
>Customer owns the big Acrobat package, but uses freepdf for whatever reason. :)
>
>I will not solve the problem (if they need reliable pdf there are good third party tools out there), I'm just curious.
>
>:)
>
>>VFP can send text print jobs to dot matrix printers so I'm pretty sure it isn't creating images. I believe it creates PCL or PostScript via the selected printer driver.
>>
>>PDF printer drivers take that PCL/PostScript and convert to PDF.
>>
>>I think the type of PDF you get from free PDF printer drivers can depend partly on the content of what's being printed. If it's simple text, the resulting PDF is text based and therefore searchable. If the document also contains images it depends on how smart the converter is. The dumb but simple way to do it is if there's any image in the document, treat each page as a separate image and just put that in a PDF wrapper. Such a page would not be searchable. A smarter converter would embed image elements in the text document so it would still be searchable. But my guess is that's a lot more difficult.
>>
>>With free drivers, you get what you pay for :)
>>
>>It might be worth experimenting with other free drivers such as Nitro/PrimoPDF, CutePDF etc.
>>
>>>Customer says, he has checked anything before asking me. What I wonder most is, AFAIK VFP report is a picture send to printer, there is no text part in it. Or do I miss something here?
>>>
>>>>I don't use freepdf, but since it installs as a virtual printer, I guess it has many options which you can set in its properties menu.
>>>>
>>>>>Hi all,
>>>>>
>>>>>
>>>>>a customer found a strange behavior with report printing.
>>>>>
>>>>>He prints reports using freepdf. An some machines this produces just-picture pdfs. On other comps with identical freepdf / ghostwriter config searchable pdf is created.
>>>>>
>>>>>Any ideas what make the difference?
>>>>>
>>>>>TIA
>>>>>
>>>>>Lutz
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform