Article View: borland.public.cppbuilder.nativeapi
Article #14800Re: How to use postscript inside BCB to print graphics ?
From: Vladimir Afanasyev
Date: Wed, 30 Jul 2003 07:53
Date: Wed, 30 Jul 2003 07:53
42 lines
2090 bytes
2090 bytes
Hi, "Richard Yu" <richard@colorselector.com> wrote: >and I have a section PS code like this, how and where can I put them into >the C++ code ? > I am not sure about this. I worked directly with special printers (receipt and label) but never postscript. >put into the Str = PS code ? the str can accept some of the PS symbles. I think so. > > > >[/CIEBasedABC << /RangeABC [0 0.9490 0 1 0 1.0798] %std paper wpt > >/RangeLMN [0 0.9490 0 1 0 1.0798] > >/WhitePoint [0.9490 1 1.0798] > > >>>] setcolorspace > > > >0.6861 0.6961 0.4639 setcolor %YPTR-V2W2-Y6YW > >100 100 60 60 rectfill > >showpage > Looking from my experience must exist escape sequence that turn printer in postscript mode. Try to find detail description Xerox Phaser 8200DX their you find it. May be Xerox site. Using WritePrinter you can send this sequence and postcript operators on printer. Vladimir.
Technical Details
Message-ID:
<3f277975$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f2554be$1@newsgroups.borland.com> <3f255bd6$1@newsgroups.borland.com> <3f257a84$1@newsgroups.borland.com> <3f26304d$1@newsgroups.borland.com> <3f26aa48@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,434d7e072e9595a X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-30 00:54:54 PST From: "Vladimir Afanasyev" <avv@systema.kiev.ua> Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua> Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua> Subject: Re: How to use postscript inside BCB to print graphics ? Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 212.82.216.226 212.82.216.226 X-Forwarded-For: 192.168.0.147 References: <3f2554be$1@newsgroups.borland.com> <3f255bd6$1@newsgroups.borland.com> <3f257a84$1@newsgroups.borland.com> <3f26304d$1@newsgroups.borland.com> <3f26aa48@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3f277975$1@newsgroups.borland.com> Date: 30 Jul 2003 00:53:25 -0700 X-Trace: newsgroups.borland.com 1059551605 207.105.83.65 (30 Jul 2003 00:53:25 -0700) Lines: 42 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail