[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: SQR Printing to Other Than Default Printer
Yes to both - Windows NT and it is a SQR error. But can you be clearer
about your suggestion. I am afraid I do not follow.
Thanks
Milancie
> ----------
> From: Paul Finnegan[SMTP:Paul.Finnegan@SAVILLEMAIL.COM]
> Sent: Wednesday, March 01, 2000 12:56 PM
> To: SQR-USERS@list.iex.net
> Subject: Re: SQR Printing to Other Than Default Printer
>
> I am assuming that you are using a Windows platform, due to your mention
> of VB.
> and DOS.
> The error message comes from the SQR compiler, so it sounds as if it is an
> SQR
> error and not your script.
> Do you use an SQRDIR variable in you code? Or maybe your compiler setup
> may need
> to be looked at to check for a default directory.
>
> HTH
>
> Paul
>
>
>
>
> Milancie.Adams-1@kmail.ksc.nasa.gov on 01/03/2000 12:22:00 PM
>
> Please respond to sqr-users@list.iex.net
>
>
>
> To: SQR-USERS@list.iex.net
>
> cc: (bcc: Paul Finnegan/Net)
>
>
>
> Subject: SQR Printing to Other Than Default Printer
>
>
>
>
>
>
>
>
> We have a need to alter the printer to which a sqr report will be printed
> to
> something other than the default printer without user manual intervention.
> We have several printers at various locations and need to print reports on
> these printers at various intervals.
>
> Our solution that we tried
>
> Was to have a Visual Basic Program to control the printing of these
> reports
> by first altering the default printer by launching a Visual Basic Script.
> This part works but then when we try to execute the following command
> after
> this in VB to print the sqr report to the printer
>
> CommandStr = "c:\sqr\ora\binw\sqrwp
> p:\Milancie\testingprinting\qa_note.spf"
> RetVal = Shell(CommandStr)
>
>
> We qet the following error
>
> SQR 14 SQRDIR not defined
>
> Has anyone successfully done something similar and have a solution you
> willing to share?
>
> Thanks
> Milancie
>