[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: [sqr-users] Various printing types in the same program



Nabil,

Try generating the output initially as an SPF.  Then you can use the
new-report command to close the file and call SQRWP to convert the SPF to
any format you want.  This definitely works in Windows.

Basically,

Begin-Program !fred.sqr

do some_stuff

new-report 'dummy.lis'

call system using '<path>sqrwp.exe <path>fred.spf -printer:pd' #x
call system using '<path>sqrwp.exe <path>fred.spf -printer:hp' #x

End-Program

You can use this approach to generate any number of output types.
Alternatively enclose the SQR in a script and call SQRWP in the script.
Whichever will be more supportable in your business.

David

----- Original Message ----- 
From: "Nabil" <cybernaboo@yahoo.fr>
To: <sqr-users@sqrug.org>
Sent: Wednesday, July 07, 2004 10:20 AM
Subject: [sqr-users] Various printing types in the same program


> Hi,
>
> I got a SQR program writing at the same time in a CSV  and in a PDF files.
Do you know if it's possible to add a third writing for direct HP printing
(while writing the two files on the disk) ?
>
> Thanks from Paris.
>
> Nabil
>
>
> ---------------------------------
> Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> Créez votre Yahoo! Mail
>
> Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !
>
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
>

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users