Shailesh,

   I'm using an HP 4050N printer.  I'm sending the data using NetLib with a
Xircom 802.11b LAN adapter.  I'm sending the data in postscript format.

Here's the data:

StrCopy(pBuffer, "@PJL ENTER LANGUAGE = POSTSCRIPT \r\n");  // Tell the
printer to use postscript format
StrCat (pBuffer, "0.5 setlinewidth\r");
StrCat (pBuffer, "74 540 moveto\r");  // Starting point

// For each line, in the signature:
StrCat (pBuffer, <x>);
StrCat (pBuffer, <y>);
StrCat (cLine, " rlineto\r");
...


StrCat (pBuffer, "stroke\r");   // draw the lines
StrCat (pBuffer, "showpage\r\n");       // Show the Page
StrCat (pBuffer, "\004");               // End the Postscript mode.
StrCat (pBuffer, "\033%%-12345X");

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Sailesh
Chaudhary
Sent: Monday, March 25, 2002 10:57 AM
To: Palm Developer Forum
Subject: RE: Signature Printing on Printer


Heelo Craig

Can you tell me how did you pass the command to the printer with data.My
printer is taking the command but it is not printing any thing just passing
the paper forward to the height of signature(bitmap).which printer did you
use????

shailesh

-----Original Message-----
From: Craig Austin [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 9:29 AM
To: Palm Developer Forum
Subject: RE: Signature Printing on Printer


Shailesh,

  I wrote a simple app that does this.  Basically I handled all of the
penDown and penMove events to create a list of 'lines', then I just
outputted each of those lines to the printer.  (I was just using sockets to
a network printer, but I'm assuming that the symbol SDK will allow for
lines)

Craig

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Sailesh
Chaudhary
Sent: Monday, March 25, 2002 10:15 AM
To: Palm Developer Forum
Subject: Signature Printing on Printer


Hello

I am writing a program which captures the signature on palm and then send
that signature for printing to the Oneil printer using the symbol SDK.

Have any body did this before if yes please gude me how to send the
signature to the printer.

thanks
shailesh

--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/

--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to