[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Rép. : printing vertically
You should use postscript printing ! See joined .sqr file for details...
IF ANYONE KNOWS HOW TO PRINT ACCENTUATED
FRENCH CHARACTERS WITH POSTSCRIPT, PLEASE
LET ME KNOW HOW TO !!!
(see lines updated in postscri.str file for
SQR v6/v4 - Digital Unix - HP printer).
Cordialement, Philippe.
Call Description:
1) the customer would like to print an image (bmp/jpg)
and with the B.R. 4.3.2.1 he got somes problems
(doesn't print correctly)
2) Is it possible to do a text rotation
Question 1:
Even with Brio.Report 6.0, you have to use the right type of image with
the right type of SQR output. These are what SQR currently support.
1. If generating SPF output only bitmap images can be used.
2. With Postscript output only EPS image can be used
3. With HP Laserjet output only HPGL image can be used.
4. With HTML and PDF output only GIF and JPEG can be used.
It doesn't matter where the report is run whether on Unix or Windows, the
above applies. So for example, you may run a report on Unix with a bmp
image and generate an SPF with the -KEEP flag. Then you can transfer the
SPF to Windows and view it with the SQR Viewer and see the bitmap in it.
Question 2:
There is no command in SQR which will allow you to do text rotation. We
have some sample programs created showing you how to do it using the
Postscript printer language within the SQR code. These samples will work
only with Postscript output from SQR. I am attaching the sample codes in
case you find them useful.
begin-program
use-printer-type postscript
print '0 degree 1,1' (1,1) ! Print line at 0 rotation
print-direct 'statusdict begin' ! Rotate 90 degrees
print-direct '90 rotate'
print-direct '0 -792 translate'
print '90 degree 1,1' (1,1) ! Print four lines rotated 90
degrees
print '90 degree 2,1' (2,1)
print '90 degree 3,1' (3,1)
print '90 degree 4,1' (4,1)
print-direct '-90 rotate' ! Rotate back to 0
print-direct '-792 0 translate'
print '0 degree 2,1' (2,1) ! Print line at 0 rotation
print-direct '180 rotate' ! Rotate 180 degrees
print-direct '-612 -792 translate'
print '180 degree 1,1' (1,1) ! Print four lines rotated 180
degrees
print '180 degree 2,1' (2,1)
print '180 degree 3,1' (3,1)
print '180 degree 4,1' (4,1)
print-direct '180 rotate' ! Rotate back to 0
print-direct '-612 -792 translate'
print '0 degree 3,1' (3,1) ! Print line at 0 rotation
print-direct '270 rotate' ! Rotate 270 degrees
print-direct '-792 -180 translate'
print '270 degree 1,1' (1,1) ! Print four lines rotated 270
degrees
print '270 degree 2,1' (2,1)
print '270 degree 3,1' (3,1)
print '270 degree 4,1' (4,1)
print-direct '90 rotate' ! Rotate back to 0
print-direct '180 -792 translate'
print '0 degree 4,1' (4,1) ! Print line at 0 rotation
print-direct 'end'
end-program
%
% Ansi/ISO/Windows (French)
%
/CODE [
144 /dotlessi
145 /grave
146 /acute
147 /circumflex
148 /tilde
149 /macron
150 /breve
151 /dotaccent
152 /dieresis
154 /ring
155 /cedilla
157 /hungarumlaut
158 /ogonek
159 /caron
160 /nbspace
161 /exclamdown
162 /cent
163 /sterling
164 /currency
165 /yen
166 /brokenbar
167 /section
168 /dieresis
169 /copyright
170 /ordfeminine
171 /guillemotleft
172 /logicalnot
173 /hyphen
174 /registered
175 /macron
176 /degree
177 /plusminus
178 /twosuperior
179 /threesuperior
180 /acute
181 /mu
182 /paragraph
183 /periodcentered
184 /cedilla
185 /onesuperior
186 /ordmasculine
187 /guillemotright
188 /onequarter
189 /onehalf
190 /threequarters
191 /questiondown
192 /Agrave
194 /Acircumflex
199 /Ccedilla
200 /Egrave
201 /Eacute
202 /Ecircumflex
203 /Edieresis
206 /Icircumflex
207 /Idieresis
212 /Ocircumflex
217 /Ugrave
219 /Ucircumflex
224 /agrave
226 /acircumflex
231 /ccedilla
232 /egrave
233 /eacute
234 /ecircumflex
235 /edieresis
238 /icircumflex
239 /idieresis
244 /ocircumflex
249 /ugrave
251 /ucircumflex
252 /udieresis
]def