[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Print format on UNIX
When you want to print your report you have to know the printer type.
If you have a laser printer which support postcript
use : sqr myreport.sqr -printer:ps
lp -dlaser_ps myreport.lis
if your laser printer support PCL language
use : sqr myreport.sqr -printer:hp
lp -dlaser_hp myreport.lis
be care that you have any filter activated in your printer declaration
under unix.
Franck,
Moore Anthony B wrote:
>
> At the command line try: lp -d "print_id" -oc -o landscape -olm15
> OR: lp -d "printer_id" -oc
> OR: lp -d "printer_id" -o portrait -o 2up
>
> -----Original Message-----
> From: Kris Cagan [mailto:kristinc@SLAC.STANFORD.EDU]
> Sent: Thursday, April 29, 1999 3:08 PM
> To: Multiple recipients of list SQR-USERS
> Subject: Print format on UNIX
>
> We are using SQR version 3. I have several reports which are formatted
> quite nicely for .spf files, but when the same report writes to a .lis
> file, the formatting turns to printer-code junk. These reports need to be
> available to view on-line on UNIX, which doesn't recognize .spf files.
> Does anyone know a way I can get the reports to look nice in a .lis file?
>
> Any advice is much appreciated!
> Thanks.
> KC :)
>
> Sample:
>
> .spf file
> ==========
>
> PERIOD GL TYP ACCT ACCOUNT ASSET DOE-SC TR-GRP TRANSACTION
> AMOUNT
> ----------------------------------------------------------------------------
> --------------------
> 1 D A 12100 Stores Inventory 001 25 050 Adjustments
> -35.94
>
> ----------------
> DoE Class 25 TOTAL
> -35.94
>
> 002 25 010 Receiving
> 8,625.39
> 020 Stocking
> 18,928.31
> 050 Adjustments
> -1,060.12
>
> ----------------
> DoE Class 25 TOTAL
> 26,493.58
>
> .LIS file
> ==========
> E &l1O (0U &k7H &l6C &a4L &l4E (s0P (s10H (s7V (s3T
> &a900v396H1
> &a900v698HD
> &a900v828HA
> &a900v1001H12100
> &a900v1303HStores Inventory
> &a900v2642H001
> &a900v2945H25
> &a900v3247H
> &a900v3550H
> &a990v396H
> &a990v698H
> &a990v828H
> &a990v1001H
> &a990v1303H
> &a990v3247H050
> &a990v3550HAdjustments
> &a990v4889H -35.94
> &a1080v4716H (s3B---------------- (s0B
> &a1170v3377HDoE Class
> &a1170v3809H25
> &a1170v3982HTOTAL
> &a1170v4716H -35.94
> &a1350v137H
> &a1350v2642H002
> &a1350v2945H25
> &a1350v3247H
> &a1350v3550H
> &a1440v396H
> &a1440v698H
> &a1440v828H
> &a1440v1001H
> &a1440v1303H
> &a1440v2642H
> &a1440v2945H
> &a1440v3247H010
> &a1440v3550HReceiving
> &a1440v4889H 8,625.39
>
> ------------------------------------------------
> Kris Cagan
> Software Developer
> Stanford Linear Accelerator Center
> 650-926-5067
>
> reply to: kcagan@writeme.com
>
> "The wise man does not permit himself to set up even in his own mind any
> comparisons
> of his friends. His friendship is capable of going to extremes with many
> people, evoked
> as it is by many qualities."
> -- Charles Dudley Warner