You do have to disallow modification of the print string by the database or
spooler.  I use 'SETPTR ':lpu:',1024,80,,,1,NFMT,dest <printer>,BRIEF', where
lpu is the logical print unit.  The no format seems to work.  I've seen other
suggestions on this list for accomplishing the same.  I get errors (UniData
6.0.9 on Solaris 8) when I set the character per line > 1024, though  I should
probably increase the lines per page.

Karjala


>>> [EMAIL PROTECTED] 09/26/2005 5:02:58 PM >>>
Good question: I downloaded Tom's demo image and entered the 2 code
examples. The import went fine (I think) and what I get when I do a test
print is:

p10h12v0s0b4099T
1y3X Text next to logo 1
Text next to logo 2
Text next to logo 3
Text next to logo 4
Text next to logo 5
Text next to logo 6
Text next to logo 7
Text next to logo 8
Text next to logo 9
Text next to logo 10

This is better than the first attempt which refused to print (I caught a
typo). I'm not really a PCL 5 guy, I just happened to have the most
experience using it in my group...



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:owner-u2-
> [EMAIL PROTECTED] On Behalf Of Karjala Koponen
> Sent: Monday, September 26, 2005 3:24 PM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] printing images through unidata
>
> I was able to use Tom Pellitieri's code successfully. I did have to
> reverse
> the output of rows to the printer, however, and I found it easier to use
> decipoints than PCL units. I also found that the pixel width of the
> imported
> image had to be a multiple of 32 (8 bits times 4 bytes).
>
> Are you having problems with the import of the image or printing it?
>
> Karjala
>
>
> >>> [EMAIL PROTECTED] 09/26/2005 1:42:54 PM >>>
> A while back someone wrote an article about how to convert a black and
> whit
> .BMP image to UD2 and print it on a laserjet using PCL 5 (Rastor graphics
> I
> believe). I'm trying to duplicate the guy's work and am not having any
> luck.
> Has anyone else been able to do this?
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to