[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Print-image using .HPG
- Subject: [sqr-users] Print-image using .HPG
- From: "Bencke, Gina" <gbencke@kichler.com>
- Date: Mon, 10 Dec 2007 16:36:43 -0500
- Delivery-date: Mon, 10 Dec 2007 16:42:50 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
- Thread-index: Acg7dMH4KmffQ/MTQR+ifGOAbMivQA==
- Thread-topic: Print-image using .HPG
am having trouble printing a new logo from UNIX. I have written a test
program that first prints an existing logo using .HPG format and then a
new file, also in HPG format. The existing logo prints correctly but
the new logo appears as a gray box.
The new file was provided to me in both .JPG and .HPG format. Since the
.HPG file I was given did not print correctly, I opened the .JPG file in
paint, and saved it as a .BMP file and then ran the BMP_TO_HPG.sqr to
create a second .HPG file. I have tried several image-sizes, all to no
avail. The JPG file behaves identically to the HPG file.
btw - if I use the .BMP file in the Windows environment the new .BMP
logo both views and prints correctly using several image-sizes.
I am using the following declare printer command:
declare printer ! Declare printer characteristics
type=HPLASERJET
left-margin=.25 top-margin=.25
font=3 ! Font number
font-style=fixed
lines-inch=8 ! Lines per inch
point-size=8
orientation=portrait ! portrait or landscape
and for HPG
graphic () font 4 8
print-image (3, 50)
type = HPGL-FILE
source = $logofile !$image_path
image-size = (24, 8)
for JPG
graphic () font 4 8
print-image (3, 50)
type = JPEG-FILE
source = $logofile !$image_path
image-size = (24, 8)
for BMP
graphic () font 4 8
print-image (3, 50)
type = BMP-FILE
source = $logofile !$image_path
image-size = (24, 8)
The version of SQR is : SQR for PeopleSoft/8.19/Sun/SunOS 5.6/Oracle
8.0.6/Jan 02 2003.
I have looked at the headers in both the old (working) .HPG file and the
new (failing) .HPG file and nothing seems to indicate that the new file
is corrupt. Can anyone give me some idea of things to try?
Regards,
Gina Bencke | Consultant, Applications Development
Kichler Lighting | 7711 E. Pleasant Valley Rd. | Cleveland, OH
44131
Work 216-573-1005 X6805 | Mobile 440-479-9961 | Fax 216-573-1070
Home Office 440-519-0060
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users