Printing more than a report in the same PDF
Massimo Boschini
massimo.boschini at softwareconsult.it
Thu Jan 26 04:48:19 EST 2017
Thank you, it’s working…
Another question: do you have a solution for printing the second report without the first report form feed? In practice, I want the second report printed immediately after the first…
The best could be printing a report within a report, like 4th Dimension (do you know? http://www.4d.com), but I’m think that was impossible in O$…
Thank you very much…
Massimo.
> Il giorno 24 gen 2017, alle ore 22:49, Jeanne Reyes <bornfree11 at gmail.com> ha scritto:
>
> Hi Massimo, I recently had to do the same and after hours of failed
> attempts this is what worked for me:
>
> Begin print job (Send to PDF)
> Set report name RFIRSTREPORT
> Calculate #S1 as con(nameoffile.'.pdf')
> Do $prefs.$reportfile.$assign(#S1)
> Prepare for print
> --
> Print record (I got this in a loop to print several records)
> ---
> End print
> Set report name RSECONDREPORT
> Prepare for print
> Print record (again another loop)
> End print
> End print job
>
> What did it for me was the Begin/end Print Job. It allowed me to print
> several reports on one PDF file.
>
> Hope it helps
>
> Jeanne Reyes
>
> On Tue, Jan 24, 2017 at 12:00 PM, <omnisdev-en-request at lists.omnis-dev.com>
> wrote:
>
>> Send omnisdev-en mailing list submissions to
>> omnisdev-en at lists.omnis-dev.com
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://lists.omnis-dev.com/mailman/listinfo/omnisdev-en_
>> lists.omnis-dev.com
>>
>> or, via email, send a message with subject or body 'help' to
>> omnisdev-en-request at lists.omnis-dev.com
>>
>> You can reach the person managing the list at
>> omnisdev-en-owner at lists.omnis-dev.com
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of omnisdev-en digest..."
>>
>>
>> Today's Topics:
>>
>> 1. O$ 8.0.2 - Printing more than a report in the same PDF...
>> (Massimo Boschini)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 24 Jan 2017 11:18:57 +0100
>> From: Massimo Boschini <massimo.boschini at softwareconsult.it>
>> To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
>> Subject: O$ 8.0.2 - Printing more than a report in the same PDF...
>> Message-ID: <750A32EE-513B-4D23-AC39-4B79FB21270B at softwareconsult.it>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi to all?
>>
>> I have a problem with printing to PDF in a remote form? I want to print
>> more then a report (for now two?) in the same PDF?
>>
>> In the manual there is a solution with the use of a reference on $devices,
>> but I?m not able to make it work?
>>
>> Any suggestions?
>>
>> Thank in advance,
>> Massimo.
>>
>>
>> This in one of mine experiment without success:
>> Calculate lcdevice as $cdevice.$ident ;; store current print
>> destination
>> Do $cdevice.$assign(kDevOmnisPDF)
>> Do Omnis PDF Device.$settemp(kTrue;1) Returns lID
>> Do Omnis PDF Device.$setdocinfo(icAuthore;icTitolo;icOggetto) Returns #F
>> Set report name R_1
>> Print report (Do not finish others) {(trrstrutture;ilListaDisplay;
>> irReparti;ilMesi.#S1;inAnno;ilMesi.$line;inAnno)}
>> Set report name R_2
>> Print report (Do not finish others)
>> Do $cdevice.$assign(lcdevice) ;; restore print destination
>> Do $cinst.$clientcommand("showpdf";row(lID))
>>
>>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>>
>>
>>
>> ------------------------------
>>
>> End of omnisdev-en Digest, Vol 105, Issue 18
>> ********************************************
>>
>
>
>
> --
> <a href="http://www.upromise.com/guest/2653678835">Shop online through this
> link to help me pay for college!</a>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
P.I. Massimo Boschini - Consulenze Informatiche
Sviluppo software su sistemi Macintosh® - Windows® e Linux®
Sede Legale: Via Lamarmora, 164 - 13856 Vigliano Biellese (BI)
P.IVA 02040850022 - C.F. BSCMSM62C26A859N
Tel. +393339618736
massimo.boschini at softwareconsult.it
posta certificata: certificata at pec.softwareconsult.it
In ottemperanza al D.L. 196 /2003 in materia di protezione dei dati personali, questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore , siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto, compresi i file allegati, senza farne copia.
Confidential notice according to Italian Law D.L. 196/2003, this e-mail transmission may contain legally, privileged and/or confidential information.Please do not read it if you are not the intended recipient(s). Any use, distribution, reproduction or disclosure by any other person is strictly prohibited. If you are received this e-mail in error, please notify the sender and destroy the original transmission and its attachments without reading or saving it in any manner.
More information about the omnisdev-en
mailing list