Article View: borland.public.cppbuilder.nativeapi
Article #13561how to send directly the bitmap pixel to a postscript printer ?
From: Richard Yu
Date: Thu, 02 Oct 2003 22:05
Date: Thu, 02 Oct 2003 22:05
40 lines
1608 bytes
1608 bytes
I use the following code pattern to write image pixels to the PS printer in
my c++,
%!
%%Example 10
100 200 translate
32 38 scale
32 38 8 [32 0 0 -38 0 38]
{<
ff000023fb002afb0031fb0037fb003ffb0044fb004bfb0051fb0058fb0060fb00
....
8108008608008d07009308009a0700a20800a80800ae0700b50800bc0800c30800
c90800d00800d60800dd0800e40700ea0700
>}
false 3 colorimage
showpage
for this small image size, it's ok, but when I increase the size a bit, like
100 by 100,
the print out stripped horizontally,
I send each line as string to the PS printer.
I even tried to cut each hex string line shorter, still get a bad output
print,
Technical Details
Message-ID:
<3f7ca16a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,11a834cdc185b9c2,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-02 15:11:06 PST From: "Richard Yu" <richard@colorselector.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: how to send directly the bitmap pixel to a postscript printer ? Date: Thu, 2 Oct 2003 15:05:45 -0700 Lines: 43 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 24.207.7.224 Message-ID: <3f7ca16a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1065132394 24.207.7.224 (2 Oct 2003 15:06:34 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail