[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] CALL SYSTEM for printing a PDF file to a printer.
Hi Guys,
I'm new to this user group. I have searched the
archives to find the solution to my problem but did
not find specific info.
We are on
PSoft Ver 8.4
Brio Ver 6.0
DB2 7.2
Windows 2000
The problem is :
In PSoft Ver 7.5 we used to create .lis file and copy
to LPT1 on the server using DOS Copy command in the
SQR.
Now in PS 8.4 we are creating PDF files in the SQR and
are unable to use the DOS Copy command. After some
digging around I found that we can use the acrobat
command 'acrord32.exe /p /h xxxxx.pdf' to print the
pdf file to a printer.
After trying so many different combinations with the
Call System command, as a last option I decided on
creating a bat file.
Here is the bat file code I used to test from my
machine as well as from the server which actually did
print the pdf file to the printer.
CD \
CD Program Files
CD Adobe
CD Acrobat 4.0
CD Reader
AcroRd32.exe /p /h
\\dapsfd05\developer\poprint\po\POPO005_9568.pdf
When I use the Call System command from the SQR to
invoke this bat file, it seems to do nothing and
returns a status of 2.
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
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users