[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: .LIS printing software
Not a problem, attached is a copy of the batch file I use:
@echo off
echo ----------------------------------------------------------------------
echo Printing %2 %3 %4 %5 %6 %7 %8 %9
echo .
echo Copying %2 %3 %4 %5 %6 %7 %8 %9
echo To Printer %1
echo ----------------------------------------------------------------------
copy "%2 %3 %4 %5 %6 %7 %8 %9" "%1"
echo <Form Feed> >> "%1"
exit
In this batch file, the first parameter is the printer name, I'm on an NT
network, so I just pass it the qualified name e.g.
\\server\printer-share-name. This also assumes that your printer name
doesn't have a space in it (DOS/Win95) still doesn't handle this too well.
This is why the file name is made up of the eight remaining command line
arguments, so you can pass files and/or pathnames with spaces in them.
The last echo line is echoing the form feed control to the printer to eject
the last page (sometimes needed, sometimes not).
I have it setup in the registry associated with .LIS files, with a command
of:
c:\dos_copy_to_printer.bat <printer name>
.....Rob
_________________________________________________
Robert Goshko <mailto:robert.goshko@axis-dev.com>
Owner
Axis Developments
System Consulting Services
Sherwood Park, Alberta, Canada
http://www.axis-dev.com/
-----Original Message-----
From: Discussion of SQR, SQRIBE Technologies's database reporting
language [mailto:SQR-USERS@list.iex.net]On Behalf Of Arturo Vega
Sent: Monday, November 08, 1999 2:06 PM
To: Multiple recipients of list SQR-USERS
Subject: Re: .LIS printing software
Rob, what about posting the content of your batch file so we all can
customize it for our own printers??
Regards from Mexico
Arturo Vega
Mexican Payroll Development Team
PeopleSoft Mexico
SwiftView is great for looking a .lis files on-line, I have found it slow
for printing (renders everything as a graphics and sends it to the
printer). Still use DOS for printing, I have a small batch file that is
associated with .lis files, right click on the lis file, and pick what
printer I want to send it to.
.....Rob
[IMAGE] Robert Goshko
Owner
Axis Developments
System Consulting Services
Sherwood Park, Alberta, Canada
-----Original Message-----
From: Discussion of SQR, SQRIBE Technologies's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Pankaj Bedekar
Sent: Monday, November 08, 1999 12:15 PM
To: Multiple recipients of list SQR-USERS
Subject: Re: .LIS printing software
swiftview ... find on internet ... its cool
-----Original Message-----
From: Franck Masson [mailto:franck.masson@BRIO.COM]
Sent: Monday, November 08, 1999 11:15 AM
To: Multiple recipients of list SQR-USERS
Subject: Re: .LIS printing software
Hi,
1) if you do not use any print direct function in your sqr code or using
any image file specific to your printer
you can use the SQRWP.exe command
syntaxe :
Sqrwp.exe file.spf -printer:wp
2) if you adress directly the printer without using the printer manager
from windows
look to this product :
http://www.perilous.com/rawprint.htm
franck,
Zubin Shroff wrote:
>
> Hi all,
>
> Just wanted to get some opinions on software that can be used to
print
> .lis files through windows. We are looking at alternatives to
printing
> these reports from the DOS prompt. It would be helpfule to get an
idea
> of what other companies use for this purpose. Also, is it possible
to
> do this with one of the Microsoft Office products?
>
> Thanks.
dos_copy_to_printer.bat