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

Re: [sqr-users] CALL SYSTEM for printing a PDF file to a printer.



 --- "Prasad. Koneru" <manukoneru@yahoo.com> wrote :
> Hi Guys,
> 
> [ ... he's explaining that he cannot run 
>   successfully the following statement ... ]
>
> Here is the code from the SQR :
> 
>     let $command = 'c:\sqr\pdftest2'
>     call system using $command #status WAIT
>     Display #Status
> 
> Can anyone let me know what I'm missing here. I have
> spent days trying to figure this out.
> 
> Your help will be greatly appreciated.
> 
> Thanks
> 
> Prasad Koneru
> 913-762-1681


Hello,

I had problems too when trying to run external commands from SQR. It seams that 
(perhaps) it is
due to memory limitations of the SYSTEM command in SQR.

I have bypassed the problem with the following trick on Win2k :

Let $MyCommand = 'CMD /C @START /WAIT /MIN ' || $MyProgram

Doing so, you run a simple CMD.EXE program (Brio can run it) and only from 
there you run your
needed program (in your case the Acrobat program).

The /MIN parameter is optional here, I wanted to have a minimized windows. 
Check CMD /? from a
command prompt window to see what you do with that command...

Hope this will solve your pb...

Charly


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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