In article <4d983ab2$0$15974$(E-Mail Removed)>,
Spamless <(E-Mail Removed)> wrote:
>On 2011-04-01, Fred McKenzie <(E-Mail Removed)> wrote:
>
>> I think I understand. But just sending a PCL logo to the printer will
>> result in a page spitting out with the logo on it, nothing else. (It
>> might be cheaper to pay for pre-printed letterhead paper!) You would
>> need to incorporate a method of intercepting PCL print jobs,
>> concatenating them with the logo, and sending the combination on to the
>> printer.
>
>One can modify the code so as not to eject the page. The data you add
>after your code should not reset the printer for a new page. I have
>done this sort of thing (printing address labels with PrintMaster Gold
>for DOS a long time ago ... which couldn't do it! - I used the programme
>to print a page header, it could do that, which was one line of images
>for a label ... I extracted the PCL graphics - the one row of lables,
>and used a batch file to position the head using simple PCL code, dump
>that code to the printer, print that line of graphics (dump the PCL
>code for one row of labels), position the head, print the graphics, etc.).
>
>Print your logo ... but print to a FILE (not to the printer). If you know
>some basic PCL (head movement, starting graphic section, page resets) you
>can remove all but the graphics (with the code to start graphics, position
>it, end graphics but removing page resets and page ejects). You can (binary)
>copy/send/dump that to the printer and then send more data (perhaps from a
>programme which does not reset the page before printing or ... sending from
>a programme to another file from which you can remove such resets).
>
>To edit the data you print to a FILE (PCL code) (to clean it up, removing
>page initialization, resets and ejects) you will need a good binary (or hex)
>capable text editor (don't try to edit it in Word!)
>
>It's a pain to edit the PCL code but once you have it things should work
>fine.
Yes, it is *possible*, but it's almost certainly not what you really want
to do. This is what word processors are for, and anything more modern
than WordStar will certainly handle it without involving a bunch of
printer-specific code mangling.
--
------
columbiaclosings.com
What's not in Columbia anymore..
|