[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Ref: Printout losing formatting
- Subject: Re: Ref: Printout losing formatting
- From: John Sayre <John_Sayre@GAP.COM>
- Date: Thu, 10 Jun 1999 08:33:02 -0700
From: John Sayre@GAPINC on 06/10/99 08:33 AM
We also had this problem. We attributed it to the report taking so long to get
the information for the
page that the printer timed out the job and reverted to its built in fonts &
orientation. The solution
we came up with was to recode the printer init string (by including an SQC, in
our case modifying
the devlivered PS "stdgdh0X.sqc's") with the 'encode into ' command, something
like this:
encode '<27>E<27>(0N<27>&l1O<27>&l8D<27>&l5E<27>&l66F<27>(s16.66H' into
$initstring
! | | | | | | |
! | | | | | | --> Line Prntr
font
! | | | | | --> 66 text lines
! | | | | --> top margin = 5 lines
! | | | --> 8 lines per inch
! | | --> Landscape mode
! | --> ISO 8859-1 symbol set
! --> Reset
So, every time a new page is printed, this is sent before any text is printed,
to 'refresh' the printer.
Please respond to SQR-USERS@list.iex.net
To: Multiple recipients of list SQR-USERS <SQR-USERS@list.iex.net>
cc: (bcc: John Sayre/SB/GAPINC)
Subject: Ref: Printout losing formatting
hi
I am running the SQR ar30003.sqr (PS 7.01) on the client and outputting to
Printer. The printer is an HP Laserjet 4000 N ; i face the funny problem
that the first 17 pages of this report print correctly in the desired format
after which if anyone else has a job on the print queue , then his job gets
completed and after which my job again restarts printing but loses all its
fromatting ; the job which has printed in the meanwhile has the same
priority as my job ; i have also checked the printer buffer size and it is
adequate for the purpose. The same report when i run it to file and then
print it from the Dos Prompt works fine .
Any help on this issue would be great
TIA
adil.